| | 258 | |
| | 259 | |
| | 260 | = Besitzer des Links zum Schultauschverzeichnis in ''/usr/share/sophomorix/devel/repairhome.student'' = |
| | 261 | |
| | 262 | Abweichend von der normalen Linuxmusterlösung verwenden wir für unsere LtspServer NFS um die Homeverzeichnisse zu mounten. Eine Sicherheitsvorkehrung in NFS verhindert, dass Schüler dem Link `~/__tauschen/tausch-Schule` folgen. |
| | 263 | |
| | 264 | Näheres dazu in ticket:347. |
| | 265 | |
| | 266 | Das Problem lässt sich dadurch beheben, dass der Ordner `~/__tauschen` nicht `administrator`, sondern `root` gehört. Dazu ist eine Änderung in der Datei `/usr/share/sophomorix/devel/repairhome.student` nötig: changeset:326/keplertools. |
| | 267 | |
| | 268 | {{{#!diff |
| | 269 | --- a/sophomorix/trunk/devel/repairhome.student |
| | 270 | +++ b/sophomorix/trunk/devel/repairhome.student |
| | 271 | @@ -27,14 +27,23 @@ |
| | 272 | $handoutcopy_dir/$handoutcopy_string$mygroups::administrator::$teachers::3757 |
| | 273 | $handoutcopy_dir/$handoutcopy_string$current_room::administrator::$teachers::3757 |
| | 274 | |
| | 275 | # __dachboden |
| | 276 | $user_attic::administrator::$teachers::3757 |
| | 277 | |
| | 278 | # __einsammeln (collect) |
| | 279 | $collect_dir::administrator::$teachers::3757:: |
| | 280 | |
| | 281 | # __tauschen::immutable:: |
| | 282 | -$share_dir::administrator::$teachers::3757/3750 |
| | 283 | +### |
| | 284 | +### changed by kup 2011-11-23: |
| | 285 | +### $share_dir directory must be owned by root instead of administrator. |
| | 286 | +### We use NFS for exporting the share directories to LTSP Servers. |
| | 287 | +### NFS will not allow students to use the link tauschen-Schule, because |
| | 288 | +### its owner is different from the owner of $share_dir. |
| | 289 | +### See trac ticket #347. |
| | 290 | +### |
| | 291 | +# $share_dir::administrator::$teachers::3757/3750 |
| | 292 | +$share_dir::root::$teachers::3757/3750 |
| | 293 | |
| | 294 | # __vorlagen ::immutable:: |
| | 295 | $task_dir::administrator::$teachers::3755 |
| | 296 | |
| | 297 | }}} |
| | 298 | |
| | 299 | $share_dir directory must be owned by root instead of administrator. |
| | 300 | We use NFS for exporting the share directories to LTSP Servers. |
| | 301 | NFS will not allow students to use the link tauschen-Schule, because |
| | 302 | its owner is different from the owner of $share_dir. |
| | 303 | See trac ticket #347. |
| | 304 | |
| | 305 | |