[SunHELP] [SUNHELP]setfacl and template-files

jh jh at r2r.de
Tue Jul 9 07:30:53 CDT 2002


Hello Gurus,

following problem:
I want to set acl`s on files. So I can set them with setfacl -m
u:testuser:7 myfile. O.K.
But sometimes I have to set so much acl`s that I would like to use a
template-file, with all acl`s to be set in it. There is a option -f
<acl-file> but my files always doesn`t work!!!

Example-Lines
           user::rwx,group::rw-,other:rw-,mask:rwx,user:mba:rwx
or
           user::7,group::6,other:6,mask:7,user:mba:7
or
           u::7,g::6,o:6,m:7,u:mba:7
and then
           # setfacl  -f  acl_file  testfile
System gives back:
           only rwx or [0]n format is allowed

What`s the failure???
Thanks previously!
only rwx or [0]n format is allowed
--
Mit freundlichen Gruessen,
______________________________________________

Jens Hamann
Unix Consultant

R2R Informations- und Kommunikations AG
Anzengruberstr. 12    D-83101 Rohrdorf
Tel: +49-8032-9899-0 Fax: +49-8032-9899-29
http://www.r2r.de     mailto:jhamann at r2r.de
______________________________________________



More information about the SunHELP mailing list