mounting ext2 drive as different user than root

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeff Barker
Date:  
Subject: mounting ext2 drive as different user than root
here's the permissions on the drive:

drwxrwxrwx myuser:users

it seems to work ok when I copy files from the normal root drive, or
straight from a windows machine through samba.

But when I try and copy something from one of the mounted vfat drives,
it copies a few folders including all subfolders and all files, and then
will stop and give me a I/O error. So maybe the problem is with the
other drives. However, after that happens, I then can't even go in the
folder and create a directory using mkdir. Same error:

mkdir: cannot create directory `New': Input/output error

I have to reboot the machine. Trying to unmount it gives me a "device is
busy" error:

umount: /home/myuser/home: device is busy

that's why I'm confused... is it the other drives causing the problems?
or is it the this drive.... Cause the other drives are now working fine
copying files even through Samba... GRRRR I'm getting so frustrated.

I reformatted the thing (mke2fs -c /dev/hdg1) and checked for bad blocks
and it was fine.

hmmm.. ok, I just rebooted. cd'd into the drive and did a ls -la:

/bin/ls: Korn - Did my Time.mp3: Input/output error

The files I copied over now give me that error.... can't delete em...
gotta reformat again.

What's my first step now?

(I apologize for having to post so many times on probably a trivial
issue but I'm so lost here)


Jeremy C. Reed wrote:

>On Mon, 8 Sep 2003, Jeff Barker wrote:
>
>
>
>>Alright.... lets try this a different way... forget samba for now.
>>
>>How can I allow everyone in the user group to read and write to a
>>mounted drive? simply chowning/chgrping it is not working. Am I
>>completely clueless or what?
>>
>>
>
>Show us the permissions.
>
>Show us how you are testing (with any relevant messages).
>
> Jeremy C. Reed
> http://www.reedmedia.net/
>
>---------------------------------------------------
>PLUG-discuss mailing list -
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>