How to remove write permission from a folder in Linux system

0 votes

Hi Guys,

I have created one user in my Linux system. I want to remove the write permission from this folder. How can I do that?

Aug 13, 2020 in Linux Administration by akhtar
• 38,230 points
2,990 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use chmod command to remove power from a folder. This command has the capability to add power as well as remove power. I have attached the command below, you can use it.

$ chmod o-w /root
answered Aug 13, 2020 by MD
• 95,440 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, 2020 in Linux Administration by MD
• 95,440 points
1,128 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, 2020 in Linux Administration by MD
• 95,440 points
1,477 views
0 votes
1 answer

How to create a group in Linux system?

Hi@MD, On Linux, group information is held in the /etc/group file. ...READ MORE

answered Aug 14, 2020 in Linux Administration by akhtar
• 38,230 points
585 views
0 votes
0 answers

How to create a file in Linux from terminal window?

What's the easiest way to create a ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,670 points
301 views
0 votes
1 answer

-bash: cd: /root/: Permission denied

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

answered Aug 13, 2020 in Linux Administration by MD
• 95,440 points
43,561 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, 2020 in Linux Administration by MD
• 95,440 points
24,999 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 14, 2020 in Linux Administration by MD
• 95,440 points
1,013 views
0 votes
1 answer

How to add user to a group in Linux system?

Hi@akhtar, In Linux, different users have different roles ...READ MORE

answered Aug 14, 2020 in Linux Administration by MD
• 95,440 points
519 views
0 votes
1 answer

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

Hi@akhtar, You can use ls command to check ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,440 points
8,962 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, 2020 in Linux Administration by MD
• 95,440 points
662 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP