View | Details | Raw Unified | Return to bug 25775
Collapse All | Expand All

(-)univention-ltsp-mountd (+2 lines)
 Lines 228-233    Link Here 
228
228
229
				command = "/usr/bin/ltspfs " + chunks[1] + " " + chunks[2]
229
				command = "/usr/bin/ltspfs " + chunks[1] + " " + chunks[2]
230
				command += " -o allow_other,sync,default_permissions,uid=" + str(uid_to_mount) + ",gid=" + str(gid_to_mount)
230
				command += " -o allow_other,sync,default_permissions,uid=" + str(uid_to_mount) + ",gid=" + str(gid_to_mount)
231
				if baseConfig.get('thinclient/ltsp/umask', None):
232
					command += ",umask=" + baseConfig.get('thinclient/ltsp/umask')
231
				ret = subprocess.call(command, shell=True)
233
				ret = subprocess.call(command, shell=True)
232
				if ret < 0:	
234
				if ret < 0:	
233
					ud.debug(ud.LDAP, ud.ERROR, "univention-ltsp-mountd: Error: Mounting %s failed" % chunks[2])
235
					ud.debug(ud.LDAP, ud.ERROR, "univention-ltsp-mountd: Error: Mounting %s failed" % chunks[2])

Return to bug 25775