Hallo Marcus,

> -rw------- 1 xxx    5a 35307 Okt 20 08:09 Steckbrief von ...
> -rw------- 1 xxx  5a 34664 Okt 20 08:04 Steckbrief von ...
> -rw------- 1 xxx  5a 36060 Okt 20 08:02 Steckbrief von ...
> -rw------- 1 xxx 5a 34688 Okt 20 07:48 Steckbrief von ...
> -rw------- 1 xxx 5a 39198 Okt 20 08:06 Steckbrief Von ...
> -rw------- 1 xxx 5a 35581 Okt 20 08:04 Steckbrief von ...
>
> (Namen anonymisiert)

ein chmod -R 2644 auf das Verzeichnis sollte evtl. helfen.

>
> Das der 5b aber so (wie es sein sollte):
>
> -rw-r--r-- 1 xxx  5b 36324 Okt 21 11:29 ...
> -rw-r--r-- 1 xxx 5b 34160 Okt 21 11:19  ...
> -rw-r--r-- 1 xxx    5b 36630 Okt 21 11:27 ...
> -rw-r--r-- 1 xxx   5b 40189 Okt 21 11:53 Steckbrief ...
> -rw-r--r-- 1 xxx 5b 40304 Okt  7 11:53 Steckbrief von ...
> -rw-r--r-- 1 xxx 5b 36544 Okt  7 11:56 Steckbrief von ...
> ...
>
> Ich habe eben mal sophomorix-repair --permissions -c 5a versucht, hat aber
> nicht geholfen.
>
> Die smb.conf sieht so aus:
...
> [homes]
>    comment = Home Directories
>    browseable = no
>
>    # administrator is able to do housekeeping
>    admin users = administrator
>
> # By default, the home directories are exported read-only. Change next
> # parameter to 'yes' if you want to be able to write to them.
>    writable = yes
>
> # File creation mask is set to 0700 for security reasons. If you want to
> # create files with group=rw permissions, set next parameter to 0775.
>    create mode = 2644
>
> # Directory creation mask is set to 0700 for security reasons. If you want
> to
> # create dirs. with group=rw permissions, set next parameter to 0775.
>    directory mode = 2755
>
> # linuxmuster settings
>    path = %H
>    valid users = %S
>    root preexec = samba-userlog --log=in --username=%U --hostname=%I
> --homedir=%H
>    root postexec = samba-userlog --log=out --username=%U --hostname=%I
> --homedir=%H
>    veto files = /.locked/.htaccess/
>    delete veto files = no
>
> # Un-comment the following and create the netlogon directory for Domain
> Logons
> # (you need to configure Samba to act as a domain controller too.)
> [netlogon]
>    comment = Network Logon Service
>    path = /home/samba/netlogon
>    guest ok = yes
>    writable = no
>    force create mode = 664
>    write list = @domadmins
>    force group = domadmins
>
> #[printers]
> #   comment = All Printers
> #   browseable = no
> #   path = /tmp
> #   printable = yes
> #   public = no
> #   writable = no
> #   create mode = 0700
>
> # Windows clients look for this share name as a source of downloadable
> # printer drivers
> #[print$]
> #   comment = Printer Drivers
> #   path = /var/lib/samba/printers
> #   browseable = yes
> #   read only = yes
> #   guest ok = no
> #   force group = printoperators
> #   create mask = 664
> #   directory mode = 775
> # Uncomment to allow remote administration of Windows print drivers.
> # Replace 'ntadmin' with the name of the group your admin users are
> # members of.
> #   write list = @ntadmin
>
...
>
> # following shares are only used by linux clients
> [students]
>    comment = Students Homes
>    path = /home/students
>    writeable = no
>    write list = administrator,@teachers
>    valid users = administrator,@teachers
>    admin users = administrator
>    browseable = No
>    guest ok = No
..
> # following shares are only used by linux clients
> [students]
>    comment = Students Homes
>    path = /home/students
>    writeable = no
>    write list = administrator,@teachers
>    valid users = administrator,@teachers
>    admin users = administrator
>    browseable = No
>    guest ok = No

bei mir ist "students" nicht doppelt...
aber es sieht genauso aus.

> Ideen?

mal testweise das doppelte students wegmachen (service smb neu
starten), ich würde glaube ich (etwas unprofessionell) den chmod drauf
los lassen. Ob das aber lml-konform ist, weiß ich nicht.

Es gab auch mal noch ne andere Datei, in der drinnen steht, welche
Parameter bei --permissions gesetzt werden, die hatte zu Anfangszeiten
der 6.0 einen Fehler und man musste es editieren, deshalb weiß ich es
noch.
Da ging es auch um die Rechte der Tauschordner. Ich glaube aber nicht,
dass es das ist, da ja nur einzelne Ordner betroffen sind und nach
"repair" alles gleich bleibt.

Gruß
Max

-- 
Max Führinger

Eichendorff-Gymnasium Ettlingen
-------------------------------------------------------------------------
System:
- Virtualisiert mit KVM auf Ubuntu 12.04
- IPFire 2.15, Release 82 (linuxmuster-ipfire 1.1.4-2ubuntu0)
- linuxmuster.net 6.0.46-0ubuntu0
  mit Linbo 2.1.10-0
Erweiterungen: Openschulportfolio, mrbs, apt-cacher (separater virt. server)
Clients: Ubuntu 12.04 32bit und 14.04 64bit.
-------------------------------------------------------------------------
_______________________________________________
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an