- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Umask Seting
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
Discussions
Discussions
Forums
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
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
тАО08-25-2009 10:04 PM
тАО08-25-2009 10:04 PM
Umask Seting
OS HPUX 11.31
Default umask is 022 for root
if we create a file by using touch command then we are not getting the excute permission for that file.
Can any one help on this.
bash-3.2# touch xml
bash-3.2# ls -l xml
-rw-r--r-- 1 root sys 0 Aug 26 15:33 xml
Regards
Origin energy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2009 10:30 PM
тАО08-25-2009 10:30 PM
Re: Umask Seting
This is normal.
For Files Effective permission= 666-022 = 644 (-rw-r--r--)
For Directories Effective permission = 777-022 = 755 (drwxr-xr-x)
Your points are appreciated.
Regards,
Shan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2009 10:34 PM
тАО08-25-2009 10:34 PM
Re: Umask Seting
after you create file with touch command you need to use chmod +x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2009 10:51 PM
тАО08-25-2009 10:51 PM
Re: Umask Seting
More realistically, after you create your script with your favorite editor, then you use chmod(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2009 10:52 PM
тАО08-25-2009 10:52 PM
Re: Umask Seting
HP-UX will not assign execute permission to a file by default, in case of a directory it will.
it is normal..
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2009 10:58 PM
тАО08-25-2009 10:58 PM
Re: Umask Seting
You can change the permission with chmod command,
check the man page of chmod for more details by,
#man chmod
or refer below link,
http://nixdoc.net/man-pages/HP-UX/chmod.1.html
Regards,
LIJEESH N G