[LAU] how to mount usb-stick properly

Cesare Marilungo cesare at poeticstudios.com
Fri Apr 20 19:08:53 EDT 2007


Dragan Noveski wrote:
> 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.
>
Change the user or the permissions (if you want to allow any user to 
write) of /media/usb.

See 'man chmod' and 'man chown'.

Cheers,

c.
> cheers,
> doc
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
>
>


-- 
http://www.cesaremarilungo.com




More information about the Linux-audio-user mailing list