🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rmit.cs.general
Article #30

ACL Problem. Need Help.

#30
From: Ross Irvine
Date: Mon, 23 Sep 1996 00:00
64 lines
2562 bytes

[ Article reposted from comp.sys.sun.admin ]
[ Author was Ross Irvine ]
[ Posted on 19 Sep 1996 06:29:05 GMT ]


Hi All,
	Here's my system stats firstly:
SunOS <NAME> 5.5.1 Generic sun4u sparc SUNW,Ultra-Enterprise

I have a problem setting default acl's on a directory. I have a 
dirrectory that is currently :

The directory is :
drwx------+  2 rwi      studes       512 Sep 17 18:23 group
getfacl returns :
# file: group/
# owner: rwi
# group: studes
user::rwx
user:giuliano:rwx               #effective:rwx
user:afc:rwx            #effective:rwx
user:barros:rwx         #effective:rwx
group::---              #effective:---
mask:rwx
other:---

So setting the normal user ACL is fine. The user's in the acl can 
read/write to the directory without problem.

Now. I want a default acl on any new file created in that directory to 
allow all the member in the group/ acl to have read/write/execute to the 
newly created file.

According to the man page on setfacl it's just a simple :

 d[efault]:u[ser]:uid:operm | perm

But if I do that I get this error:

(16:26)@yallara ~/work/> setfacl -r -m d:u:rwi:rwx group/
Missing user/group owner, other, mask entry
aclcnt 8, file group/
(16:27)@yallara ~/work/>

Any ideas how to set a default ACL entry would be greatly appreciated.

Regards.

-- 
Ross Irvine		E-mail : rwi@arcadia.cs.rmit.edu.au
Computer Science     Phone GSM : Oz : 0419 565 232  Inter : +61419 565 232
Royal Melbourne Institute of Technology. Melbourne, Victoria, Australia
Creater/Maintainer of the Nokia 2110 FAQ http://yallara.cs.rmit.edu.au/~rwi/
   "Too much love will kill you, everytime" - Freddie Mercury / Queen 


-- 
Ross Irvine		E-mail : rwi@arcadia.cs.rmit.edu.au
Computer Science     Phone GSM : Oz : 0419 565 232  Inter : +61419 565 232
Royal Melbourne Institute of Technology. Melbourne, Victoria, Australia
Creater/Maintainer of the Nokia 2110 FAQ http://yallara.cs.rmit.edu.au/~rwi/
   "Too much love will kill you, everytime" - Freddie Mercury / Queen 
Technical Details
Message-ID: <524s9p$jk8@goanna.cs.rmit.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9232,df5ff29b8f37cf29,start
X-Google-Attributes: gidf9232,public
X-Google-Thread: 10d053,df5ff29b8f37cf29,start
X-Google-Attributes: gid10d053,public
From: rwi@yallara.cs.rmit.edu.au (Ross Irvine)
Subject: ACL Problem. Need Help.
Date: 1996/09/23
Message-ID: <524s9p$jk8@goanna.cs.rmit.edu.au>
X-Deja-AN: 184693472
organization: Comp Sci, RMIT, Melbourne, Australia
nntp-posting-user: rwi
newsgroups: rmit.cs.general,aus.computers.sun