FAT, NTFS, CIFS and DOS attributes

Kyle Moffett mrmacman_g4 at mac.com
Tue Jan 4 03:39:29 GMT 2005

On Jan 03, 2005, at 21:49, tridge at samba.org wrote:
> The important thing is that if your file access is either only from
> unix apps that know about posix ACLs or only from windows apps that
> know about NT ACLs, then you need to provide perfect lossless storage
> of those native ACLs for those applications. It is only when you get a
> transition from one scheme to the other on the one file that a mapping
> should happen.

I was thinking something more along the lines of a more complex and
detailed scheme that is a superset of both NT ACLs and POSIX ACLs.
Then that scheme could be used for DAC within the kernel, although it
would still continue to support operations using the POSIX API by
translating losslessly from POSIX to "Linux", although it might not work
the other way around.  Such an ACL would need to be well designed
internally to be compatible with future ACL structures and such, but it
would make your work a lot easier.  There will always be data loss
when translating between incompatible formats, but if we can come up
with some kind of system that can handle both data-sets losslessly,
then we could have the VFS use that, even if the only programs that
understand it are the ACL tools.

Kyle Moffett

Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r  

More information about the samba-technical mailing list