Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
it means it's suid bit is set. if you run that file (if it is executable) it will appear to be run by root, as root owns it, and not the person who is actually running it. this can be really handy in overcoming fundamental permissions issues
I picked up a reference book to check on things, and here's what it said:
The first character in the output of "ls -l" is the file type.
"-" - regular file
"d" - directory
"c" - character device file
"b" - block device file
"s" - UNIX domain socket
"p" - named pipe
"l" - symbolic link
So it looks like the file is a communications socket.
The setuid, setgid, and sticky bits are indicated in positions 4, 7, and 10 respectively (counting from left - the same characters that indicate execute permissions). Setuid and setgid are represented by either a lowercase or capital "s", while the sticky bit is represented with a lowercase or capital "t". If none of the special bits are set, the permissions are displayed as "-" or "x" like normal. If one of them is set, then a capital letter is used if the same execute permission is not set. A lowercase letter is used if the corresponding execute permission is set.
The book is: "Linux Administration Handbook" by Evi Nemeth, Garth Snyder, and Trent R. Hein. It covers a lot of things in good detail, but its shortcoming is the index. There are some index entries that give incorrect page numbers for topics.
As far as I understand them, a file-based socket is an interface for one process to communicate with another process. For instance, I believe the MySQL database server creates a socket when it's started. Other processes can use that socket to query the database.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.