File owner nobody
Hello
I'm using a ssh to access to a server hosting. I wanted to delete some directories but I realized that i could not delete some files because the owner of those file is "nobody". I wanted to change the owner using chown but I have no permission to do this: -rw-r--r-- 1 nobody nobody 0 Jun 16 2010 shipped.txt -rw-r--r-- 1 nobody nobody 493 Jun 16 2010 test.html -rw-r--r-- 1 nobody nobody 72 Jun 16 2010 test.txt -rw-r--r-- 1 nobody nobody 1634 Jun 16 2010 voucher.html -rw-r--r-- 1 nobody nobody 421 Jun 16 2010 voucher.txt -jailshell-3.2$ rm voucher.txt rm: remove write-protected regular file `voucher.txt'? y rm: cannot remove `voucher.txt': Permission denied -jailshell-3.2$ chown s10889c1 voucher.txt chown: changing ownership of `voucher.txt': Operation not permitted -jailshell-3.2$ Should I contact with the administration staff? Thank you |
Is this an NFS mount? Run "df -h ." on the directory the files are in to see what it is mounted from. If you see an IP or hostname followed by a colon then it is an NFS mount. With NFS the filesystem has to be exported to explicitly allow root to do things - by default root isn't allowed to do things.
If it is an NFS mount and you have access to the system shown before the colon by hostname or IP you should login to that system and delete the files there. Also it is possible that a NON-root user login on the host on which you became root DOES have the ability to delete files. You might want to try a NON-root login instead of root. |
Quote:
It seems not to be an NFS mount |
nsblenin, wrap your code up with forum tags. It's annoying when people paste code as is.
EDIT: nsblenin, not quote. Code. |
You left out the dot.
Code:
df -h . Code:
cat /etc/mtab |
Code:
-rw-r--r-- 1 nobody nobody 421 Jun 16 2010 voucher.txt |
Code:
|
mtab shows your filesystem type is virtfs. That appears to be some sort of virtual or jailed filesystem on a quick check.
Unfortunately I've not worked with that fs type. You might want to do a web search for "virtfs nobody" to see what it shows you. You may also have man pages for it on the system. Type "man -k virtfs" to see which, if any, man pages exist then review the ones found. |
All times are GMT -5. The time now is 04:15 PM. |