LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 05-15-2004, 08:28 AM   #1
kamel
LQ Newbie
 
Registered: May 2004
Posts: 13

Rep: Reputation: 0
Users cannot mount or access mounted windows vfat partitions (Distro: Gentoo Linux)


I tried tons of things, but users cannot mount or access mounted windows partitions. Here is my fstab:

Code:
/dev/hda2		/boot		reiserfs	noatime,notail			1 2
/dev/hda4		/		reiserfs	noatime,notail			0 1
/dev/hda3		none		swap		sw				0 0
/dev/hda1		/mnt/Windows	vfat		noauto,users,unmask=022 0 0	0 0
/dev/hdb1		/mnt/Files	vfat		noauto,users,unmask=022 0 0	0 0
/dev/cdroms/cdrom0	/mnt/DVDR	auto		noauto,users,ro			0 0
/dev/cdroms/cdrom1	/mnt/CDR	auto		noauto,users,ro			0 0
none			/proc		proc		defaults			0 0
none			/dev/shm	tmpfs		defaults			0 0

Does anyone know what I can do to try to fix this problem?

Thank you
 
Old 05-15-2004, 08:35 AM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
have you tried to change owner on /mnt/Windows and so on??? Like to be root:username or something like that.
 
Old 05-15-2004, 08:38 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Did you compile vfat support into your kernel?

The unmask options probably aren't all that important.

Oh, and make sure those windows partitions aren't NTFS. Linux has no write support (at least none I would recommend using) for NTFS partitions. Microsoft has always been hush hush about the fs details making it a difficult reverse engineering job.
 
Old 05-15-2004, 08:53 AM   #4
kamel
LQ Newbie
 
Registered: May 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Hammett:

I have indeed tried logging in as root and changing the folder permissions on the mountpoint but when i change to the other user it changes the permissions on the folder back to what it was.


jtshaw:

vfat is indeed compiled into my kernel (just checked)

adding or removing the unmask options doesn't do anything for me ~.~ It was the last thing I tried as a last resort before I went to start a thread

all of my windows partitions are FAT32
 
Old 05-15-2004, 11:13 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
The only example I have for a vfat drive is my digital camera mount on my desktop machine.

fstab:
/dev/sda1 /mnt/e775 vfat noauto,users 0 0

Folder permissions:
drwxr-xr-x 2 root root 48 Feb 20 14:50 e775

Other then that I didn't do anything special and it works just fine for me. You can mount the partitions and use them as root, and just not as other users right?
 
Old 05-15-2004, 02:11 PM   #6
kamel
LQ Newbie
 
Registered: May 2004
Posts: 13

Original Poster
Rep: Reputation: 0
OK, i got it working. The problem is this:

The user needs to mount it, and that doesnt work. I couldnt mount with the user and now i know why:

i cant do
mount device mountpoint

i have to do
mount mountpoint

because then it goes through the fstab.
 
Old 05-15-2004, 06:08 PM   #7
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
If you change noauto to auto, it should mount every time you boot up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing normal users read-write access to Windows partitions Aphex_Twin2 Slackware 5 05-23-2005 09:22 AM
How to give non-root users access to mounted partitions? black hole sun Linux - Software 5 10-28-2004 05:52 PM
HPT37X RAID-0 vfat to be mounted under Gentoo xeinsane Linux - Hardware 0 08-14-2004 06:12 PM
mount windows partitions so users (and not just root) can read it TheOneAndOnlySM Slackware 1 10-10-2003 05:20 PM
Access a vfat mounted partition vector Slackware 2 02-25-2003 09:54 PM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration