Can't Write to External Drive From User Account
Glen Strom
gstrom-R6A+fiHC8nRWk0Htik3J/w at public.gmane.org
Mon Feb 26 22:28:14 UTC 2007
On Mon, 26 Feb 2007 13:02:00 -0500
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) wrote:
> On Sun, Feb 25, 2007 at 09:26:16PM -0500, Glen Strom wrote:
> > I recently bought a 200 GB Maxtor OneTouch III USB 2.0 external hard
> > drive. My system is a Dell Dimension 4100 running Slackware 10.2
> > with a 2.4.31 kernel.
> >
> > The drive was recognized as sda. I partitioned it as sda1 and sda2.
> > From root, everything works fine. From my user account, I can't
> > write to the drive. I can mount it and read it, but not write to it.
> >
> > Since I have no trouble mounting the drive, I believe the fstab
> > entries are correct:
> >
> > /dev/sda1 /mnt/usbdrive1 ext3 noauto,rw,users 0 0
> > /dev/sda2 /mnt/usbdrive2 ext3 noauto,rw,users 0 0
> >
> > The permissions on /dev/sda1 and /dev/sda2 were as follows:
> >
> > rw- r-- --- root disk
>
> Device permissions have nothing to do with filesystem access, only raw
> device access.
>
> > My user account is already a member of the disk group, so I
> > changed the permissions to rw- rw- ---, but that didn't help.
> >
> > I don't know if this might be a Slackware-specific problem or a
> > general permissions problem with some small thing I've overlooked.
> > Does anyone have a suggestion?
>
> If it is in fact ext3 then it all comes down to normal unix
> permissions. Who owns the root directory of /mnt/usbdrive1
> and /mnt/usbdrive2?
>
> ls -ld /mnt/usbdrive[12]
>
drwxr-xr-x 2 root root 4096 2007-02-22 21:42 /mnt/usbdrive1
drwxr-xr-x 3 root root 4096 2007-02-25 23:28 /mnt/usbdrive2
--
Glen Strom
gstrom-R6A+fiHC8nRWk0Htik3J/w at public.gmane.org
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list