Thread
:
[SOLVED] How do I delete a read-only folder ?
View Single Post
damion
2010-10-30 , 22:34
Posts: 173 | Thanked: 160 times | Joined on Jan 2010 @ London, UK
#
19
to see if the filesystem you're sat in is mounted read-only:
mount |grep $(df .|grep -o "/dev/[^ ]*")
use find . -type d to see if you can traverse the hierarchy, if not then a directory might not have the execute bit. If this is the case let us know and we'll direct the right followup cmd.
use: fuser -m .
this may show a load of process ids and one might be locking your ability to delete stuff. one will be your shell you can look up with
ps |grep PID
Quote & Reply
|
The Following User Says Thank You to damion For This Useful Post:
cheve
damion
View Public Profile
Send a private message to damion
Find all posts by damion