[Bug 1194225] Re: Can't set current working directory into ntfs mounted directory.

Jean-Pierre 1194225 at bugs.launchpad.net
Wed Oct 16 09:01:06 UTC 2013


Trying to replay your example, I got "Operation not supported", not
"Operation not permitted".

The "no_def_opts" means not setting the "silent" option (and other
ones), and there is some lack of documentation information on "silent" :
beside ignoring errors on chmod(1) and chown(1), this also ignores
errors on access(2) which is a function to check the permissions. You
probably do not have defined a user mapping file, so no permission can
be checked and access(2) leads to an unsupported situation which is
returned to "cd".

So you have to either set the "silent" option, or "uid=0" (to request
checking permissions for root), or define a user mapping file (or set
the option "permissions" if you do not need to interfere with Windows).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/1194225

Title:
  Can't set current working directory into ntfs mounted directory.

Status in “ntfs-3g” package in Ubuntu:
  New

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_opts,allow_other  0 2"

  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.1.13-1+0ubuntu2 0

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ntfs-3g 1:2013.1.13-1+0ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1194225/+subscriptions



More information about the foundations-bugs mailing list