Visit Our UNIX and Linux User Community


Help setting ACL's

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Help setting ACL's
# 1  
Old 07-18-2016
Help setting ACL's

Folks,

Solaris 10 issue

When I add a new directory to a path, I only get the "group@" line in the ACL

The parent directory ACL is
Code:
drwxrws---+ 12 root     teama      12 Jul 18 10:31 .
            owner@:rwxp-DaARWc---:------:allow
            group@:rwxp-DaARWc--s:fd----:allow
         everyone@:------a-R-c--s:------:allow

I want to make sure that those in subsequent sub directories can have the same premsissions, i.e., under the parent, they will all have the same group line as above.

But on doing "mkdir newdir", I'm getting -

Code:
root@server > ls -dV newdir
d---rws---+  2 usera   teama         2 Jul 18 10:24 newdir
            group@:rwxp-DaARWc--s:fd----:allow

No "user" row or "everyone" row.

Code:
d---rws---+  2 usera teama         2 Jul 18 10:24 newdir
            group@:rwxp-DaARWc--s:fd----:allow


Edit -
I should have added that if I don't have the 'fd' in, the directory created includes "user" and "everyone" rows in the acl.

root@server > ls -dV newdir1
Code:
drwxrwsr-x   2 root     teama         2 Jul 18 10:44 newdir1
            owner@:rwxp-DaARWcCos:------:allow
            group@:rwxp-DaARWc--s:------:allow
         everyone@:r-x---a-R-c--s:------:allow




Moderator's Comments:
Mod Comment Please use code tags as required by forum rules!

Last edited by RudiC; 07-18-2016 at 08:34 AM.. Reason: Added code tags.

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

ACL on the Solaris

we have two Solaris 10 servers with same configuration and settings. We have hard mounted the NFS with the version 4. In one of the server the newer ACL commands are working fine (chmod and ls -v) whereas in another only posix (getfacl and setfacl alone is working) when we try ls -V in in that... (13 Replies)
Discussion started by: sathishbabu89
13 Replies

2. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

3. Solaris

ACL

Can i get the synopsis for add multiple users in single command for ACL access for a directory or a file thanks in advance dinu (3 Replies)
Discussion started by: dinu
3 Replies

4. Linux

ACL

Hi, I want to know what does the "effective" comment means in the output of the getfacl and whether it has to do with the acl mask... thanks (0 Replies)
Discussion started by: Gartlar
0 Replies

5. UNIX for Dummies Questions & Answers

setting up ACL in Apache

Folks; How can i setup ACL in Apache so i can give a group of users (defined by their emails (all users under *@red.com) access to a web page? (10 Replies)
Discussion started by: moe2266
10 Replies

6. AIX

setting acl

Hi, I want to know how to set acl in aix via smitty and shell prompt, wheather we needs to install additional packages. (0 Replies)
Discussion started by: manoj.solaris
0 Replies

7. Linux

setting acl on linux

Hi, while setting access control list I am getting error "Operation NOt Supported" Example :user A wants full access on test directory /home/user B/test, I dont want to add in secondary group bcz group has read permission, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. Cybersecurity

setting ACL's

Hi all, How can I set default owning user and default owning group with setfacl on Solaris 2.6 and up ? My idea is, that when a file is created by user x, and the default owning user is y, the ownership is set to y. This option is visible in the filemanager, though not editable. I can't find... (5 Replies)
Discussion started by: andy_kann
5 Replies

9. Cybersecurity

ACL

Hi all, I've just been handled the responsibility for a FTP-site. Having no experiens of UNIX at all. And now one of my users needs to have full access to the usr directory and all it's subdirectories, don't know why just trying to do what the boss tells me. The type of UNIX is FreeBSD and the... (4 Replies)
Discussion started by: -tri-
4 Replies

Featured Tech Videos