You are not logged in.

#1 2008-07-03 14:24:20

thea
Member
Registered: 2006-12-22
Posts: 86

USB mounting problem

I have done my best to research this, but have not found a solution.

After a new Arch installation on a new machine (Dell Precision T3400) I am unable to change the permissions (even as root!) on files once they are transferred to the usbstick (a Code 1 error message is returned). Other operations, such as copying, moving and deleting occur as usual. I have also noticed that as soon as files are transferred to the USB stick, the permissions get changed (but not the ownership), as if whatever is reading the stick is also changing the permissions.

It is not the stick -- the same stick performs normally on every other computer I use it on.

fstab: /dev/sdc1   /mnt/usbstick  vfat   rw,user,auto,sync  0    0

(basically the same as on 3 other Linux machines I use, all running Arch).

When mounted, sdc1 has ownership  root:disk.  I have added myself to the disk group. /mnt/usbstick has myself as the owner.

Not a major problem, just slightly irritating.

Thea

Offline

#2 2008-07-03 15:05:24

pheon
Member
From: Berlin, Germany
Registered: 2008-05-14
Posts: 91

Re: USB mounting problem

Hi,

FAT does not support file-permissions.

I guess that's the problem wink

Probalby you should switch to an unix-fs or ntfs (if you need win machines to access this stick without installation additional tools / drivers)

Regards

Last edited by pheon (2008-07-03 15:13:34)


watching someone else use your computer is like watching a drunk orangutan solve a rubix cube

Offline

#3 2008-07-03 15:18:05

thea
Member
Registered: 2006-12-22
Posts: 86

Re: USB mounting problem

Thanks, Pheon --

I just noticed I made a mistake in giving my fstab line, it should be:

/dev/sdc1   /mnt/usbstick   vfat   rw,user,noauto,sync   0   0

(so "noauto" instead of "auto" in the mount options)

As I indicated, this is not a USB stick problem (same stick works just fine on other machines) -- also, in my attempts to troubleshoot this, I changed the filesystem on the USB stick to VFAT -- previously, it was whatever the default is when it comes out of the factory, and at that time the fstab line looked like:
/dev/sdc1   /mnt/usbstick   auto   rw,user,noauto,sync   0   0

Same situation, i.e. changing the filesystem did not affect the problem in any way.

Any other ideas?

Offline

#4 2008-07-03 18:22:54

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: USB mounting problem

I use Lanrat's suggestion here: http://bbs.archlinux.org/viewtopic.php?id=46944

It might help in solving the problem...

Offline

#5 2008-07-03 18:51:58

thea
Member
Registered: 2006-12-22
Posts: 86

Re: USB mounting problem

Hi Zenlord -- this looks interesting and more in the direction of where I was thinking the problem might be lurking.

thanks!

Offline

Board footer

Powered by FluxBB