Re: Samba Question: Can Drives Mounted outside Home Be Shared?  [Solved]

Message
Author
User avatar
FullScale4Me
Posts: 1007
Joined: Fri Jan 08, 2021 11:30 pm

Re: Samba Question: Can Drives Mounted outside Home Be Shared?  [Solved]

#1 Post by FullScale4Me »

nathan2423 wrote: Thu Feb 29, 2024 6:30 am Following @FullScale4Me's excellent guide I have figured this out -- I had not fixed my firewall for samba! Please delete -- thanks!


Common Share Setup Fail Points
Points below are however the most common issues brought up on the MX Support Forum.
1) Do NOT modify the file /etc/samba/smb.conf in any way. Use MX Samba Config.1
2) Don't use spaces in Samba share paths. Use – or _ instead.
3) All PCs should be on the same network sub-net.
4) The shared folder must be in the sharing user's users home folder.
5) Leave the Unix permissions alone. The +x IS needed from root to share folder

I wish to share a folder that is mounted (in my case as /mnt/drived) but the Mix samba config tool gives error to the effect that there are improper characters in the share name.

I presume that item 4 in this list is there for a reason, but it's not clear to me what the reason is, so: Is it possible to share folders that are outside the user's home folder, or should I give up on that idea as a non-starter?
Thanks for noting my guide, MX Linux to Windows and Mac File Sharing

FWIW it is in a continual state of improvement, unlike a paper book's once-and-done. I modified one point (4) and added one (5).

Common Share Setup Fail Points

Points below are the most common issues brought up on the MX Support Forum.

1) Do NOT modify the file /etc/samba/smb.conf in any way. Use MX Samba Config.1

2) Don't use spaces in Samba share paths. Use – or _ instead.

3) All PCs should be on the same network subnet.

4) The shared folder should be in the sharing user's users /home folder.

5) If a shared folder is outside /home it MUST be ‘owned’ by the user.

6) Leave the Unix permissions alone. The +x IS needed from the root to share the folder.

1 Yes, there are a lot of guides saying to do so. MX Linux made the MX Samba Config tool to make it easier.
Last edited by FullScale4Me on Thu Feb 29, 2024 1:50 pm, edited 2 times in total.
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

nathan2423
Posts: 217
Joined: Tue Dec 22, 2015 7:33 am

Re: Re: Samba Question: Can Drives Mounted outside Home Be Shared?

#2 Post by nathan2423 »

Thank you Fullscale4me!!

Post Reply

Return to “Software / Configuration”