[LAU] how to mount usb-stick properly

Dragan Noveski perodog at gmx.net
Fri Apr 20 18:43:59 EDT 2007


Cesare Marilungo wrote:
> 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.
>
thanks c., that was a really good advice!

well, again i could not come around with chmod, but i opened up 
'nautilus' one more time and i realized that in the 'file-preferences' 
tab the options 'special attributes' have to be checked for the 
preferences not to be changed as soon i close nautilus.
so that worked out really good!

thanks again and cheers,
doc



More information about the Linux-audio-user mailing list