🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: rmit.cs.general
1 messages
1 total messages Started by Ross Irvine Mon, 23 Sep 1996 00:00
ACL Problem. Need Help.
#30
Author: 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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads