我曾尝试使用 samba 设置磁盘以进行网络访问,但没有成功。我怀疑问题可能出在磁盘的所有权上,但无法通过此站点上的线程中推荐的方法更改所有权。下面给出了 testparm 的输出。我将不胜感激任何指导。谢谢。
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Disk]"
Loaded services file OK.
Server role: ROLE_STANDALONE
按 Enter 键查看服务定义的转储
# Global parameters
[global]
map to guest = Bad User
security = USER
server string = Multimedia
workgroup = COLLAB
idmap config * : backend = tdb
include = /etc/samba/smbshared.conf
[Disk]
force user = angelo
path = /media/angelo/Disk
read only = No