- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ACL or set derectory permissions issue
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-23-2012 06:25 AM
01-23-2012 06:25 AM
ACL or set derectory permissions issue
Can a directory ACL or set derectory permissions be created, so that all files created in a
directory will be forced to have world readable set .
example:-
ls -l /u26/app/BIA22/OracleBIData/web | grep log
drwx------ 3 orabia22 dba 1024 Jan 22 09:09 log
so any file created in this directory would be readable by all?
- Tags:
- ACLs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2012 06:41 AM
01-23-2012 06:41 AM
Re: ACL or set derectory permissions issue
Just clarifying that this is an HPUX 11.31 server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2012 11:28 AM
01-27-2012 11:28 AM
Re: ACL or set derectory permissions issue
Assuming that the filesystem used is JFS (also known as VxFS),this should be possible by setting a "default ACL" on the directory:
setacl -m default:other:r-- /u26/app/BIA22/OracleBIData/web/log
See "man aclv" and "man setacl" for more details.
Note that "man acl" and "man chacl" talk about HFS ACLs, and the HFS filesystem type is fairly uncommon these days (the /stand filesystem of PA-RISC servers is required to be HFS, but you usually don't need ACLs on it...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2012 03:10 AM
02-01-2012 03:10 AM
Re: ACL or set derectory permissions issue
Tried setting the acl as suggested but the file created did not have world read set?
{ignite} root> # pwd
/home/briand
{ignite} root> # mkdir test
{ignite} root> # ls -l | grep test
drwx------ 2 root sys 96 Feb 1 11:06 test
{ignite} root> # setacl -m default:other:r-- test
{ignite} root> # ls -l | grep test |
drwx------+ 2 root sys 96 Feb 1 11:06 test
{ignite} root> # touch test/a
{ignite} root> # ls -l test
total 0
-rw------- 1 root sys 0 Feb 1 11:07 a