jessyhoule icon

Public Share

jessyhoule | PRO | 08/14/23 04:31:46 AM UTC (Edited) | 0 ⭐ | 368 👁️ | Never ⏰ | []
Bash |

500 B

|

None

|

0 👍

/

0 👎

sudo chmod -R 0777 /home/myuser/Documents
sudo chown -R nobody:nogroup /home/myuser/Documents
 
sudo apt-get install samba
sudo nano /etc/samba/smb.conf
 
# put this at the bottom of the file with spaces indicated below
[Documents]
   path = /home/myuser/Documents
   browsable = yes
   writable = yes
   guest ok = yes
   guest only = yes
   read only = no
   create mode = 0777
   directory mode = 0777
   force user = nobody
 
sudo service smbd restart
 
# on Debian
su
/etc/init.d/smbd restart

Comments