Re: SAMBA Problems

Liste des GroupesRevenir à ol misc 
Sujet : Re: SAMBA Problems
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc
Date : 18. Feb 2025, 10:46:53
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vp1kud$1kr74$4@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 18/02/2025 04:58, c186282 wrote:
Today's need is to mount an external multi-disk
usb drive. Bookworm does NOT seem to automount
those on reboot. DID find a code snippet that
resets the bus, and the external drives mount
at /media/user/xxxx as expected. I'd LIKE to
point SAMBA at those - ez-peazy. However I
could mount the /dev/sdx somewhere else after
boot by direct command, create symlinks or
whatever.
 Oh wow ... this is an actual LINUX question 🙂
1. The entity actually accessing shared drives is the samba daemon that is probably running as root, so linux permissions are not the issue.
2. If the USB drive is 'permanent' give it an entry in /etc/fstab. Using partition UUID to uniquely ID it. This will screw up booting it the drive is unplugged - up to a couple of minutes to time out maybe. dont know.
This is an entry for a permanently USB connected SSD drive partition
PARTUUID=778a9e44-03 /backup ext4    defaults,noatime  0       1
Note that the partition ends up mounted exactly where you want it.
Use lsblk -f  or blkid to determine UUID or PARTUUID on a mounted drive
3. Its a long time since I used SAMBA but Microsoft even then was doing 'clever shit' that you needed to circumvent to get it to work - even with other microsoft shit. By default sharing was turned off.
So I don't have the definitive answer to the permissions problem - just where not to look, and permanently assigning a USB mounted partition to a fixed point in the file system is trivial.
--
    "Fanaticism consists in redoubling your effort when you have forgotten your aim."
  George Santayana

Date Sujet#  Auteur
18 Feb 25 * SAMBA Problems18c186282
18 Feb 25 +* Re: SAMBA Problems10Lawrence D'Oliveiro
18 Feb 25 i`* Re: SAMBA Problems9c186282
18 Feb 25 i +* Re: SAMBA Problems7Lawrence D'Oliveiro
18 Feb 25 i i`* Re: SAMBA Problems6c186282
18 Feb 25 i i +- Re: SAMBA Problems1The Natural Philosopher
19 Feb 25 i i `* Re: SAMBA Problems4Lawrence D'Oliveiro
19 Feb 25 i i  `* Re: SAMBA Problems3c186282
21 Feb 25 i i   `* Re: SAMBA Problems2c186282
24 Feb 25 i i    `- Re: SAMBA Problems1c186282
18 Feb 25 i `- Re: SAMBA Problems1The Natural Philosopher
18 Feb 25 +* Re: SAMBA Problems6D
18 Feb 25 i`* Re: SAMBA Problems5Marc Haber
18 Feb 25 i +* Re: SAMBA Problems3The Natural Philosopher
18 Feb 25 i i+- Re: SAMBA Problems1Marc Haber
19 Feb 25 i i`- Re: SAMBA Problems1Lawrence D'Oliveiro
18 Feb 25 i `- Re: SAMBA Problems1D
18 Feb 25 `- Re: SAMBA Problems1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal