Access Control Lists (ACLs) provide a much more flexible way of specifying permissions on a file or other object than the standard Unix user/group/owner system. Windows NT and above, when running on an NTFS partition, use ACLs to specify permissions on files and directories. This document attempts to show how you can enable ACL support on your Linux box and use Samba to provide an SMB file server for use by machines in a Windows 2000 domain.
ACLs are best stored in the actual file system itself. To that end, there are patches available for ext2 and ext3 that enable ACL support using Extended Attributes (EAs). SGI's XFS also has ACL support built in, but XFS is not currently covered in this document.
Fully patched Kernel version 2.4 or 2.6
Having the ACL utilities
Having a slightly modified version of file utils.
We are going to work with kernel version 2.6 because 2.6 series of kernels makes some attempts to standardise the ACL methods.
If you want to configure safeguard with ACL you need to install star package
Star supports several tar archive formats (including ustar, GNU tar and new POSIX format). It's faster than other tar implementations due to advanced buffering.
Star is also the only tar implementation under Linux capable of archiving Access Control Lists.
#apt-get install star
The basic ACL utilities you will want are `getfacl' and `setfacl'. If you havn't already got them, you can get them from http://acl.bestbits.at/ . Debian they are in the package acl. Debian also has an `acl-dev' which contains the libraries and headers and such.