|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
not able to remove directory
I did execute this command
cp -rp /home/anotheruser/abcd /home/userme/abcd and it copied the dir. Now I see that the dir 'abcd' has rwx permission for anotheruser. But the files inside it has r-x permissions for all. So I am not able to delete these files and this dir. Any way? |
|
#2
|
|||
|
|||
|
If you copied files to your directory, you should be the owner. If the other guy copied them, he is the owner.
If you own the files: Code:
chmod -R 777 /home/userme/abcd |
|
#3
|
|||
|
|||
|
yes, this is also true but what had happened was that soem script which had run had done
chmod u-w . on /home/userme/ directory. This I came to know when I could not delete other directories also. I corrected using chmod u+w . Thanks |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > not able to remove directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|