X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fmisc%2Fudev%2F10-media-automount.rules;h=4e015d23d9b9da857870b431fa525c460db90974;hb=084138d08f9c85bbb7ba547e5e335cb478c4b11c;hp=af79563158368dabe0833035a10fcb36ea0c0c6e;hpb=ca489ced1fbb7de4d815bb4e194f8b83bfc5c959;p=hvlinux.git diff --git a/stage2/misc/udev/10-media-automount.rules b/stage2/misc/udev/10-media-automount.rules index af79563..4e015d2 100644 --- a/stage2/misc/udev/10-media-automount.rules +++ b/stage2/misc/udev/10-media-automount.rules @@ -14,8 +14,8 @@ ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'" # global mount options ACTION=="add", ENV{mount_options}="relatime" -# filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat) -ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8" +# filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat) +ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=98,dmask=000,fmask=111,utf8" # automount ntfs filesystems using ntfs-3g driver ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"