[LAU] how to mount usb-stick properly

Nedko Arnaudov nedko at arnaudov.name
Fri Apr 20 17:16:33 EDT 2007


Dragan Noveski <perodog at gmx.net> writes:

> hi list,
> i am just about to set up the mechanism for being able to mount an
> usb-stick/hd as a ordinary user.
> up to now, i was that much successful, that i am able to mount as
> user, but i cannot write on it as user.
> this is how the /etc/fstab line looks like:
>
>  /dev/sda1       /media/usb      auto    rw,user,noauto  0       0
>
> while mounted, /etc/mtab shows:
>
> /dev/sda1 /media/usb ext3 rw,noexec,nosuid,nodev,user=nowhiskey 0 0
>
> but if i try to move a file to usb-stick:
>
> nowhiskey at murija2:~$ cp diverses/acpi01 /media/usb/
> cp: reguläre Datei »/media/usb/acpi01« kann nicht angelegt werden:
> Keine Berechtigung
> nowhiskey at murija2:~$
>
>
> ...which means "regular file ....could not be set: no permissions
>
>
> does anyone knows the hint, what i should do different to get this to work?
> any help would be really good, since reading the manuals did not
> helped here in this problem.

This is slightly offtopic but...
Since it looks that you created ext3 on usb drive, I think you need to
set permissions on root folder of usb drive so regular user can write.

-- 
Nedko Arnaudov <GnuPG KeyID: DE1716B0>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070421/9dc1cae0/attachment.pgp 


More information about the Linux-audio-user mailing list