Can't share files MATE - Samba

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
FullScale4Me
Posts: 1195
Joined: Fri Jan 08, 2021 11:30 pm

Can't share files MATE - Samba

#1 Post by FullScale4Me »

Open a terminal:

Code: Select all

sudo apt install samba
sudo apt install caja-share
sudo smbpasswd -a $USER <--- your user ID
usermod +aG sambashare $USER
sudo mkdir /var/lib/samba/usershares
sudo chmod  g+rw,o+T /var/lib/samba/usershares
sudo chgrp sambashare /var/lib/samba/usershares
running ls -l from one folder below should give:

Code: Select all

/var/lib/samba# ls -l
drwxrwx--T  2 root sambashare   4096 Jan 11 00:00 usershares
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

Return to “Tips & Tricks by users (not for help)”