【问题标题】:Unable to Access New Linux Samba Share from Windows 10无法从 Windows 10 访问新的 Linux Samba 共享
【发布时间】:2020-05-10 12:38:51
【问题描述】:

我无法连接到刚刚从 Windows 10 创建的 Linux Samba 共享。 我在 Windows 上收到“您无权访问...”错误消息。 任何帮助将不胜感激。看来我离得太近了!仅供参考,我可以 ping、ssh 进入 linux 框等。网络连接似乎不是问题。

这里是 smb.conf...

    [global]
        workgroup = SAMBA
        security = user

        passdb backend = tdbsam

        printing = cups
        log level = 2
        printcap name = cups
        load printers = yes
        cups options = raw
        hosts allow = 192.168.1.220 192.158.1.230 192.168.1.240 192.168.1.0/24

[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes

    [printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @printadmin root
        force group = @printadmin
        create mask = 0664
        directory mask = 0775

    [fshare]
        browseable = yes
        path = /home/fshare
        public = yes
        writeable = yes
        read only = no
        guest ok = yes
        guest only = yes
        create mode = 0777
        directory mode = 0777
        valid users = sambauser

【问题讨论】:

    标签: linux permissions samba


    【解决方案1】:

    就我而言,我必须对共享文件夹进行 chmod。作为根:

    chmod -R 777 /home/shares/

    相当残酷,但足以满足我的家庭需求。

    【讨论】:

      猜你喜欢
      • 2010-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-20
      相关资源
      最近更新 更多