- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- ACL or set derectory permissions issue
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
ACL or set derectory permissions issue
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-23-2012 06:25 AM
01-23-2012 06:25 AM
ACL or set derectory permissions issue
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-23-2012 06:41 AM
01-23-2012 06:41 AM
Re: ACL or set derectory permissions issue
Re: ACL or set derectory permissions issue
Just clarifying that this is an HPUX 11.31 server
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-27-2012 11:28 AM
01-27-2012 11:28 AM
Re: ACL or set derectory permissions issue
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-01-2012 03:10 AM
02-01-2012 03:10 AM
Re: ACL or set derectory permissions issue
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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP