LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot change Directory permissions after becoming root (https://www.linuxquestions.org/questions/linux-software-2/cannot-change-directory-permissions-after-becoming-root-4175479203/)

Gary Baker 10-01-2013 09:01 AM

Cannot change Directory permissions after becoming root
 
Could this be Linux Malware?

I use su to get to root then issued
the command "chmod +w /home/mydirectory

I had no effect on anything.

drwxr-xr-x 28 gb users 4096 Sep 30 14:13 /home/mydirectory

I want to set the permissions to 755 but no matter
how hard I try it remains the same.

colucix 10-01-2013 09:06 AM

Permissions are already 755, maybe you mean 777? In that case the correct syntax would be either
Code:

chmod 777 /some/dir
or
Code:

chmod go+w /some/dir

Gary Baker 10-02-2013 10:52 AM

That was what I wanted. Thank you!


All times are GMT -5. The time now is 02:12 PM.