SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Currently the permissions on my windows partition are as follows:
drwxr--r-- 52 root root 16384 Dec 31 1969 windows/
When I try to change the permissions on the windows/ directory, as root, I get the following:
chmod: changing permissions of `windows': Operation not permitted
Basically what I would like to do is have a symbolic link in my personal linux home directory to my mp3 folder that resides in windows; so that I can play mp3's in linux as a regular user rather than having to run XMMS as root.
What permissions do I have to change on my windows/ folder? And how do I change them as root so that I don't get the above 'operation not permitted' message?
As you discovered, no one can change the permissions of a fat32 or ntfs partition in the filesystem. It has to be done in /etc/fstab. Run a search on "mount windows filesystem" and you will get all the answers you need.
Distribution: Slackware 10, Fedora Core 3, Mac OS X
in your /etc/fstab file,
the line about your windows drive/partition
it needs the word user in it, before the two numbers at the end.
It might look a little like this (done from memory so forgive me if it is wrong):
/dev/hdb1 /mnt/windows/ vfat user,auto,rw 0 0
Its the user bit that's important.
Then just do a simple:
ln -s /mnt/windows/music /home/alex/Music
This will create a Music shortcut/alias/symbolic link in your home directory to the music stored in /mnt/windows/music
You'll have to change certain things to pertain to your setup but most of it should be similar.
P.S. You will have problems writing to your windows partition though. For example if you try to write ID3 tags. You'll need to add a umask= in the same place you put user before. I can't remember what number umask has to equal but search the boards. It's been posted before.
OK, my current entry for my /windows partition reads:
/dev/hdc1 /windows vfat defaults,umask=000 1 0
I seem to be able to access my /windows folder as a regular user and read and write stuff to it. Would I benefit at all from adding the 'user' option to my above fstab entry so that it reads 'defaults,user,umask=000' or is that not necessary?
And since I'm on an /etc/fstab tip. The entry for my cd burner reads:
/dev/hdb /cdwriter auto ro,noauto,user,exec 0 0
Should I add a 'umask' in there as well, or change the 'ro' to an 'rw', or something like that, so that regular users can use the cd burner?