-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Liam Higgins wrote:
> Hello Everyone.
> I'm trying to chown a user to be the owner of a directory mounted on an 
> NTFS volume. The command completes successfully but when I go back to 
> check if the change was successful the owner and group are still root 
> with rwxrwxrwx set. Is this a limitation on ntfs-g volumes ? Or is 
> something wrong with my fstab options? 

chown/chmod only applies to POSIX-compatible file systems (ext2, ext3,
xfs, jfs, etc).  Windows file systems like FAT32 and NTFS don't
understand the uid/gid stamp (NTFS uses a different ACL based system
internally to deal with permissions).

If you want to mount an NTFS partition and have it owned by a certain
user/group, pass mount-time options to do so.  For example:

mount -o uid=username,gid=groupname /dev/sdaX /path/to/mountpoint

All options must be comma separated without spaces.  You can pass the
same options in your fstab in the appropriate column.  If there are
other options there (say like "defaults"), again comma separate the
options with no spaces.

"man mount" will give you a list of all the other possible options you
can pass at mount time.

- -Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIVDRmeFJDv0P9Qb8RAqw4AJ9CAjm47j3eYJOQqwUDT0v3iI6t9gCgqCbQ
/FbjHNqkDsNFt2OauXKMVF4=
=EICq
-----END PGP SIGNATURE-----

-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au

Reply via email to