Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.mint > #43889

Re: Sharing Folders

From Edmund <nomail@hotmail.com>
Newsgroups alt.os.linux.mint
Subject Re: Sharing Folders
Date 2025-01-23 12:49 +0100
Organization A noiseless patient Spider
Message-ID <vmtaco$1k155$1@dont-email.me> (permalink)
References <lvcp4cFavvpU5@mid.individual.net> <vmrrfn$18692$1@dont-email.me> <lvegmpFnodpU1@mid.individual.net> <vmt538$1j2ld$1@dont-email.me> <lvekn7FnodpU2@mid.individual.net>

Show all headers | View raw


On 1/23/25 11:41, Bob Henson wrote:
> On 23/1/25 10:19 am, Edmund wrote:
>> On 1/23/25 10:33, Bob Henson wrote:
>>> On 22/1/25 10:29 pm, Paul wrote:
>>>> On Wed, 1/22/2025 12:44 PM, Bob Henson wrote:
>>>>> Having partially fixed my network I now need to share some Linux 
>>>>> Mint 22.1 Mate folders with Windows 11. I can see my windows shares 
>>>>> OK from the Linux laptop. I tried using Caja to share them and even 
>>>>> installed caja-share which I read might help, but can find no share 
>>>>> tab in the folder properties page. What do I need to do to share 
>>>>> the folders?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Bob
>>>>
>>>> sudo apt install synaptic
>>>> sudo apt install wsdd
>>>> sudo apt install samba
>>>>
>>>> ullwinkle@MINTMATE:/var/lib/samba$ ls -al
>>>> total 1368
>>>> drwxrwxrwx  6 root       root         4096 Jan 22 16:44 .
>>>> drwxr-xr-x 71 root       root         4096 Jan 22 16:17 ..
>>>> -rw-------  1 root       root       421888 Jan 22 16:44 
>>>> account_policy.tdb
>>>> -rw-------  1 root       root          696 Jan 22 16:44 
>>>> group_mapping.tdb
>>>> drwxr-xr-x 10 root       root         4096 Jan 22 16:44 printers
>>>> drwxr-xr-x  2 root       root         4096 Jan 22 16:44 private
>>>> -rw-------  1 root       root       528384 Jan 22 16:45 registry.tdb
>>>> -rw-------  1 root       root       421888 Jan 22 16:45 share_info.tdb
>>>>
>>>> drwxrwx--T  2 root       sambashare   4096 Jan 22 16:44 usershares 
>>>> <=== made by the automation, complete with T flag
>>>>
>>>> bullwinkle@MINTMATE:/var/lib/samba$ groups
>>>> bullwinkle adm cdrom sudo dip plugdev users lpadmin sambashare <=== 
>>>> some earlier step did a groupadd
>>>> bullwinkle@MINTMATE:/var/lib/samba$
>>>>
>>>> Bullwinkle@MINTMATE:~/Downloads/share$ ls -al
>>>> total 8
>>>> drwxrwxrwx 2 bullwinkle bullwinkle 4096 Jan 22 16:38 .    <=== my 
>>>> share is smashed flat, but I'm getting
>>>> drwxrwxrwx 3 bullwinkle bullwinkle 4096 Jan 22 16:38 ..        a 
>>>> permission error from Windows. I'm auto-logged
>>>> (because I clicked the allow Guest button) but
>>>>                                                                 it 
>>>> could be that Windows does not like that mode.
>>>>
>>>> I cleared the two option boxes in the share definition, so that
>>>> Windows would be asked for a password. Password was NOT accepted,
>>>> which means we have to resort to the secondary password system.
>>>>
>>>> bullwinkle@MINTMATE:~/Downloads/share$ sudo smbpasswd -a bullwinkle
>>>> [sudo] password for bullwinkle:
>>>> New SMB password:
>>>> Retype new SMB password:
>>>> Added user bullwinkle.
>>>>
>>>> And... I'm in. As in... exhausted :-)
>>>>
>>>> *******
>>>>
>>>> I looked at my notes now, to see how well I managed to discover
>>>> all this crap again. I swore I would not be editing this file
>>>> but I'll give you a flavour of this anyway. This may also require
>>>> some systemd activity. Normally systemd would be smbd or nobd or
>>>> something. I don't know where "wins" comes from.
>>>>
>>>> workgroup = WORKGROUP   # /etc/samba/smb.conf
>>>> server min protocol = NT1
>>>> server max protocol = smb3
>>>> client min protocol = NT1
>>>> client max protocol = smb3
>>>> ntlm auth = yes
>>>>
>>>> wins support = yes        \
>>>> local master = yes         \
>>>> preferred master = yes     /
>>>>
>>>> You may have to mess with that material, in the case of
>>>> Win98 comms or WinXP comms, and wishing the Network Neighbourhood to 
>>>> work.
>>>>
>>>> *******
>>>>
>>>> Final config
>>>>
>>>>     [Picture]
>>>>
>>>>      https://i.postimg.cc/8CRh5hSX/LM221-M-Linux-SAMBA-share.gif
>>>>
>>> That's all a tad technical for me, but I'll work my way through it. 
>>> I've already installed synaptic and samba (why they are not included 
>>> in the Mint installer beats me) - I'll add the other and work from 
>>> there.
>>>
>>> Thanks for the message.
>>
>> Yeah Paul can be a bit intimidating :-)
>>
>> BTW if I go to a folder > right click > select "sharing options" it
>> pretty much shows all there is to it.
>>
> 
> My problem was that there was no "share" tab there at all. However, 
> after I installed "wsdd" as in Paul's note, the "share" tab magically 
> appeared and the process was, as you said, simple.
> 
> I /really/ cannot understand why an otherwise excellent  distro as Mint 
> no longer includes such basic requirements - they used to be there. I've 
> had to add quite a few things since I installed Mint - which, since I 
> have forgotten most of what I knew about Linux, was not easy. I imagine 
> that, like Windows, distros  are being made to look pretty and be easy 
> to install, but have all useful functions "below the hood" removed.

It probably depends on the Mint version, the DE and file browser with 
the plugins.
I just installed 22.1 Cinnamon and it was there OOTB.

Zillion incompatible Linux flavors with each a dozen incompatible DE's 
anyone :-)



> 

Back to alt.os.linux.mint | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-22 17:44 +0000
  Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-22 17:29 -0500
    Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 09:33 +0000
      Re: Sharing Folders Edmund <nomail@hotmail.com> - 2025-01-23 11:19 +0100
        Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 10:41 +0000
          Re: Sharing Folders Edmund <nomail@hotmail.com> - 2025-01-23 12:49 +0100
      Re: Sharing Folders "Alan K." <alan@invalid.com> - 2025-01-23 07:27 -0500
        Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 13:50 +0000
          Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-23 09:20 -0500
            Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 14:59 +0000
      Re: Sharing Folders Gordon <Gordon@leaf.net.nz> - 2025-01-24 02:39 +0000
        Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-24 00:46 -0500

csiph-web