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-23-2004 08:45 PM
06-23-2004 08:45 PM
All new directories created by user01 are now rwxrwxr-x
But all files are
rw-rw-r--
How do we make them also rwxrwxr-x
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 08:53 PM
06-23-2004 08:53 PM
Re: Umask
with umask set to 000 directories will be created as rwxrwxrwx, files will be created as rw-rw-rw-. Nothing you can do about, files will never be create with execute privilege!
You will have to add a chmod command if execute privilege is required.
regards,
Thierry Poels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 08:59 PM
06-23-2004 08:59 PM
Re: Umask
Directory permissions are 777 and files are 666.
Now since defualt umask is 022 :
Default file permissions become 644 and directory permissions become 755 and then it will change accordingly with the umask value you set.
For umask 002 Files (664) and directory (775)
and so on.
Hope that helps.
regards,
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 09:10 PM
06-23-2004 09:10 PM
Re: Umask
alias mkdir=/home/script/mkdir.sh
Create /home/script/mkdir.sh as
mkdir $*
chmod 664 $*
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 09:12 PM
06-23-2004 09:12 PM
Re: Umask
chmod 775 file_name
or
chmod -R 775 dir_name
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 05:07 PM
06-24-2004 05:07 PM
Re: Umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 05:15 PM
06-24-2004 05:15 PM
Re: Umask
If the need for x (execute) permission is still then a small script having chmod commands can be run periodically using cron.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 06:02 PM