Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.mint > #43918
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.os.linux.mint |
| Subject | Re: Sharing Folders |
| Date | 2025-01-24 00:46 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <vmv9f8$23ebb$1@dont-email.me> (permalink) |
| References | <lvcp4cFavvpU5@mid.individual.net> <vmrrfn$18692$1@dont-email.me> <lvegmpFnodpU1@mid.individual.net> <lvgcrjF27pmU2@mid.individual.net> |
On Thu, 1/23/2025 9:39 PM, Gordon wrote: > On 2025-01-23, Bob Henson <bob.henson@outlook.com> 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) > > Short answer is that the Mint team think it is not necessary for Mint to > perform to the Mint specifications. > > It is Mint's distro, they can put in what they please. The > respository have the programmes you need so apt install xxxx or crank up > synaptic. Mint does not install samba, nfs-kernel-server, mariadb, or mc. > > Yes it is annoying, but the structure is there. A small bit of customisation > is a small price to pay for Mint. > > - I'll add the other and work from there. But at one time, it did work. Someone went to the trouble of making it work. When you clicked the new "Share" tab, it popped up a dialog saying it was installing two packages, and it did whatever else was needed behind the scenes. I presume at that time, it was using the Linux account password for authentication. Today, I find the smbpassword step is an added detail. ******* And the "we won't install Synaptic when we deliver your OS" thing has been done before. For years on end in fact. Let's examine what the alternative is. I tried out some "Software Installer" thing, which of course is made available instantly for your use, while "synaptic" sits bumped off in the corner. It took *twenty minutes* for some piece of software to install. and the nature of sludge installation replacements, is they have no dialog to show what step they are at, and what the holdup is. I suppose you could resort to "top" and see what is running that way. These experiences do not leave a good impression, whatever the motivation is for providing enervated software installer replacements. New and shiny is not always better. Snap is an example. Paul
Back to alt.os.linux.mint | Previous | Next — Previous in thread | Find similar
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