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!
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.
There is a folder, owned by ROOT. It is chmoded 777 because I can not write to it otherwise.
It is /mnt/windzoo/linux_backups/ on my 2nd hard drive.
Now I can not change either owner nor permissions even if I log in as root. The shell tells: Read-only!
Bah! 777 is certainly not read-only, and I don't see why I could chmod it the 1st time, and not the 2nd time.
Can anyone reveal the mystery? I could not find anything in the man. How to change the ownership of my backup dir, and set correct permissions (755).
The space in there will cause some error, remove the space between defaults and io, change it to a comma with no space:
/dev/hda5 /mnt/windows vfat defaults,iocharset=iso8859-1,codepage=850,umask=0 0 0
no, it should be rw by default anyway. no reason it would actually be read only, unless "mount" does actually say it is mounted as such. having that defulat there by itself will screw the line up as there will be too many parameters (comma not a space if you want to try that anyway)
And now that I properly read over the thread (as I should have) I suggest you add another zero and a 2 to the end:
/dev/hda5 /mnt/windows vfat defaults,iocharset=iso8859-1,codepage=850,umask=002,rw 0 0
I'm not sure you can change it's premissions. It a windows partition and the fat32 filesystem doesn't support permissions. If you type "ls -l" it will show you a long listing of a directory (including the permissions). These are pretty much garbage (ie ignored) when looking at a windows partition from linux. So you can actually write to that partition but changing permissions is ignored because they can't get written down anywhere.
defaults is going to confuse everything, remove defaults since you are specifying so much. defaults is what you use when you aren't specifying options. For more options info see the man page for mount.