- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change mode
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
Discussions
Discussions
Forums
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
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-28-2008 05:49 AM
тАО08-28-2008 05:49 AM
Just a small qustion:
how do I change the file permissions of a file which presently shows:
drwxrwxr-x 2 root sys 96 jobs
to the file permissions i need as:
drwxrwsr-x 2 root bin 96 jobs
Points shall be awarded for any help. thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:57 AM
тАО08-28-2008 05:57 AM
Solutionsee
http://docs.hp.com/en/B3921-60631/chown.1.html
man chgrp
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:01 AM
тАО08-28-2008 06:01 AM
Re: change mode
Use following command:
#chgrp bin jobs
or
#chown root:bin jobs
#ll -d jobs
you should get
drwxrwsr-x 2 root bin 96 jobs
jobs is a directory here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:10 AM
тАО08-28-2008 06:10 AM
Re: change mode
# chmod g+s jobs
or:
# chmod 2775 jobs
See the manpages for 'chmod'.
By the wsy, you presented the permissions for a directory, not a file, although that doesn't matter for the solution.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:14 AM
тАО08-28-2008 06:14 AM
Re: change mode
The suid bit on a directory forces all new files created in the directory to the directories group. In this case bin.
This is different than setting the suid bit on a file, which would give anyone with execute permission to the file to run the file with the group's file permission.
Not really sure why you would want bin, but that is a different topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:18 AM
тАО08-28-2008 06:18 AM