Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.