You are not logged in.
Pages: 1
Hi,
It's unable to create file on USB flash stick as a normal user, there is "permission denied" error.
It's Okay to be with Root, I use udevil to automount it under SpaceFM, when
$ ls /run/media/jack/usb
drwxr-xr-x 2 root root 4096 Mar 14 19:05 usbNotice the owner is root
$ mount
/dev/sdb1 on /run/media/jack/usb type vfat (rw,nosuid,nodev,noexec,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)It's automounting, how to give normal user permissions? Thanks.
Last edited by jazzi (2014-03-14 12:00:41)
Offline
Okay, problem resolved.
I take a check with /etc/udevil/udevil.conf and found no default_options for vfat, there is one for msdos, so I added one line:
default_options_vfat = nosuid, noexec, nodev, noatime, dmask=0022, uid=$UID, gid=$GID, utf8
Everything works fine now.
Offline
Pages: 1