Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
 |
07-22-2004, 10:24 PM
|
#1
|
Member
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112
Rep:
|
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
|
|
|
07-23-2004, 01:05 AM
|
#2
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
Woah, that's way too many parameters. Try just this:
/dev/hda1 /xp/files vfat defaults,user,umask=000 1 0
|
|
|
07-25-2004, 08:18 PM
|
#3
|
Member
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112
Original Poster
Rep:
|
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.
|
|
|
07-25-2004, 10:20 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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.
|
|
|
|
07-29-2004, 05:48 AM
|
#5
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
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.
|
|
|
07-29-2004, 08:45 AM
|
#6
|
Member
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112
Original Poster
Rep:
|
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.
|
|
|
07-29-2004, 08:58 AM
|
#7
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:47 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
|
|