File: raspberrypi_config.patch

package info (click to toggle)
udevil 0.4.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,608 kB
  • sloc: sh: 12,733; ansic: 6,018; makefile: 69
file content (43 lines) | stat: -rw-r--r-- 2,737 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Merge Raspberry Pi config changes. It are more specyfic for Debian.
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Last-Update: 2017-07-23

--- a/etc/udevil.conf
+++ b/etc/udevil.conf
@@ -41,8 +41,8 @@ log_keep_days = 10
 # allowed_types_jim = vfat
 # Setting allowed_types = * does NOT allow all types, as this is a security
 # risk, but does allow all recognized types.
-# allowed_types = $KNOWN_FILESYSTEMS, file, cifs, smbfs, nfs, curlftpfs, ftpfs, sshfs, davfs, tmpfs, ramfs
-allowed_types = $KNOWN_FILESYSTEMS, file
+allowed_types = $KNOWN_FILESYSTEMS, file, cifs, smbfs, nfs, curlftpfs, ftpfs, sshfs, davfs, tmpfs, ramfs
+#allowed_types = $KNOWN_FILESYSTEMS, file
 
 
 # allowed_users is a list of users permitted to mount and unmount with udevil.
@@ -101,7 +101,7 @@ allowed_groups = *
 # be permitted to unmount its associated loop device even though internal.
 # INCLUDING /MNT HERE IS NOT RECOMMENDED.  ALL ALLOWED MEDIA DIRECTORIES
 # SHOULD BE OWNED AND WRITABLE ONLY BY ROOT.
-allowed_media_dirs = /media, /media/$USER, /run/media/$USER
+allowed_media_dirs = /media/$USER, /run/media/$USER
 
 
 # allowed_devices is the first criteria for what block devices users may mount
@@ -220,11 +220,11 @@ default_options_file      = nosuid, noex
 # mount iso9660 with 'ro' to prevent mount read-only warning
 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, 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
+default_options_vfat      = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, utf8
+default_options_exfat     = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, iocharset=utf8, namecase=0, nonempty
+default_options_msdos     = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
+default_options_umsdos    = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
+default_options_ntfs      = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, utf8
 default_options_cifs      = nosuid, noexec, nodev, uid=$UID, gid=$GID
 default_options_smbfs     = nosuid, noexec, nodev, uid=$UID, gid=$GID
 default_options_sshfs     = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, nonempty, allow_other