HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- World writable file permission
Operating System - HP-UX
1834149
Members
2168
Online
110064
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
01-09-2005 12:39 PM
01-09-2005 12:39 PM
World writable file permission
Hi,
I hv some questions about file permission as below:
1) What is the 's' stands for?
Example : srwxrwxrwx /var/spool/sockets/pwgr/client27041
2) If we took out the 'w' permission from these files on 'others' segment (world writable), especially with prefix 'c','p'
and 's', what is the side effect ? Means that all the 'others' writable file permission will become only "Read" or no permission at all.
Example:
c : means character/binary file (example : crw--w--w- /dev/telnet/d58)
p : printer file (example : prw-rw-rw- /dev/log)
3) Why the file size of file permission with prefix 's' is always 0 (zero) ?
I have attached the file list that we going to modify the file permission to disallow the "other" has not writable permission.
regards.
I hv some questions about file permission as below:
1) What is the 's' stands for?
Example : srwxrwxrwx /var/spool/sockets/pwgr/client27041
2) If we took out the 'w' permission from these files on 'others' segment (world writable), especially with prefix 'c','p'
and 's', what is the side effect ? Means that all the 'others' writable file permission will become only "Read" or no permission at all.
Example:
c : means character/binary file (example : crw--w--w- /dev/telnet/d58)
p : printer file (example : prw-rw-rw- /dev/log)
3) Why the file size of file permission with prefix 's' is always 0 (zero) ?
I have attached the file list that we going to modify the file permission to disallow the "other" has not writable permission.
regards.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 12:59 PM
01-09-2005 12:59 PM
Re: World writable file permission
1) 's' means a socket.
2) In all cases, removal of the other's write bit would simply mean that 'other' would not be able to write to the file or device node.
3) These are sockets they have no size as such.
Many of the files in your list are temporary files are temporary and should have been removed. The process probably died before the removal was invoked. Also, leave the man page persissions alone. These are formatted versions of the unformatted man pages.
2) In all cases, removal of the other's write bit would simply mean that 'other' would not be able to write to the file or device node.
3) These are sockets they have no size as such.
Many of the files in your list are temporary files are temporary and should have been removed. The process probably died before the removal was invoked. Also, leave the man page persissions alone. These are formatted versions of the unformatted man pages.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 01:47 PM
01-09-2005 01:47 PM
Re: World writable file permission
Hi,
Thanks for your reply.
Q1) Thru the file list, what is the temporary file? As I know is /dev/tty/??. Any others file?
Q2) Any impact that I modify all the file permission listed inside the file to "other" no write & execute permission?
regards
Thanks for your reply.
Q1) Thru the file list, what is the temporary file? As I know is /dev/tty/??. Any others file?
Q2) Any impact that I modify all the file permission listed inside the file to "other" no write & execute permission?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 03:47 PM
01-09-2005 03:47 PM
Re: World writable file permission
most of the files under tmp directory are temp files like /tmp, /var/tmp etc.
/dev/tty are not temp files.
Sunil
/dev/tty are not temp files.
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
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