What set/change permission on usb storage
Everytime I plug an usb storage (usb key, usb hd) everything work except that only the root user can access the mounted storage directory.
What change or set the perm, my wish is to plug my usb drive and be able to read/write file without to have to change to root user. I use mandriva 2006 (free ed) |
Open your /etc/fstab and locate the line that talks about your usb memory..it's got /dev/sdaX or sdeX or something, where X is a number. Alter the line and add to the options an option umask=022 to let every user read/write it..so the line becomes like this (might be a bit different on your machine, so just add the umask):
Code:
/dev/sda1 /mnt/someplace auto defaults,umask=022 0 0 |
Quote:
Thx for the help |
I think there is something else going on in Mandriva now and somebody else may know ?
For a start on my ftab file the permission is not umask=022 but is actually umask=0022. Don't know if that is different or not in practice. Usb is handled in mtab as none /proc/bus/usb usbfs rw 0 0 and the effect of mtab is to record which device is mounted on usb and who owns it I think Please correct me if I'm wrong |
All times are GMT -5. The time now is 09:36 AM. |