Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
So, I'm a noob, and I just managed to setup a dualboot system with WinXP and SUSE 10.0 on my laptop. Afterwards, I tried to set up a logical partition using the FAT32 filesystem so I can share files between the two OS's. I mounted this partition at /SharedFiles.
Unfortunately, I can only modify the files in this partition (write permission) using root. I tried to change it in Yast and it won't allow me to change my permissions.
My question is: How do I change permissions (or change partition or mount point) to allow wrx on /SharedFiles for all users (so I don't have to log in as root to modify these files)?
Here is my current partition setup:
Device Size Type Mount
/dev/hda1 12.6GB HPFS/NTFS /windows/C
/dev/hda2 2.1GB swap swap
/dev/hda3 15.0GB Linux native /
/dev/hda4 26.0GB Extended
/dev/hda5 16.3GB Win95 FAT32 /SharedFiles
Distribution: Lots of distros in the past, now Linux Mint
You'll want to mount the fat32 partitions with the "rw" (read/write) option set. By default, most distributions won't set it up this way. Why? Because fat32, on it's own, doesn't have any internal permissions scheme. For Windows users, this isn't something they're used to caring about. For Linux users, this is a headache waiting to happen. Essentially, once mounted rw, there's the potential for anyone to write to it, even somebody down the street who you normally link up with to play a network game, especially if you give them their own account. So, linux has to become a little overprotective, or bad things can happen.
From the distro's point of view, the last thing they want is to make something "easy", then have a hundred ticked off customers call because "linux ruined my windows stuff!" That it's a defect in windows isn't something they'd be likely to convey to an upset user, so they just avoid the problem. The handful of people that might not like linux because of this probably aren't ready for it.
For you, however, you can easily fix this. Just check out the man pages relevant to it:
"man fstab" and "man mount" at the command line should explain it for you.
I guess that if you add umask=0000 to the line of your /etc/fstab you can get it to rw on your fat32 partition, but it will affect to all the partition, an not to only one directory, as pointed out by scott_R
I tried to modify /etc/fstab as above, then :wq and mount -t vfat /dev/hda5 /SharedFiles.
Checked the permissions, still read-only for the user. I can't even save a file there as user, and if I move it there as root, the owner becomes root.
I checked the man pages as suggested, but I am very new to linux, so its hard to understand the command line interface. Do I have to mount this partition under /mnt (ie. /mnt/SharedFiles)?
Also, I wonder if there is a problem with my user accounts. During suse10 installation, at the very end where you are supposed to login for the first time, I got a black screen with and x in the middle. I fixed this by logging in failsafe mode, then changing xorg.conf from 'ATI' to vesa, then startx, which seemed to work. However, NOW, when I try logging in to SUSE 10.0 (not failsafe), it will just freeze-up, it won't go to any login screen or GUI. The only way to get into the system is failsafe, login at command line, then 'startx' at command line. Any ideas as to whats going on? could these problems be connected?