- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chmod u+s not working good?
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
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
тАО09-06-2005 01:31 AM
тАО09-06-2005 01:31 AM
When i try to cahnge a file permissions, setting the setid (+s) by root that's what append, appears the letter "S", not the "s", in lower case. Why?
root@beta5:/tmp/testes# chmod u+s tt
root@beta5:/tmp/testes# ll
total 2
-rwSr--r-- 1 root sys 54 Sep 6 14:26 tt
root@beta5:/tmp/testes#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 01:35 AM
тАО09-06-2005 01:35 AM
Re: chmod u+s not working good?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 01:36 AM
тАО09-06-2005 01:36 AM
Re: chmod u+s not working good?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 01:37 AM
тАО09-06-2005 01:37 AM
Re: chmod u+s not working good?
The capital letter "S" means that the execute bit isn't set for the owner but the setuid bit is. Do:
chmod 4544 to your file to see a change from the capital "S" to a lowercase "s".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2005 01:39 AM
тАО09-06-2005 01:39 AM
Re: chmod u+s not working good?
1) Make sure there is no process with a filehandle on that file. I got those results when a daemon had a constant hold on a file. The daemon was unfortuneately owned by root.
2) Perhaps try the chmod command numeric instead of by letters. chmod 7xxx or 5xxx the letters in my example are the normal file permissions.
I got the same results as you on a Linux machine(my HP-9000 is shut for noise reasons).
Chmod 7555 worked and produced possibly desireable results.
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
тАО09-06-2005 01:39 AM
тАО09-06-2005 01:39 AM