Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107183115
D42492.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D42492.diff
View Options
diff --git a/usr.sbin/autofs/autofs/special_media b/usr.sbin/autofs/autofs/special_media
--- a/usr.sbin/autofs/autofs/special_media
+++ b/usr.sbin/autofs/autofs/special_media
@@ -40,7 +40,7 @@
case "${_fstype}" in
"exfat")
if [ -f "/usr/local/sbin/mount.exfat" ]; then
- echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype},nosuid :/dev/${_p}"
+ echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype} :/dev/${_p}"
else
/usr/bin/logger -p info -t "special_media[$$]" \
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-exfat first"
@@ -49,7 +49,7 @@
;;
"ntfs")
if [ -f "/usr/local/bin/ntfs-3g" ]; then
- echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid :/dev/${_p}"
+ echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype} :/dev/${_p}"
else
/usr/bin/logger -p info -t "special_media[$$]" \
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first"
@@ -57,10 +57,10 @@
fi
;;
"ext2fs" | "msdosfs")
- echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
+ echo "-fstype=${_fstype},async :/dev/${_p}"
;;
*)
- echo "-fstype=${_fstype},nosuid :/dev/${_p}"
+ echo "-fstype=${_fstype} :/dev/${_p}"
;;
esac
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 8:51 AM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15764166
Default Alt Text
D42492.diff (1 KB)
Attached To
Mode
D42492: autofs: media: Don't include nosuid in the script
Attached
Detach File
Event Timeline
Log In to Comment