Can't set current working directory into ntfs mounted directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntfs-3g (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
My Xubuntu installation has an ext4 partition mounted at / and an ntfs partition mounted at /path
When I "cd /path" either as a user or as root, the system responds
"/path: Operation not permitted", and my current working directory does not change. I expected to get no error message and for the current working directory to be changed to "/path".
The critical line in /etc/fstab is
"/path ntfs-3g no_def_
My guess is that this is a bug in ntfs-3g, since I have had other linux machines (Fedora and Debian) with the same arrangement of partitions. On these other machines I have been able to set my current working directory to a directory in the NTFS partition.
Xubuntu 13.04
Package ntfs-3g 1:2013.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: ntfs-3g 1:2013.
ProcVersionSign
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Mon Jun 24 10:31:10 2013
InstallationDate: Installed on 2013-05-17 (38 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
MarkForUpload: True
SourcePackage: ntfs-3g
UpgradeStatus: No upgrade log present (probably fresh install)
After further tests, I have isolated the problem to the "no_def_opts" option of ntfs-3g. For these tests, the NTFS partition is not mentioned in /etc/fstab. The mount point for the NFTS partition is an empty directory /net/win owned by root with permissions rwxrwxrwx With this setup, if I log in as root and mount the NTFS partition "ntfs-3g /dev/sda5 /net/win", all is OK. Logged in as root if I mount the partition "ntfs-3g -o no_def_opts /dev/sda5 /net/win" then I can "cd /net" but in response to "cd win", the system says "win: Operation not permitted". root can not cd into a directory that is owned by root!