You are not logged in.
Pages: 1
Hi,
If your using an ntfs file system under Linux (ntfs3g) how come you can use Linux style file permissions on the file system?
I was under the impression that file permissions are stored on a file systems inodes correct? How are they implemented in file systems like NTFS under Linux without altering the actual file system / corrupting it when you use the same drive under Windows?
Thanks
Jack
Offline
I don't know for ntfs, but for vfat, you can specify options to the mount command (gid=..., uid=, umask=..., dmask=..., fmask=). owner and group, and permissions are set for the whole filesystem, you can't spécify particular permissions or owner for a single file.
read "man mount", options specific to ntfs
take time to daydream, inspiration comes ...
Offline
Aren't they simply simulated? I.e. you can specify default permissions when mounting the filesystem, and any changes you make to them afterwards are kept in a journal somewhere and disappear when you unmount it.
Or is there actually a way of saving them permanently?
Last edited by Arkane (2008-12-12 13:16:41)
What does not kill you will hurt a lot.
Offline
Found through Google - enjoy reading, looks interesting =]
Offline
I don't know for ntfs, but for vfat, you can specify options to the mount command (gid=..., uid=, umask=..., dmask=..., fmask=). owner and group, and permissions are set for the whole filesystem, you can't spécify particular permissions or owner for a single file.
read "man mount", options specific to ntfs
You can't actually compare FAT to NTFS since FAT doesn't have file permission mechanism at all.
Offline
Pages: 1