- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: umask
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
06-20-2001 07:44 PM
06-20-2001 07:44 PM
a /usr/local/bin/custom.profile
They are directed to this file from their /home/username/.profile
When they do umask at the unix prompt it returns,
>umask
07
That seems correct. So, when the user creates a file the permissions should be rwxrwx---
But, when the users create a file the permisssions are rw-rw----
Why isn't umask working?
I did a grep for umask in /etc/profile and /home/username/.profile and there is no mention of umask
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 07:52 PM
06-20-2001 07:52 PM
Re: umask
A umask of 770 is not one that you would want. That would make files that are created have permissions of -------rw- which wouldn't do your users much good.
I could see having a umask of 077 which would make a file the user created be -rw------- so that it would be readable JUST by the user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 11:03 PM
06-20-2001 11:03 PM
Re: umask
ask your users to set the umask to 007.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 11:07 PM
06-20-2001 11:07 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 08:24 AM
06-21-2001 08:24 AM
Re: umask
The users have umask set at 007 in
/usr/local/bin/custom.profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 08:33 AM
06-21-2001 08:33 AM
Re: umask
If the users umask is set to 007, then the file that are created by the user will have permission of -rw-rw----. As has been said, files are created with rw- permission for owner, group and world, no execute permissions, so umask is behaving normally by subtracting all permissions from world.