How to check permissions of a folder in the Linux system?

0 votes

Hi Guys,

I am new in Linux system. I don't have much knowledge of permissions and security. Can anyone tell me how can I check the permissions of a folder in the Linux system?

Aug 13 in Linux Administration by akhtar
• 33,720 points
139 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use ls command to check the permissions of a file as well as a folder. Use the below-given command to check the permissions of a folder.

$ ls -ld /etc/
drwxr-xr-x. 141 root root 8192 Aug 13 16:37 /etc/

As you can see that any user has read and execute power to /etc folder.

answered Aug 13 by MD
• 79,930 points

Related Questions In Linux Administration

0 votes
1 answer

How to change the group of a folder in Linux system?

Hi@akhtar, You can use chgrp command in your ...READ MORE

answered Aug 14 in Linux Administration by MD
• 79,930 points
75 views
0 votes
1 answer

How to change the owner of any folder in Linux system?

Hi@akhtar, Linux system has one command named chown. This ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
102 views
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,030 points
154 views
0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

answered Jun 20, 2019 in Linux Administration by DareDev
• 6,870 points
206 views
0 votes
1 answer
0 votes
1 answer

-bash: cd: /root/: Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
3,381 views
0 votes
1 answer

ls: cannot open directory '.': Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
1,069 views
0 votes
1 answer

How to remove write permission from a folder in Linux system?

Hi@akhtar, You can use chmod command to remove ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
88 views
0 votes
1 answer

How to check permissions of a file in the Linux system?

Hi@akhtar, If you prefer using the command line, ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
148 views
0 votes
1 answer

How to give the read power of a folder in Linux system?

Hi@akhtar, You can use chmod command in your ...READ MORE

answered Aug 13 in Linux Administration by MD
• 79,930 points
86 views