Explain the read, write, and execute permissions on a UNIX
directory
Answers were Sorted based on User's Feedback
Answer / gokul pradeep
read 4
write 2
exec 1
totally it will be 7.
for ex: chmod 777 /loc
in this first 7 represent user.
second 7 represent group.
third 7 represent others.
chmod 744 means user have full permission but group and
others have only read permission.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / faiz_rg
rwx rwx rwx
user group others
Read - r
Write - w
Execute - x
e.g.: chmod 754 /home/abc/abc.txt
output will be : _rwxr_xr__ for /home/abc/abc.txt
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / venkat
read -4 (used to read a perticulat file)
write -2 (using this u can able to write)
execute -1( using this command u can able execute)...file(or) director
| Is This Answer Correct ? | 1 Yes | 0 No |
What is a shell command in linux?
Who is Linus Torvalds?
How will you restrict ip so that the restricted ip’s may not use the ftp server?
Is pfsense linux?
List 10 networking and troubleshooting commands in linux?
How do I kill an application in linux?
is it possible to break the grub password in linux
What is basic linux?
How do I see background jobs in linux?
What is linux boot partition?
Is unix and linux the same thing?
What shell does a linux administrator assign to a pop3 mail-only account?