On Sun, 2003-12-28 at 12:08, Nikhil Joshi wrote:
On Sat, 27 Dec 2003, Hitesh Lad wrote:
- People belonging to 'accounts' can *read* 'sales' folder . They cannot add/delete files.
I think this is not possible with traditional scheme of permissions. The problem is you are trying to give different group permissions ( mgmt and acc ) to a single folder ( sales )
I think you have to use Access Control List (ACL's ) for this.
What you are trying to achieve is certainly not simple with the traditional file mode permission bits that UNIX/LINUX offers. You definitely need to used ACLs.
If you are running 2.4, get the kernel patches from the above site, apply and recompile the kernel. In case you are running 2.6, ACLs and Extended Attributes(EA) support is already there. Also be sure to upgrade the mentioned packages like coreutils etc.
More info and papers on ACL is on the SUSE website: http://www.suse.de/~agruen/