- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to set the umask value for a user
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-28-2006 08:25 PM
06-28-2006 08:25 PM
i need to set the umask value 022 for a local user,
how to do it,
user name is oracle.
please suggest,
what does 022 means?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:31 PM
06-28-2006 08:31 PM
Re: how to set the umask value for a user
022 means any new file created will have permissions -rw-r--r--
and any new dir created will have drwxr-xr-x
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:32 PM
06-28-2006 08:32 PM
Re: how to set the umask value for a user
You need to set this up in his .profile. You can find this file in $HOME dir. Just add
umask=022
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:32 PM
06-28-2006 08:32 PM
Re: how to set the umask value for a user
for set umask , need to define in .profile of user
022 correspond to 755
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:33 PM
06-28-2006 08:33 PM
Re: how to set the umask value for a user
You can include that in .profile in that user ,
example:
# cd ~username
# cat .profile >> umask=022
that will set the user umask to 022
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:35 PM
06-28-2006 08:35 PM
Re: how to set the umask value for a user
You can include that in .profile in that user ,
example:
# cd ~username
# echo " umask 022 " >> .profile
(Mistake in last post ,)
that will set the user umask to 022
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:09 PM
06-28-2006 09:09 PM
Re: how to set the umask value for a user
Take a look at this, http://www.sun.com/bigadmin/content/submitted/umask_permissions.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:50 PM
06-28-2006 09:50 PM
Re: how to set the umask value for a user
thanks everybody :-)