You are not logged in.

#1 2017-04-24 16:55

cjoliprsf
Member
Registered: 2017-04-23
Posts: 71

Setting up file sharing with Windows computers

Because I've had to fiddle around quite a bit more than expected to set this up, I thought it was worth writing the procedure up here...

The basic package required is samba, which is included in the Basic profile when one chooses to install this profile.
That is fine for seeing other machines that run Windows, but not sufficient for the Windows machines to see the Q4OS machine.

I've had to install 2 extra packages with the "sudo apt-get install" command: tdenetwork-filesharing-trinity and smbclient

Once these are installed, it becomes possible to right-click on a folder, select properties on the drop-down menu, go to share tab, and easily configure share directories.

Once that was done, I could see the shared folder with my Windows computer, but still unable to write to it even if I had specified writable in the above. In order to permit writing, I had to add the following lines in the appropriate section of the smb.conf file:
open /etc/samba/smb.conf with administrator rights
scroll by the end of file, find section
[NAME_OF_SHARED_FOLDER]
I had the following 2 lines in that section
path = /home/path_of_shared_folder
guest ok = yes
and I added the following 2 lines:
public = yes
writable = yes

Maybe there is an easier way to do it?
Anyway, I hope this might be useful to others...
Claude

Offline

Board footer

Powered by FluxBB