私人共享文件夹

私人共享文件夹

您好,我有一个关于我的私人共享文件夹的问题。

我已经添加了一个名为“私人”的用户,如下所示:

lhon@lhon-server:~$ sudo adduser private
Adding user `private' ...
Adding new group `private' (1006) ...
Adding new user `private' (1004) with group `private' ...
Creating home directory `/home/private' ...
Copying files from `/etc/skel' ...
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: password updated successfully
Changing the user information for private
Enter the new value, or press ENTER for the default
        Full Name []: Lhon Private
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] Y

在我使用创建用户和文件夹之后

sudo mkdir /home/private/personal
[LhonPersonal]
comment = Contents are private.
path = /home/private/personal
read only = no
guest ok = no
create mask = 0666
force user = private
force group = private
force create mode = 0666
directory mask = 0777
force directory mode = 0777

当我浏览我的 Windows 网络时,我在用户名和密码上输入了“私人”,但文件夹仍然无法访问?谢谢

相关内容