- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How create an srwx------ file
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
тАО07-19-2010 12:00 AM
тАО07-19-2010 12:00 AM
I need to create one file like
srwx------ 1 root root 0 Jul 15 19:10 file1
How could I do it?
Thanks a lot of!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 12:12 AM
тАО07-19-2010 12:12 AM
Re: How create an srwx------ file
#chmod o+s
check the man pages
#man chmod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 12:58 AM
тАО07-19-2010 12:58 AM
Re: How create an srwx------ file
#chmod o+s
whould set the 's' flag for others.
You should use chmod u+s for the owner (root in your case)
Best regards from Romania,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 01:21 AM
тАО07-19-2010 01:21 AM
SolutionCreating a UNIX socket on the command line is not usually very meaningful, because the socket is tied to the process that created it: once it ends, the socket is automatically removed. Therefore, it is not possible to create a socket with shell commands and then generically "give" it to some process: the process that needs the socket must itself create it.
Just start the program that requires the socket: you'll find it creates the socket automatically if it's properly configured.
If you are writing a program that needs to create and use a UNIX socket, see "man 7 unix" for more information.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 01:37 AM
тАО07-19-2010 01:37 AM
Re: How create an srwx------ file
The "s" in the _first_ position "...." It means this is not a regular file, but a UNIX socket.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2010 03:55 AM
тАО07-19-2010 03:55 AM
Re: How create an srwx------ file
Please see this link for file types in unix systems.
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html