<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Phil Schaffner wrote:
<blockquote cite="mid1125548704.4150.10.camel@tabb1.tabb" type="cite">
<pre wrap="">On Thu, 2005-09-01 at 11:10 +0900, Dave Gutteridge wrote:
...
</pre>
<blockquote type="cite">
<pre wrap="">So where I'm at now is that I can mount the drive from the command line
like so:
[root@localhost ~]# mount /dev/hda1 /mnt/windows
... but only the root user can see it.
I want to be able to make it so that any user (which is almost always
me, but sometimes I'm root, sometimes I'm just a user with the account
"dave") can access the drive, and that it comes up in Gnome/Nautilus on
boot.
Here is what I currently have in /etc/fstab:
/dev/hda1 /mnt/windows vfat
rw,uid=512,gid=1002 0 0
</pre>
</blockquote>
<pre wrap=""><!---->
Looks like you didn't read my original message thoroughly...
On Mon, 2005-08-29 at 11:55 -0400, Phil Schaffner wrote:
...
</pre>
<blockquote type="cite">
<pre wrap="">Try:
/dev/hda1 /mnt/windows vfat rw,noauto,user,uid=512,gid=1002 1 2
Adjust uid and gid for the user you want to have full access
(see /etc/passwd entry), or omit for read-all write-root. [Be
sure /mnt/windows exists.]
</pre>
</blockquote>
<pre wrap=""><!---->
uid=512 and gid=1002 are almost certainly not those for user "dave"
in /etc/passwd - more likely 500:500 as a guess. [And yes, 0 0 at the
end, not 1 2 unless you want to be assaulted again by ALPHA dosfsck.]
$ grep prs /etc/passwd
prs:x:512:1002:Phil Schaffner:/home/prs:/bin/bash
See what "grep dave /etc/passwd" returns and fix up /etc/fstab
accordingly.
Phil
</pre>
</blockquote>
<br>
Could try:<br>
<br>
<pre wrap="">/dev/hda1 /mnt/windows vfat rw,noauto,users 0 0</pre>
<br>
if you want it accessible for all users ....<br>
<br>
<pre class="moz-signature" cols="72">--
William A. Mahaffey III
---------------------------------------------------------------------
Remember, ignorance is bliss, but
willful ignorance is LIBERALISM !!!!
</pre>
</body>
</html>