- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- defining acl on a directory as default in HPUX
Operating System - HP-UX
1822196
Members
3777
Online
109640
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
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО01-22-2007 08:54 PM
тАО01-22-2007 08:54 PM
Hi,
I'm trying to set the default acl on a directory using the command:
setacl -m default:other:r-x /data
home/cs81563>getacl /data
# file: /data
# owner: psa2
# group: sas3
user::rwx
group::r-x
class:rwx
other:r-x
default:other:r-x
My purpose is to make sure that any files created under the /data folder will inherit the permission of the folder /data.
Is the above command sufficient to do this?
When I did a "touch file" inside the folder, I did not get the same permission as the /data folder.
Please advise.
regards,
chris
I'm trying to set the default acl on a directory using the command:
setacl -m default:other:r-x /data
home/cs81563>getacl /data
# file: /data
# owner: psa2
# group: sas3
user::rwx
group::r-x
class:rwx
other:r-x
default:other:r-x
My purpose is to make sure that any files created under the /data folder will inherit the permission of the folder /data.
Is the above command sufficient to do this?
When I did a "touch file" inside the folder, I did not get the same permission as the /data folder.
Please advise.
regards,
chris
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 09:03 PM
тАО01-22-2007 09:03 PM
Solution
Chris,
have you checked the umask etc of the user creating the new files?
See "man acl":
"Note that the default permissions specified for the file owner, file owning group, and others, will be constrained by the umask and the mode specified in the file creatio call."
have you checked the umask etc of the user creating the new files?
See "man acl":
"Note that the default permissions specified for the file owner, file owning group, and others, will be constrained by the umask and the mode specified in the file creatio call."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 10:34 PM
тАО01-22-2007 10:34 PM
Re: defining acl on a directory as default in HPUX
Hi,
Ok.. looks like I need to check the umask definition. Thanks.
regarsd,
chris
Ok.. looks like I need to check the umask definition. Thanks.
regarsd,
chris
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP