On Tue, 2006-04-04 at 08:53 +0200, Jean Blignaut wrote: > > So I was wondering if there is some way to devide file permissions into > more than just rwx how about "may be deleted by" - u/g/o and maybe "may > be created by" - u/g/o or some such (call it precation or maybe just > laziness to implement too much error checking in scripts) I hope that > some thing like this is covered by extended attributes or some thing but > I haven't had too much luck finding documentation on the subject.
Have you looked at ACLs? getfacl setfacl etc? They do provide more fine grained controls. Eg: file owned by root:root, but you want user "popeye" to be able to write to it. eg: setfacl -m u:popeye:rwx,u:oliveoil:r filename rememeber to mount your dir with "acl" mount -o remount,acl /dev/hdX -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 15:05:54 up 3 days, 17:24, 6 users, load average: 0.26, 0.30, 0.28 -- [email protected] mailing list
