새 사용자 디렉터리를 삽입하는 방법

새 사용자 디렉터리를 삽입하는 방법

다음 명령을 사용하여 Ubuntu Server, Linux 4.15.0-162-generic #170-Ubuntu SMP에 디렉터리를 설정하려고 합니다.

chown user:group

그러나 다음과 유사한 오류가 발생했습니다.

chown: invalid spec: ‘2163147:’

이 이미지는 공간이 있는 일부 사용자(작동하지 않음)와 공간이 없는 다른 사용자(잘 작동함)를 보여줍니다.

여기에 이미지 설명을 입력하세요.

저는 samba, sssd, krb5를 사용하여 서버를 설정하고 Apache2와 Nginx를 설치했습니다.

누구든지 이 문제에 대한 해결책을 갖고 있습니까?

이것은 다음의 출력입니다 testparm -s.

    /var/www/Students$ testparm -s
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    WARNING: The "syslog" option is deprecated
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[www$]"
    Unknown parameter encountered: "security mask"
    Ignoring unknown parameter "security mask"
    Unknown parameter encountered: "force security mode"
    Ignoring unknown parameter "force security mode"
    Unknown parameter encountered: "directory security mask"
    Ignoring unknown parameter "directory security mask"
    Unknown parameter encountered: "force directory security mode"
    Ignoring unknown parameter "force directory security mode"
    Processing section "[StudentsCS$]"
    Unknown parameter encountered: "security mask"
    Ignoring unknown parameter "security mask"
    Unknown parameter encountered: "force security mode"
    Ignoring unknown parameter "force security mode"
    Unknown parameter encountered: "directory security mask"
    Ignoring unknown parameter "directory security mask"
    Unknown parameter encountered: "force directory security mode"
    Ignoring unknown parameter "force directory security mode"
    Processing section "[Dvwa$]"
    Unknown parameter encountered: "security mask"
    Ignoring unknown parameter "security mask"
    Unknown parameter encountered: "force security mode"
    Ignoring unknown parameter "force security mode"
    Unknown parameter encountered: "directory security mask"
    Ignoring unknown parameter "directory security mask"
    Unknown parameter encountered: "force directory security mode"
    Ignoring unknown parameter "force directory security mode"
    Loaded services file OK.
    Server role: ROLE_STANDALONE

    # Global parameters
    [global]
            client signing = if_required
            dns proxy = No
            kerberos method = secrets and keytab
            log file = /var/log/samba/log.%m
            map to guest = Bad User
            max log size = 1000
            obey pam restrictions = Yes
            pam password change = Yes
            panic action = /usr/share/samba/panic-action %d
            passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
            passwd program = /usr/bin/passwd %u
            security = USER
            server role = standalone server
            server string = %h server (Samba, Ubuntu)
            syslog = 0
            unix password sync = Yes
            usershare allow guests = Yes
            idmap config * : backend = tdb


    [printers]
            browseable = No
            comment = All Printers
            create mask = 0700
            path = /var/spool/samba
            printable = Yes


    [print$]
            comment = Printer Drivers
            path = /var/lib/samba/printers


    [www$]
            create mask = 0770
            directory mask = 02770
            force create mode = 0770
            force directory mode = 02770
            guest ok = Yes
            path = /var/www
            read only = No
            valid users = amcdonald


    [StudentsCS$]
            create mask = 0770
            directory mask = 02770
            force create mode = 0770
            force directory mode = 02770
            guest ok = Yes
            inherit acls = Yes
            inherit owner = windows and unix
            inherit permissions = Yes
            path = /var/www/Students/
            read only = No


    [Dvwa$]
            create mask = 0770
            directory mask = 02770
            force create mode = 0770
            force directory mode = 02770
            guest ok = Yes
            inherit acls = Yes
            inherit owner = windows and unix
            inherit permissions = Yes
            path = /var/www/html/
            read only = No

관련 정보