Я пытаюсь открыть доступ к папке в Ubuntu 16.04, чтобы получить доступ к ней на компьютере с Windows XP. Я получаю это сообщение об ошибке:
'net usershare' returned error 255: net usershare add: cannot share path /media/rpiggott/Users/Users/Ron Piggott/Documents/Wendy Bonter/Car Insurance Claim as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = false"
to the [global] section of the smb.conf to allow this.
Я не знаю, где живет smb.conf. Я открыл терминал и дал команду
sudo find ~/ -type f -name "smb.conf"
Нет результатов.
Другие соответствующие подробности:
Где этот файл? Где я могу его создать, чтобы я мог следовать инструкции?
Это живет в:
/etc/samba/smb.conf
можно отредактировать его с:
sudo nano /etc/samba/smb.conf