Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I got problems setting file permissions please help me out with the commands i know its "chmod" but think i am not setting it the right way.
Also help me out with the command to view all the users entitled to use the machine and the groups they are in.
There are additional permissions.
These are the set group or user ID bit (s), the sticky bit (t), and X.
These permissions can be applied to directories or files. The sticky, SUID, or SGID bits can be set the same way other other file and directory permissions are set.
Only root is permitted to turn the sticky bit on or off. In addition the sticky bit applies to anyone who accesses the file. The syntax for setting the sticky bit on the /tmp directory is as follows:
chmod +t /tmp
So the output of ls -l will look either like this,
->
drwxrwxrwt 5 sys sys 543 May 21 02:41 tmp
or like this->
drwxrwxrwT 5 sys sys 543 May 21 02:41 tmp
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.