Univention Bugzilla – Bug 37854
No read permissions for home directories if distribution module is used before first windows user login
Last modified: 2015-05-11 19:24:58 CEST
The user's home directories in UCS@school will be automatically created by
- the first windows/samba login or
- the distribution module or
- the exam module (to be more precisely: the distribution part of the exam module)
If no UCS@school user home directory exist at all (/home/$OU or
/home/$OU/schueler does not exist), the home directory
/home/$OU/schueler/$UID will be created during the file distribution (distribution or exam module).
In this the following permissions are set:
drwxr-xr-x 4 root nogroup /home/$OU
drwx------ 4 root root /home/$OU/schueler
drwx------ 3 $UID Domain Users $OU /home/$OU/schueler/$UID
So at least all students have no read/write access to their home directory.
This results e.g. in the use of temporary windows profiles.
Workaround: chmod 0755 /home/*/schueler
*** Bug 38196 has been marked as a duplicate of this bug. ***
The permissions when creating home directories have been fixed.
Fix: svn r59919
tree -pug /home/$OU
├── [drwx--x--x root root ] lehrer
│ └── [drwx------ teacher Domain U] teacher
│ └── [drwx------ teacher Domain U] Unterrichtsmaterial
│ └── [drwx------ teacher Domain U] project
│ └── [-rw------- teacher Domain U] file
└── [drwx--x--x root root ] schueler
└── [drwx------ student Domain U] student
└── [drwx------ student Domain U] Unterrichtsmaterial
└── [drwx------ student Domain U] project
└── [-rw------- student Domain U] file
OK - drwx--x--x root root ] lehrer
OK - drwx--x--x root root ] schueler
OK - also tested with win7 client, no temp profil and all projects exists
OK - yaml changelog
OK - debian changelog
UCS@school 4.0 R2 v1 has been released:
If this error occurs again, please use "Clone This Bug".