Changeset 3945


Ignore:
Timestamp:
Mar 15, 2017, 11:46:04 AM (2 years ago)
Author:
hectorgh
Message:

allowing teachers to access students home mount point

Location:
lmd-client/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lmd-client/trunk/fuentes/debian/changelog

    r3005 r3945  
     1lmd-client (0.44) xenial; urgency=high
     2
     3  * Allowing teachers access to students home mount point
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Wed, 15 Mar 2017 11:45:22 +0100
     6
    17lmd-client (0.43) xenial; urgency=medium
    28
  • lmd-client/trunk/fuentes/install/usr/share/ldm/rc.d.diversions/X01-localapps.lliurex

    r2815 r3945  
    265265            mkdir -p /run/$LDM_USERNAME/teachers_share
    266266
    267             mount //server/home /run/$LDM_USERNAME/home -o username=$LDM_USERNAME,password=$LDM_PASSWORD
     267       
     268       
     269            # Teachers need access to student home mount point  # 10003 -> teachers gid
     270            if [ ${GRP_USER} = 'students' ]; then
     271                mount //server/home /run/$LDM_USERNAME/home -o username=$LDM_USERNAME,password=$LDM_PASSWORD,gid="10003"
     272           else
     273                mount //server/home /run/$LDM_USERNAME/home -o username=$LDM_USERNAME,password=$LDM_PASSWORD
     274            fi
     275           
    268276            mount //server/share /run/$LDM_USERNAME/share -o username=$LDM_USERNAME,password=$LDM_PASSWORD
    269277            mount //server/groups_share /run/$LDM_USERNAME/groups_share -o username=$LDM_USERNAME,password=$LDM_PASSWORD
Note: See TracChangeset for help on using the changeset viewer.