- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- chmod 4000 and 4600
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
тАО01-27-2005 03:11 PM
тАО01-27-2005 03:11 PM
Generally to set sticky bit, we will use like:
# chmod 4100 test.txt
# ll test.txt
---s------ 1 root root 462 Jan 28 09:22 test.txt
# chmod 4700 test.txt
# ll test.txt
-rws------ 1 root root 462 Jan 28 09:22 test.txt
But in the following, What is "S" indicate in the sticky bit field??
# chmod 4000 test.txt
# ll test.txt
---S------ 1 root root 462 Jan 28 09:22 test.txt
# chmod 4600 test.txt
# ll test.txt
-rwS------ 1 root root 462 Jan 28 09:22 test.txt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 03:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 06:18 PM
тАО01-27-2005 06:18 PM
Re: chmod 4000 and 4600
ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 12:51 AM
тАО01-28-2005 12:51 AM
Re: chmod 4000 and 4600
#chmod 4000 sets the User ID on file execution
#chmod 2000 sets the group ID on file execution
so s gives the execute permission, so when u set a group to execute, the people in that group can all execute that file.
You can the passwd file each user can execute it to change his own passwd(that has user id on execution).
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 02:26 PM
тАО01-30-2005 02:26 PM