- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Umask parameter !
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
11-26-2003 07:53 AM
11-26-2003 07:53 AM
Is the same to define this parameter into the ".profile" root user, or this parameter must be defined in other place ?.
Thank´s in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:55 AM
11-26-2003 07:55 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:56 AM
11-26-2003 07:56 AM
Re: Umask parameter !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:56 AM
11-26-2003 07:56 AM
Re: Umask parameter !
you can define umask in a users .profile.
Thats ok!!
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:58 AM
11-26-2003 07:58 AM
Re: Umask parameter !
If you want it for a specific user, set it in local profile (eg: $HOME/.profile)
You can also set umask on a session with:
# umask XXXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:59 AM
11-26-2003 07:59 AM
Re: Umask parameter !
The best place to set would be /etc/profile, but a knowledgable employee can orverride it with umask command.
a umask of 022 would give rw-r-xr-x permissions for a file. (read/write for owner and read/execute for group and others for files and read/write/execute for owner and read/execute for directory)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 04:01 AM
12-08-2003 04:01 AM
Re: Umask parameter !
(csh = .cshrc)
sh = .login
ksh = .profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 05:35 AM
12-08-2003 05:35 AM
Re: Umask parameter !
The exe permission can't be set in a umask... attempting to set a umask of 000 with exe permissions will default to a 666 when a file is created.
If you notice the default umask of 022 will set file permissions to 644 not 744.
or as in my case a umask of 066 will default to 600 for my root account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 05:45 AM
12-08-2003 05:45 AM
Re: Umask parameter !
man umask
executing just umask by itself will tell you your current settings:
# umask
022
#
As far as execute - if using samba, you can for the mask on file creation from your smb.conf file...
Rgds...Geoff