LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2004, 10:24 PM   #1
sigma957
Member
 
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112

Rep: Reputation: 15
Can't write to vfat partition as user


Okay, this is driving me nuts. I've done searches here and thru google. I've tried all the suggestions. I can't get my everyday user to be able to write to three windows drives. They are vfat.

Here is the line from my fstab:
/dev/hda1 /xp/files vfat auto,users,async,dev,rw,gid=users,uid=bjp,mode=777,umask=000 1 0

here is the ls -al of one of the directories:

-rwxrwxrwx 1 bjp users 84868 Jun 10 20:12 cudgel61004.LOG*
-rwxrwxrwx 1 bjp users 130 Jun 8 17:05 jun04shoplist.txt*

But I still can't write. Any other suggestions?

Thanks!

Barbara
 
Old 07-23-2004, 01:05 AM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Woah, that's way too many parameters. Try just this:

/dev/hda1 /xp/files vfat defaults,user,umask=000 1 0
 
Old 07-25-2004, 08:18 PM   #3
sigma957
Member
 
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112

Original Poster
Rep: Reputation: 15
Okay, I can't find what defaults are in this context. I want my xp drives mounted on bootup and my user needs full access.
 
Old 07-25-2004, 10:20 PM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
defaults is just another option like user, umask, etc.

Quote:
Quoting mount man pages (#man mount)
defaults
Use default options: rw, suid, dev, exec, auto, nouser,
and async.
 
Old 07-29-2004, 05:48 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Open a file manager as root, and make sure the permissions for the mount point folder (in this case /xp/files) allow a user to write to the folder itself. All the fstab permissions control is the contents of the mount point, and any newly created data within the mount point, not the permissions of the mount point itself.

Basically, you own and have the rights to all of the diamonds in the safe, but you can't actually reach in and touch them, because the forcefield is still on.
 
Old 07-29-2004, 08:45 AM   #6
sigma957
Member
 
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112

Original Poster
Rep: Reputation: 15
Good point, motub. I checked and the permissions on /xp are:

drwxrwxrwx 5 bjp users 4096 May 28 14:56 xp/

and on the subfolders:

drwxrwxrwx 10 bjp users 8192 Dec 31 1969 cdrive/
drwxrwxrwx 10 root root 8192 Dec 31 1969 files/
drwxrwxrwx 6 bjp users 16384 Dec 31 1969 music/

It looks okay to me.
 
Old 07-29-2004, 08:58 AM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Ok, let's see if we can get to the bottom of this, as I see no obvious reason this should be happening.

Stupid question first: you are certain that this is actually a FAT32 partition, and not an NTFS partition, yes?

Semi-stupid question: what method are you using to attempt to write to this folder? Are you trying to edit a text file within the folder, and then save it? Are you trying to copy files from some other folder to this folder? If so, how are you trying to copy said files? File manager (which one?), terminal?

Stupid test second: open a terminal, browse anywhere in your /home directory and attempt to copy any stupid little useless text file (create one if you don't have one) to one of these folders using cp stupid_file.txt /xp/files. What is the output if this does not succeed?

Then su to root in the same terminal and run the same command again. Does it then work? If not, is the output different?

We really need more details on just what is failing here.
 
  


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
SAMBA - VFAT local mount for all user write access... dolvmin Linux - Software 13 12-21-2006 03:50 PM
unable to write to vfat partition as non-root aducarrab Linux - Newbie 4 01-29-2005 07:08 PM
user can't read/write (vfat) partition MykilX Slackware 6 07-04-2003 05:32 PM
unable to write file to vfat partition from Linux techsarge Linux - Software 5 04-25-2003 04:16 PM
vfat partition - write permission for users group digitized_funk Linux - Newbie 8 03-19-2003 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration