ubuntu24.04samba不能访问问题
(2024-09-18 08:52:16)
标签:
ubuntu24.04samba不能访问 |
分类: Linux |
ubuntu24.04 samba不能访问问题
你可以看一下日志文件
/var/log/samba/log.<机器名>
我的log指出vfs_访问当前路径失败,原因是没有权限访问。
以前是可以的(在/home/<用户>/share),现在不行了。估计是严格了。
所以,我在根目录/开了一个共享文件夹
/share
#chomd 777 /share
并在/etc/samba/smb.conf
加入以下共享文件加信息
[share]
comment =
share folder
path
=/share
browseable=yes
read
only=no
guest
ok=yes
create mask=
0777
directory
mask=0777
这样就行了。