[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1209] users has full read/write access to local harddrive on thinclient.



http://bugs.skolelinux.no/show_bug.cgi?id=1209





------- Additional Comments From pere@hungry.com  2007-07-08 09:23 -------
Does this patch work?  It is to be applied to the file in /lib/udev/, along
with a setting LOCALDEV_FIXEDVISIBLE=false in lts.conf.  This new feature need to
be configurable, as some are using the local disk as storage while others do
not want that.

--- /home/pere/src/debian/ltsp/ltspfs-0.4.3/scripts/add_fstab_entry.orig        
2007-07-08 09:19:54.000000000 +0200
+++ /home/pere/src/debian/ltsp/ltspfs-0.4.3/scripts/add_fstab_entry     2007-07-08 
09:21:05.000000000 +0200
@@ -33,7 +33,7 @@
 if [ -S /tmp/.ltspfs-socket ]; then
     /usr/bin/ssh -S /tmp/.ltspfs-socket server \
                  "/usr/sbin/ltspfsmounter ${MOUNTPOINT} add"
-else
+elif [ false != "${LOCALDEV_FIXEDVISIBLE}" ]; then
     echo "${MOUNTPOINT} ${1} ${2}" >> /var/run/.delayed-mount
     if [ ! -z "${FIXEDDEVICE}" ]; then
         echo "${MOUNTPOINT} ${1} ${2}" >> /var/run/.static-device




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



Reply to: