- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Easy Perms Question
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-21-2003 07:03 AM
01-21-2003 07:03 AM
Any ideas on how to force newly created files/dirs to inherit their parent's perms?
Thanks again.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 07:08 AM
01-21-2003 07:08 AM
Re: Easy Perms Question
Permissions are inherited by the umask only. System umask is 002 in HP-UX.
The best you can do is set the partent to 4777 which puts a sticky bit on the user creating the file/directory. The users umask is used for permissions of what they create.
So you can set the users umask to 0000 which gives dirs 777 and files 666 permissions by default. Or you can write a script that manually changes perm's periodically.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 07:09 AM
01-21-2003 07:09 AM
Re: Easy Perms Question
In fact, even if you ran a wide-open umask (000) there is no guarantee that the application would creat with 666 (regular files) or 777 (directories) because the creation mode set in the application may be more restrictive.
However, what you can do is create a daemon that periodically traverse this directory tree and sets permissions after the fact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 08:36 AM
01-21-2003 08:36 AM
Re: Easy Perms Question
If you are using JFS, you can create default ACLs on the directory that will be passed on to any newly created files or subdirectories.
If you are not using JFS, the best you can do is force the group owner of all newly created files.
- Chris