From 94ab62b208bb5c1588aa75f9fed3f51b1a95b0cc Mon Sep 17 00:00:00 2001 From: IgnorantGuru Date: Sun, 26 Apr 2015 12:59:42 -0600 Subject: [PATCH] udevil.conf new default/allowed options for exfat #52 --- ChangeLog | 2 +- etc/udevil.conf | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1264a0..8a42389 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ 0.4.3+ - udevil.conf use nonempty option for exfat #52 + udevil.conf new default/allowed options for exfat #52 [devmon 1.1.8] fix no error popup on --unmount-removable #42 [devmon 1.1.8] improve --exec-on-unmount for mounted during startup [devmon 1.1.8] unset %d %l for --exec-on-unmount #56 diff --git a/etc/udevil.conf b/etc/udevil.conf index 7be75ee..ac6f207 100644 --- a/etc/udevil.conf +++ b/etc/udevil.conf @@ -218,7 +218,7 @@ default_options_file = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, default_options_iso9660 = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, ro, utf8 default_options_udf = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID default_options_vfat = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, utf8 -default_options_exfat = nosuid, noexec, nodev, noatime, nonempty +default_options_exfat = nosuid, noexec, nodev, noatime, umask=0077, uid=$UID, gid=$GID, iocharset=utf8, namecase=0, nonempty default_options_msdos = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID default_options_umsdos = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID default_options_ntfs = nosuid, noexec, nodev, noatime, fmask=0133, uid=$UID, gid=$GID, utf8 @@ -242,13 +242,14 @@ default_options_ramfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID # and GID. # If you want to forbid remounts, remove 'remount' from here. # WARNING: OPTIONS HERE CAN CAUSE SERIOUS SECURITY PROBLEMS - CHOOSE CAREFULLY -allowed_options = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, ro, rw, sync, flush, iocharset=*, utf8, remount, nonempty +allowed_options = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, ro, rw, sync, flush, iocharset=*, utf8, remount allowed_options_nfs = nosuid, noexec, nodev, noatime, ro, rw, sync, remount, port=*, rsize=*, wsize=*, hard, proto=*, timeo=*, retrans=* allowed_options_cifs = nosuid, noexec, nodev, ro, rw, remount, port=*, user=*, username=*, pass=*, password=*, guest, domain=*, uid=$UID, gid=$GID, credentials=* allowed_options_smbfs = nosuid, noexec, nodev, ro, rw, remount, port=*, user=*, username=*, pass=*, password=*, guest, domain=*, uid=$UID, gid=$GID, credentials=* allowed_options_sshfs = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, idmap=user, BatchMode=yes, port=* allowed_options_curlftpfs = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, user=* allowed_options_ftpfs = nosuid, noexec, nodev, noatime, ro, rw, port=*, user=*, pass=*, root=*, uid=$UID, gid=$GID +allowed_options_exfat = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, umask=0077, namecase=*, ro, rw, sync, flush, iocharset=*, remount, nonempty # mount_point_mode, if present and set to a non-empty value, will cause udevil