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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.