HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ACL on a shared directory using setacl command
Operating System - HP-UX
1832646
Members
2817
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 08:46 AM
12-01-2005 08:46 AM
ACL on a shared directory using setacl command
Hi,
Can someone let me know if there is a problem with the following. When I run it, I get: "aclsort call failed for "abcd" where "abcd" is a directory on which I am trying to set default ACL.
"setacl -s u::7,g::0,o:0,c:0,d:u::7,d:g::0,d:o:0,d:c:7 abcd"
Thanks
hp_user
Can someone let me know if there is a problem with the following. When I run it, I get: "aclsort call failed for "abcd" where "abcd" is a directory on which I am trying to set default ACL.
"setacl -s u::7,g::0,o:0,c:0,d:u::7,d:g::0,d:o:0,d:c:7 abcd"
Thanks
hp_user
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 05:36 PM
12-01-2005 05:36 PM
Re: ACL on a shared directory using setacl command
From setacl man page ...
If an ACL contains no additional default:user or additional
default:group entries and a default:group entry is specified for the
object owning group, then a default:class entry must also be
specified, and the permissions in the default:group entry for the
object owning group and the permissions for the default:class entry
must be the same.
You have specified default:group entry for the object owning group (d:g::0), so you must specify default:class entry with the same permissions (d:c:0 instead of d:c:7).
If an ACL contains no additional default:user or additional
default:group entries and a default:group entry is specified for the
object owning group, then a default:class entry must also be
specified, and the permissions in the default:group entry for the
object owning group and the permissions for the default:class entry
must be the same.
You have specified default:group entry for the object owning group (d:g::0), so you must specify default:class entry with the same permissions (d:c:0 instead of d:c:7).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 10:42 PM
12-01-2005 10:42 PM
Re: ACL on a shared directory using setacl command
Thanks for the answer. Actually this is what I want to achieve:
"jim, terry and david, belong to differnt grous and are part of a project team. They need to share /opt/prj1 directory. They want to have rwx permissions for themselves on the files and subdirectories that are created under /opt/prj1. The directory should be owned by mike, who is a supervisor, and requires read permissions only. Other system users also require read-only permissions."
How do I set this up with the setacl command.
Thanks
"jim, terry and david, belong to differnt grous and are part of a project team. They need to share /opt/prj1 directory. They want to have rwx permissions for themselves on the files and subdirectories that are created under /opt/prj1. The directory should be owned by mike, who is a supervisor, and requires read permissions only. Other system users also require read-only permissions."
How do I set this up with the setacl command.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2005 02:44 AM
12-02-2005 02:44 AM
Re: ACL on a shared directory using setacl command
Can someone reply please.....
Points will be awarded....
Points will be awarded....
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP