You are not logged in.
Pages: 1
I have just started using Vifm: love the fact that it uses the Vim keybindings, integrates file management and editing in the console and is lightweight and fast -- however, whenever I mount a USB drive, I can't copy files to the drive, it throws a
cp: cannot create regular file 'somefilename' Permission denied
Short of launching it as root (which strikes me as a very bad idea) I am at a loss as to how to get this to work.
Anyome else experienced this -- and cracked it?
Last edited by jasonwryan (2009-11-12 00:28:13)
Offline
Use this in your fstab to allow normal users to mount usb disks. This mounts /dev/sdb1 to /mnt/usb with the UID and GID of the user that's doing the mount
/dev/sdb1 /mnt/usb auto noauto,user,rw,exec 0 0
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Thanks Lich - I tried the fstab entry but still get the same permissions error...
/dev/sdb /mnt/usb auto rw,noauto,async,user 0 0
/edit
...and for the newbies (and the slow, like me) the key is to issue 'mount' as normal user...
Last edited by jasonwryan (2009-11-12 00:27:52)
Offline
Pages: 1