- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file permission issue
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
08-16-2006 10:56 PM
08-16-2006 10:56 PM
in my hp-ux 11.11 system i set umask of a user as 000.but when i create a new file its permission become rw_rw_rw_.why?????umask is showing 00.???????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 10:59 PM
08-16-2006 10:59 PM
SolutionArun umask works in a sort of counter-intuitive way.
umask 027
touch umask.027
umask 002
touch umask.002
umask 000
touch umask.000
ll
total 66
drwxr-xr-x 2 root sys 96 Aug 17 13:58 ./
drwxrwxrwx 8 bin bin 33792 Aug 17 13:58 ../
-rw-rw-rw- 1 root sys 0 Aug 17 13:58 umask.000
-rw-rw-r-- 1 root sys 0 Aug 17 13:58 umask.002
-rw-r----- 1 root sys 0 Aug 17 13:58 umask.027
Hope this helps.
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
08-16-2006 10:59 PM
08-16-2006 10:59 PM
Re: file permission issue
Please let us know how did you set umask for the user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 11:09 PM
08-16-2006 11:09 PM
Re: file permission issue
thaks for the replay.
when i move a file (rwxrwxrwx) to oter location how can i preserve the permission.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 11:14 PM
08-16-2006 11:14 PM
Re: file permission issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 11:14 PM
08-16-2006 11:14 PM
Re: file permission issue
Tar will do the best job preserving the permissions.
Please take your time and asign points to people that help you out.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 12:12 AM
08-17-2006 12:12 AM
Re: file permission issue
thanks to everybody
regards
arun m govind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 12:33 AM
08-17-2006 12:33 AM
Re: file permission issue
777 is (wrongfully) used to solve permission problems and (sadly) documented in many beginner Unix books as a 'normal' permission. A 777 file should only be a junk file. All other files should be protected from the 'world' with 664 or 644 permission.
Bill Hassell, sysadmin