HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Default rights of user
Operating System - HP-UX
1835055
Members
2380
Online
110073
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-14-2003 06:13 AM
11-14-2003 06:13 AM
I have a user on group USER, when he created a file, the default rights of this file is
rw-rw-r--,
Is it possible to change the default to rwxrwxrwx, when the user created a new file?
rw-rw-r--,
Is it possible to change the default to rwxrwxrwx, when the user created a new file?
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 06:19 AM
11-14-2003 06:19 AM
Solution
Hi Frederic,
No, sorry it's not.
The default umask gives you the 664, but UNIX (ANY UNIX) will not allow you to assign execute perms to any file upon creation - dirs yes - files no. Not even root can override that.
You'd have to come in with a script (cron?) & reset the perms after creation.
This is more or less a security feature & a legacy action that "files" are not executable & shouldn't be so unless direct action is taken to set them so.
Just think what a hacker could do with this "feature".
My 2 cents,
Jeff
No, sorry it's not.
The default umask gives you the 664, but UNIX (ANY UNIX) will not allow you to assign execute perms to any file upon creation - dirs yes - files no. Not even root can override that.
You'd have to come in with a script (cron?) & reset the perms after creation.
This is more or less a security feature & a legacy action that "files" are not executable & shouldn't be so unless direct action is taken to set them so.
Just think what a hacker could do with this "feature".
My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP