SMB configuration: Difference between revisions
Jump to navigation
Jump to search
Created page with "This supposes you're running as root on Ubuntu. ====== Install samba: ====== apt update && apt install samba ====== Create a user for your shared folder, called ''share'' h..." |
No edit summary |
||
| Line 12: | Line 12: | ||
====== Create the folder you want to share, and set the owner to the new user: ====== | ====== Create the folder you want to share, and set the owner to the new user: ====== | ||
mkdir /srv/share | mkdir /srv/share | ||
chown share:share /srv/share | chown share:share /srv/share | ||
Latest revision as of 13:09, 25 February 2021
This supposes you're running as root on Ubuntu.
Install samba:
apt update && apt install samba
Create a user for your shared folder, called share here:
adduser share
Note that the password set here is NOT be the one you use to access the samba share, this will be set later.
Other info can be left blank.
Create the folder you want to share, and set the owner to the new user:
mkdir /srv/share chown share:share /srv/share