It works for me, so I'm taking a guess.
I suspect you remounted the drive logged on as root using the
command you first quoted.
"mount /dev/hda2 /home/robert/storage -t vfat"
which seems to assign user and group of root ignoring what is
in /etc/fstab

instead try just
"mount /dev/hda2"
or
"mount /home/robert/storage"


Col.



Robert Fisher wrote:
Thanks Gareth,

Checked/etc/passwd and my uid is 500

I tried the following lines in fstab but still the same (no user write
rights)

/dev/hda2 /home/robert/storage vfat uid=500,gid=500,umask=007 0 0
/dev/hda2 /home/robert/storage vfat rw,user,noauto 0 0 0
/dev/hda2 /home/robert/storage vfat defaults,user,noauto 0 0 0

Regarding the login manager, your suggestion of looking in the prefdm
file suggested I try adding DISPLAYMANAGER="KDE" to
/etc/sysconfig/desktop and Voila, that is sorted.


On Mon, 2003-01-27 at 22:39, Gareth Williams wrote:

Chances are that they aren't. Have a look in /etc/passwd and see what the UID is for your regular user. Or, alternatively, just use the other option 'user' in /etc/fstab. Options like defaults,user,noauto are probably a good idea.

Cheers,
Gareth

ps. as far as login managers go, there might be a file on redhat systems (from memory, I don't use it ;) in somewhere like /etc/X11 called 'prefdm' (something like /etc/X11/prefdm I *think*, you might have to search for it, not sure... somewhere under /etc though, I'm fairly sure) which is actually a symlink to your *dm of choice (kdm / gdm / xdm) - if it points to gdm, try changing it to point to kdm (wherever it resides), that might do the trick. Just a thought.


On Monday 27 January 2003 22:21, Robert Fisher wrote:

/dev/hda2 /home/robert/storage	vfat	uid=500,gid=500,umask=007 0 0

in the fstab file got the partition mounted OK but still no user write
access.

How do I know if these uid's are correct?

Any more ideas?

On Mon, 2003-01-27 at 19:53, Col wrote:

I use
/dev/hda1	/mnt/c	vfat	user,noauto 0 0
when I want to manually mount

or
/dev/hda1	/mnt/c	vfat	uid=500,gid=500,umask=007 0 0
(adjust user and group id accordingly)


Col.

Robert Fisher wrote:

I am sure I have done this before but at the moment I am having
trouble.

I can use the following command (as root) to see my fat32 partition but
only root has write access.

mount /dev/hda2 /home/robert/storage -t vfat

or in fstab...

/dev/hda2		/storage		vfat	rw 0 0 0

How do I get user write access to the fat32 drive?

Robert




Reply via email to