Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-10-2004, 11:01 PM
|
#1
|
Member
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654
Rep:
|
Non Super Users can not access VFAT Partition
Hi All,
I just set up a dual booting system. It has a partition for Windoze XP and a partition for SuSe 9.1
It also has a shared partition which is for stuff. Problem is.... in Linux only root can write to this partition. Regular users can read and execute, just not write. I have tried to look for chmod information; but nothing seems to work. I tried to change the permissions in KDE graphically, but that is also futile.
btw: the partition is mounted at /shared
Any help is greatly appreated
Shane
|
|
|
09-10-2004, 11:09 PM
|
#2
|
Member
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415
Rep:
|
go in fstab
add the 'owner' option in the concerned line
like this
/dev/hda1 /mnt/D vfat defaults, owner 0 0
|
|
|
09-10-2004, 11:13 PM
|
#3
|
Member
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176
Rep:
|
Did you try editing /etc/fstab
If not:
then edit it,
here is an example of one entry for my /etc/fstab
Code:
/dev/hda1 /mnt/windows/win_c vfat rw,auto,umask=0000,users,exec 0 0
Note that "rw" stands for read & write and "users" allow all users to acces the partition,
Before editing fstab make sure you create the directory where you want to mount it, for example in my case it is /mnt/windows/win_c .
If you have a ntfs partition, then you probably dont want to write to it, it is not safe yet.
You can search www.google.com/linux for more information about fstab.
Hope this helps,
|
|
|
09-10-2004, 11:15 PM
|
#4
|
Member
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654
Original Poster
Rep:
|
That did not work...... i think this is because root is the owner of the directory. Any furthur advice is thanked for in advance.... btw: here is my fstab
Code:
/dev/hdd1 / reiserfs acl,user_xattr 1 1
/dev/hdd4 /shared vfat defaults, owner 0 0
/dev/hdd2 /windows/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/hdd3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
|
|
|
09-10-2004, 11:23 PM
|
#5
|
Member
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654
Original Poster
Rep:
|
i tried the suggestion about editing fstab.... and quite simply the drive would not mount..... I mounted it manually and it was just the same old problem.
|
|
|
09-10-2004, 11:28 PM
|
#6
|
Member
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176
Rep:
|
add "rw" to the /dev/hdd2 Line.
see if it works,
|
|
|
09-11-2004, 12:13 AM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,347
|
Make sure the mount point i.e. /windows/d has the correct permissions when the filesystem is unmounted.
The simplest fstab is
/dev/hdd2 /windows/D vfat users,umask=000 0 0
umask is the opposite of chmod. umask=000 means read / write for all.
|
|
|
09-11-2004, 11:25 AM
|
#8
|
Member
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654
Original Poster
Rep:
|
micheal, that suggestion worked wonderfully. Thank you all very much for your help!
Shane
|
|
|
All times are GMT -5. The time now is 10:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|