- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file charater s.S.t.T
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-03-2005 01:45 PM
08-03-2005 01:45 PM
1.why should we need the file bit :s/S/t/T??
2.what is function of them?
3.How to set bit : s/S/t/T
when I see command manual , I did not understand all about them.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:26 PM
08-03-2005 02:26 PM
SolutionThe T bits are called sticky bits but the only practical use is to set them on directories where everyone has permission to remove or rename everything (such as /tmp) but you don't want anyone but the owner to remove or rename the files or directories.
A good book on Unix will help with the details.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:29 PM
08-03-2005 02:29 PM
Re: file charater s.S.t.T
chmod 1777 /tmp
ll -d /tmp
You can also use the symbolic (rather than numeric) method too. man chmod
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:00 PM
08-03-2005 07:00 PM
Re: file charater s.S.t.T
is the above line can work as the following lines?
chmod 500 test
ls -al test
-r-x------ .... test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:08 PM
08-03-2005 07:08 PM
Re: file charater s.S.t.T
In a directory which has the set-group-ID bit set (reflected
as either -----s--- or -----l--- in the output of 'ls -ld'),
files and subdirectories are created with the group-ID of
the parent directory-not that of current process.