HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setuid on directory?
Operating System - HP-UX
1834909
Members
2595
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-30-2002 08:18 AM
08-30-2002 08:18 AM
setuid on directory?
Is there any significance to the setuid bit being set on a directory? It doesn't appear to have any impact on anything.
"I have great faith in fools; self-confidence, my friends call it." --Poe
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2002 08:22 AM
08-30-2002 08:22 AM
Re: setuid on directory?
If you do a man chmod, you will find the following-
If the sticky bit is set on a directory, files inside the directory
may be renamed or removed only by the owner of the file, the owner of
the directory, or the superuser (even if the modes of the directory
would otherwise allow such an operation).
Hope this helps...
-- Rod Hills
If the sticky bit is set on a directory, files inside the directory
may be renamed or removed only by the owner of the file, the owner of
the directory, or the superuser (even if the modes of the directory
would otherwise allow such an operation).
Hope this helps...
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2002 08:34 AM
08-30-2002 08:34 AM
Re: setuid on directory?
The setuid bit (g+s or u+s) on a directory will force files created in that directory to have the owner (u+s) and/or group (g+s) of the directory.
This could be useful to say force all files into a certain group or username regardless of who writes into that directory.
This could be useful to say force all files into a certain group or username regardless of who writes into that directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2002 09:22 AM
08-30-2002 09:22 AM
Re: setuid on directory?
Rodney: That's consistent with my recollection about the sticky bit, but that text is not in my chmod manpages. Anyway, this is the "s", not the "t".
George: I thought that was the way in worked in my SCO Unix days, but by experiment, it doesn't work that way on my 10.20 or 11.0 boxen.
George: I thought that was the way in worked in my SCO Unix days, but by experiment, it doesn't work that way on my 10.20 or 11.0 boxen.
"I have great faith in fools; self-confidence, my friends call it." --Poe
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP