Closed
Bug 1102689
Opened 10 years ago
Closed 9 years ago
Can't delete ~cpearce/public_html/mse-eme/
Categories
(Infrastructure & Operations :: Infrastructure: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cpearce, Unassigned)
Details
I cannot delete the following dir in my p.m.o account: ~cpearce/public_html/mse-eme/ Here's what I get: [cpearce@people1.dmz.scl3 public_html]$ rm -rf mse-eme/ rm: cannot remove `mse-eme/index.html': Permission denied rm: cannot remove `mse-eme/media': Permission denied [cpearce@people1.dmz.scl3 public_html]$ [cpearce@people1.dmz.scl3 public_html]$ ls -l mse-eme/ ls: cannot access mse-eme/index.html: Permission denied ls: cannot access mse-eme/media: Permission denied total 0 -????????? ? ? ? ? ? index.html d????????? ? ? ? ? ? media [cpearce@people1.dmz.scl3 public_html]$ id uid=1108(cpearce) gid=1108(cpearce) groups=1108(cpearce),100(users)
(For IT, I'd like this investigated further before we simply delete it - ls -l shows nothing unusual as root.)
Comment 2•9 years ago
|
||
[root@people1.dmz.scl3 ~]# ls -ld ~cpearce/public_html/mse-eme drw-r--r-- 3 cpearce apache 4096 Oct 22 18:58 /home/cpearce/public_html/mse-eme It's a -x directory, so it's not traversable by the owner, leading to shenanigans. Testing (apologies for spoofing you): [cpearce@people1.dmz.scl3 public_html]$ ls -la mse-eme/ ls: cannot access mse-eme/.: Permission denied ls: cannot access mse-eme/index.html: Permission denied ls: cannot access mse-eme/media: Permission denied ls: cannot access mse-eme/..: Permission denied total 0 d????????? ? ? ? ? ? . d????????? ? ? ? ? ? .. -????????? ? ? ? ? ? index.html d????????? ? ? ? ? ? media [cpearce@people1.dmz.scl3 public_html]$ chmod 755 mse-eme [cpearce@people1.dmz.scl3 public_html]$ ls -la mse-eme/ total 24 drwxr-xr-x 3 cpearce apache 4096 Oct 22 18:58 . drwxr-s--- 24 cpearce apache 4096 Jan 4 15:59 .. -rw-r--r-- 1 cpearce apache 11889 Oct 19 19:45 index.html drwxr-s--- 2 cpearce apache 4096 Oct 22 18:59 media [cpearce@people1.dmz.scl3 public_html]$ chmod 644 mse-eme I put it back to 644 for status-quo-ante, but that should let you choose where to go from here.
Thanks, Greg. Chris, I've repaired the directory permissions so that you're able to delete this directory now: # chmod ugo+X mse-eme; chmod ug+X mse-eme/media And that lets us close this out. Sorry it took so long!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•