- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- umask problem
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
09-09-2003 05:25 AM
09-09-2003 05:25 AM
umask problem
I've a file created with perm 644 by a job scheduled with autosys .
These are directoy ( /test ) perm where files are created
drwxrwsr-x 3 p01adm daemon 2048
If I do umask while connected like p01adm it return 0113 and if I create under /export/test it's created with 664 permission .
The directory is NFS exported .
Any suggest ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:33 AM
09-09-2003 05:33 AM
Re: umask problem
The keepers of Unix rightly decided it was a good idea that a human make the decision whether a file should be executabel.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:43 AM
09-09-2003 05:43 AM
Re: umask problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:47 AM
09-09-2003 05:47 AM
Re: umask problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:51 AM
09-09-2003 05:51 AM
Re: umask problem
For 664 permissions you need umask of 002.
You might need that to be the umask on the NFS server too.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:52 AM
09-09-2003 05:52 AM
Re: umask problem
# man umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:53 AM
09-09-2003 05:53 AM
Re: umask problem
a file is created with permission 644 user p01adm and group daemon .
-rw-r--r-- 1 p01adm daemon
This is done by a job scheduled with autosys .
If I connect to system like p01adm user I see umask is 113 and if I create a file I've 664 permission ( that is right becuase of umask 113)
-rw-rw--r-- 1 p01adm daemon
I'm trying to figure out why files created with autosys scheduled job have 644 permission.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 05:59 AM
09-09-2003 05:59 AM
Re: umask problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 06:00 AM
09-09-2003 06:00 AM
Re: umask problem
The only thing I don't like to see it that umask doesn't show SetGID bit (2) so the correct umask should be shown: 2113
The rest is ok,664 maps to umask 113.May be you
try to clarify the problem?
Thanks
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 06:15 AM
09-09-2003 06:15 AM
Re: umask problem
Ok,I'd also check /etc/profile if default umask 022 was changed by someone (and .profile for p01adm as was mentioned).And look inside your script - it may call another scripts with another owners etc.