How to remove directory make by another user
hi there i want to remove a folder make by another user and this folder have permission 777 but i can remove it. I think it because file owen and group owner but how i can change it with chown ?
ps: this directory under / directory :( |
What are the permissions of the containing directory? You must have 'write' on the containing directory to be able to delete any of its contents.
|
If you really need to remove the directory and other means to do so has failed then just become root and then you can remove it.
rm -rf directory If you want to keep the directory but change ownership then type Code:
Replace user and group with the desired name and group. The -R will applied to parent and sub directories within. |
All times are GMT -5. The time now is 06:18 AM. |