You are not logged in.

#1 2008-12-12 00:55:10

tntcoda
Member
Registered: 2007-07-24
Posts: 115

NTFS Question

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

#2 2008-12-12 10:57:44

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: NTFS Question

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

#3 2008-12-12 13:16:17

Arkane
Member
From: Switzerland
Registered: 2008-02-18
Posts: 263

Re: NTFS Question

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

#4 2008-12-12 19:12:30

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: NTFS Question

Found through Google - enjoy reading, looks interesting =]

http://pagesperso-orange.fr/b.andre/permissions.html

Offline

#5 2008-12-12 20:54:44

Obi-Lan
Member
From: Finland
Registered: 2007-05-23
Posts: 179

Re: NTFS Question

nowahn wrote:

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

Board footer

Powered by FluxBB