Linked Questions

79 votes
2 answers
137k views

In Linux, what does the d mean in the first position of drwxr-xr-x? And what are all of the possible letters that could be there, and what do they mean? I'm trying to learn more about the Linux file ...
Eric Leschinski's user avatar
22 votes
2 answers
48k views

I run the command: ll /dev/null and got this output: crw-rw-rw- 1 root root 1, 3 Feb 19 10:20 /dev/null I know d means directory. Can someone please explain what the c special flag means?
biggz006's user avatar
  • 389
4 votes
2 answers
16k views

I have a feeling the setuid bit, the nosuid mount option, sudo, and su are all related given their names. But how do they relate to one another? Are some of them used in conjunction? If they are ...
Melab's user avatar
  • 4,476
1 vote
2 answers
20k views

I am studying for a public exam and see this question (pt-BR) Before answer, I read about chmod and understood that the permission are split in 3 groups (user, group, other), like this: Nível u ...
user154372's user avatar
1 vote
1 answer
5k views

I know how to set read/write/execute with three numbers from the Arch wiki's file permissions page. I also know that chmod 7777 will set the setuid, setgid, and sticky bits to true. But which number ...
Aaron Franke's user avatar
  • 1,055
3 votes
3 answers
5k views

I use Ubuntu and someone advised me to change permissions to a file with sudo chmod " +x ". It is not clear to me if +x means to change permissions to something very general as 777 or 775, or ...
user avatar
1 vote
1 answer
13k views

I want to set my folders permissions to 555 and my files permissions to 554, so I tried the following chmod: sudo chmod -R -v ug=rx,o=r,a+X mydir/ I thought this would set the user and group ...
mFeinstein's user avatar
1 vote
2 answers
4k views

I know that there is no difference in 0022 and 022 referring to link. I have file 1.c, with permissions 0066. But when I change the mode of file 1.c to 1066, and then when I check the permissions of ...
lsbmsb's user avatar
  • 47
0 votes
2 answers
5k views

I am confused as to what this question is asking me to do. For context, hello is a c++ file. "Use chmod command again to make hello an executable, but not readable and not writeable for all users."...
Matt's user avatar
  • 3
1 vote
1 answer
6k views

.I have a font file which I created using a python script from Github. The owner and group are root. I don't actually know what this means... I can guess what owner means, and I can guess that a group ...
Aslan French's user avatar
0 votes
3 answers
1k views

When I type ls -l and press enter I get a list of files, with details about each file. Next to each file there is permissions and rights for each file. What do they mean? For example: -rw-rw-rw- I ...
Juan Davila's user avatar
0 votes
1 answer
294 views

the finger man page says I need to use chmod to give the home directory the "other-users-execute bit set", in order to restrict finger requests to only those that original from the local ...
Adam Ledger's user avatar
-1 votes
1 answer
80 views

Can someone explain to me how symbolic style permissions work in Linux? And help me set the permissions of r--r-x-wx in symbolic style on a file? Thanks
Aidan Hallett's user avatar
-4 votes
2 answers
147 views

Using octal method,type the exact command you would use to make test.txt have the following permissions dr-xr-x---
Sam's user avatar
  • 1
0 votes
1 answer
35 views

I'm currently learning Linux but I'm trying to understand the first set of permissions. It reads Directory, read write,execute write I believe, drwxr-xr-x. My question is, if that's correct, why is ...
Brendan's user avatar

15 30 50 per page