Re: Guest Samba shares
Paul M Foster wrote: > OMG. That's not an email list. It's a newsgroup. I didn't know anyone > used these anymore. I'll have to figure out how to even read/post there. > It's been decades since I had anything to do with newsgroups. > > Anyway, thanks for the tip. I'll check it out. > you are posting here also to a newsgroup. You can get the mails in the mailbox if you wish and answer - it is normal. > [snip] > >> [snip] > > I made various minor changes (like changing the mount to /music) and now > the problem appears to be resolved. As is sometimes the case, the > problem gets solved without you knowing how you solved it. Exactly what I recall that (might be udev) is using it mount under media. Great that it worked.
Re: Guest Samba shares
On Sb, 12 dec 20, 11:39:26, Paul M Foster wrote: > > I changed the mount to /music, owned by root, but with 777 perms. As a > guest, samba won't permit her to write to the directory. The permissions of the underlying directory are irrelevant, except to prevent regular users from writing by mistake to it if for some reason the filesystem to be mounted there is missing. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Guest Samba shares
On Sat, Dec 12, 2020 at 09:15:22AM -0500, Dan Ritter wrote: > Keith Bainbridge wrote: > > On 12/12/20 8:34 am, Paul M Foster wrote: > > For what it's worth, I drafted this last night but couldn't send it - > > kicking self as I knew most of you would be active whilst I was asleep: > > > > This article seems to confirm my thought that macOS supports sshfs: > > > > https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930 > > > > I'm sure it does nfs if you prefer. > > It also does Apple File Protocol, or whatever they're calling it these > days, which is well-supported in Debian with the netatalk > package. This is also the best way of getting a Mac to believe > your server is a Time Machine backup device. > > -dsr- > I think it's called Bonjour on the Mac, and Netatalk on Linux. We used it, but for unknown reasons, it would randomly break her connection with the server. So now I'm trying Samba. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
On Sat, Dec 12, 2020 at 10:45:01AM +1100, Keith Bainbridge wrote: > On 12/12/20 8:34 am, Paul M Foster wrote: > > I made various minor changes (like changing the mount to /music) and now > > the problem appears to be resolved. As is sometimes the case, the > > problem gets solved without you knowing how you solved it. > > > Perhaps the restart of samba? Or do you mean you re-named tthe mount > point on the mac? > > Pleased it's solved. > > > For what it's worth, I drafted this last night but couldn't send it - > kicking self as I knew most of you would be active whilst I was asleep: > > This article seems to confirm my thought that macOS supports sshfs: > > https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930 > > I'm sure it does nfs if you prefer. As far as I know, there is no NFS in sight on the Mac. Dunno about sshfs. > > It's been ages since I used samba, but I recall that users needed a > smbpasswd set. I see you have no passwd, but I'm not sure that cuts it. My wife is connecting as a guest, which makes it easier on her. As she would only be downloading mp3 files to play, she can be a "guest". > > Another suggestion: try mounting the 'music' partition somewhere else on > your Pi, and maybe give it a userid and groupid at fstab. And maybe add > your wife to that group? I changed the mount to /music, owned by root, but with 777 perms. As a guest, samba won't permit her to write to the directory. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
Keith Bainbridge wrote: > On 12/12/20 8:34 am, Paul M Foster wrote: > For what it's worth, I drafted this last night but couldn't send it - > kicking self as I knew most of you would be active whilst I was asleep: > > This article seems to confirm my thought that macOS supports sshfs: > > https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930 > > I'm sure it does nfs if you prefer. It also does Apple File Protocol, or whatever they're calling it these days, which is well-supported in Debian with the netatalk package. This is also the best way of getting a Mac to believe your server is a Time Machine backup device. -dsr-
Re: [OT] Re: Guest Samba shares
On Sat, 12 Dec 2020 09:14:49 +1100 David wrote: > > In case you don't know, the 'pi' user can be renamed to whatever you > want, so that might be an alternative way to reach your goal instead > of creating a separate 'paulf' user. > I didn't know what other undocumented quirks might apply to the pi user, so I deleted it, after setting a root password and making another user, of course. -- Joe
Re: Guest Samba shares
On Vi, 11 dec 20, 17:52:03, Paul M Foster wrote: > > I do use mutt, and have downloaded nn, trn4, tin and slrn to try them > out. I'll pay special attention to slrn. Thanks. Neomutt has built-in NNTP support. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Guest Samba shares
On 12/12/20 8:34 am, Paul M Foster wrote: I made various minor changes (like changing the mount to /music) and now the problem appears to be resolved. As is sometimes the case, the problem gets solved without you knowing how you solved it. Perhaps the restart of samba? Or do you mean you re-named tthe mount point on the mac? Pleased it's solved. For what it's worth, I drafted this last night but couldn't send it - kicking self as I knew most of you would be active whilst I was asleep: This article seems to confirm my thought that macOS supports sshfs: https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930 I'm sure it does nfs if you prefer. It's been ages since I used samba, but I recall that users needed a smbpasswd set. I see you have no passwd, but I'm not sure that cuts it. Another suggestion: try mounting the 'music' partition somewhere else on your Pi, and maybe give it a userid and groupid at fstab. And maybe add your wife to that group? Anyhow, there are lots of other suggestions now, and you have it working, so what the heck. I just finished my morning coffee, it's Saturday and te sun is shining I a clear sky. It can only get better. Ah, I've got only 3 family birthdays between now and Christmas. -- Keith Bainbridge ke1thozgro...@gmx.com
Re: Guest Samba shares
On 12/12/20 5:01 am, Paul M Foster wrote: I have my doubts that there is an active RPi list on which such a question could be answered. But it is, after all, Samba, and you've already seen the smb.conf. Try here: https://discourse.littlebird.com.au/ It is run by our local importer, and the tech people hopped in on 1 query I had. -- Keith Bainbridge ke1thozgro...@gmx.com
Re: Guest Samba shares
On 12/12/20 10:01 am, Keith Bainbridge wrote: On 12/12/20 6:24 am, deloptes wrote: I heard it would work with some 5+ kernel from debian. My experience with the RPi4B was negative, because of the kernel (4.19) in buster. I ended up using the Raspberry Kernel in Debian. My almost stock raspiOS Pi3 & Pi4 both updated the kernel to 5.4 around 3 months ago, maybe earlier. It only really came to notice when our local importer questioned my sanity in trying kernel 5.4 Must say I haven't had success with DebianPiOS. Must try it again if people are saying it is working for them. I meant to say that the non-stock bit is I am using $USER keith. I'm about to set sudo to require root passwd. -- Keith Bainbridge ke1thozgro...@gmx.com
Re: Guest Samba shares
On 12/12/20 6:24 am, deloptes wrote: I heard it would work with some 5+ kernel from debian. My experience with the RPi4B was negative, because of the kernel (4.19) in buster. I ended up using the Raspberry Kernel in Debian. My almost stock raspiOS Pi3 & Pi4 both updated the kernel to 5.4 around 3 months ago, maybe earlier. It only really came to notice when our local importer questioned my sanity in trying kernel 5.4 Must say I haven't had success with DebianPiOS. Must try it again if people are saying it is working for them. -- Keith Bainbridge ke1thozgro...@gmx.com
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 04:52:02PM -0500, Dan Ritter wrote: > Joe wrote: > > On Fri, 11 Dec 2020 16:34:24 -0500 > > Paul M Foster wrote: > > > > > > > > > > OMG. That's not an email list. It's a newsgroup. I didn't know anyone > > > used these anymore. I'll have to figure out how to even read/post > > > there. It's been decades since I had anything to do with newsgroups. > > > > > > > Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you > > probably don't have that handy. > > > > These are the ones I know, there are many others. I'm not trying to > > start a war here. > > If you use mutt, slrn is particularly good. > > If you don't use mutt, maybe you want to use slrn anyway. > > > -dsr- > = grin = I do use mutt, and have downloaded nn, trn4, tin and slrn to try them out. I'll pay special attention to slrn. Thanks. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
[OT] Re: Guest Samba shares
On Fri, 11 Dec 2020 at 23:19, Paul M Foster wrote: > On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote: > > On 11/12/20 1:42 pm, Paul M Foster wrote: > On boot, the system only knows paulf as a user. When it boots and mounts > the drive, it mounts it under the pi user. I don't know what wizardry > they use to accomplish this, but that's how it works. I'm not sure what > wizardry is used to make this happen, but I've now enshrined it in the > fstab file. Again, where the drive mounts is incidental to the original > question. In case you don't know, the 'pi' user can be renamed to whatever you want, so that might be an alternative way to reach your goal instead of creating a separate 'paulf' user. Method I used is here: https://raspberrypi.stackexchange.com/a/14902 I used it successfully a while ago on a RPi 4, first release of its OS. Below are my notes from doing that, I don't recall any other information, I did it a while ago and am unaware of any problems. exec sudo -s (now root) cd / usermod -l david -d /home/david -m pi /lib/systemd/systemd --user kill 480 # looks like the above failed until I killed some process and retried usermod -l david -d /home/david -m pi groupmod -n david pi reboot now cant sudo exec sudo -s prompts for david password and accepts it passwd to change david password, accepted
Re: Guest Samba shares
Joe wrote: > On Fri, 11 Dec 2020 16:34:24 -0500 > Paul M Foster wrote: > > > > > > OMG. That's not an email list. It's a newsgroup. I didn't know anyone > > used these anymore. I'll have to figure out how to even read/post > > there. It's been decades since I had anything to do with newsgroups. > > > > Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you > probably don't have that handy. > > These are the ones I know, there are many others. I'm not trying to > start a war here. If you use mutt, slrn is particularly good. If you don't use mutt, maybe you want to use slrn anyway. -dsr-
Re: Guest Samba shares
On Fri, 11 Dec 2020 16:34:24 -0500 Paul M Foster wrote: > > OMG. That's not an email list. It's a newsgroup. I didn't know anyone > used these anymore. I'll have to figure out how to even read/post > there. It's been decades since I had anything to do with newsgroups. > Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you probably don't have that handy. These are the ones I know, there are many others. I'm not trying to start a war here. -- Joe
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 08:19:00PM +0100, deloptes wrote: > Paul M Foster wrote: > > > On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote: > >> > >> There is too much level of complexity in this issue from what I read > >> already: > >> > >> 1. it is RaspberryPI OS (based on debian but there is also dedicated list > >> where it could be answered more efficiently) > > > > I have my doubts that there is an active RPi list on which such a > > question could be answered. But it is, after all, Samba, and you've > > already seen the smb.conf. > > > > I don't because I am subscribed there - it is hosted on > eternal-september.org. The group is comp.sys.raspberry-pi > It could be also another one somewhere else. I do not guarantee this is the > only one. OMG. That's not an email list. It's a newsgroup. I didn't know anyone used these anymore. I'll have to figure out how to even read/post there. It's been decades since I had anything to do with newsgroups. Anyway, thanks for the tip. I'll check it out. [snip] > > I saw, but you never shared parts from the log file, hence we are looking in > the crystal ball here. > I mentioned I do not know about the guest permissions. I just remember that > there was something regarding mapping unknown users to nobody etc. Who > knows how it works in raspberry - they customize a lot there. > Respectively when I use the Samba as domain controller here it works > perfectly well including directories, printers and permissions. > Unfortunately I can't help with the guest OK. If you share relevant > portions from the log, somebody could come up with something more useful. I made various minor changes (like changing the mount to /music) and now the problem appears to be resolved. As is sometimes the case, the problem gets solved without you knowing how you solved it. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
Andrew M.A. Cater wrote: > It is perfectly feasible to run your Raspberry Pi on (relatively) stock > Debian - https://wiki.debian.org/RaspberryPi with a bit of luck. I heard it would work with some 5+ kernel from debian. My experience with the RPi4B was negative, because of the kernel (4.19) in buster. I ended up using the Raspberry Kernel in Debian.
Re: Guest Samba shares
Paul M Foster wrote: > On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote: >> >> There is too much level of complexity in this issue from what I read >> already: >> >> 1. it is RaspberryPI OS (based on debian but there is also dedicated list >> where it could be answered more efficiently) > > I have my doubts that there is an active RPi list on which such a > question could be answered. But it is, after all, Samba, and you've > already seen the smb.conf. > I don't because I am subscribed there - it is hosted on eternal-september.org. The group is comp.sys.raspberry-pi It could be also another one somewhere else. I do not guarantee this is the only one. >> 2. The actual user plugging the external disk is paulf but disk mounts as >> default user pi > > Not true. The disk mounts automatically on startup. I don't manually > mount this disk. What happens if you unmount, unplug and plug again + restart samba > >> 3. Who knows how is exactly samba pre-configured > > I already posted the smb.conf file. I saw, but you never shared parts from the log file, hence we are looking in the crystal ball here. I mentioned I do not know about the guest permissions. I just remember that there was something regarding mapping unknown users to nobody etc. Who knows how it works in raspberry - they customize a lot there. Respectively when I use the Samba as domain controller here it works perfectly well including directories, printers and permissions. Unfortunately I can't help with the guest OK. If you share relevant portions from the log, somebody could come up with something more useful.
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote: > > There is too much level of complexity in this issue from what I read > already: > > 1. it is RaspberryPI OS (based on debian but there is also dedicated list > where it could be answered more efficiently) I have my doubts that there is an active RPi list on which such a question could be answered. But it is, after all, Samba, and you've already seen the smb.conf. > 2. The actual user plugging the external disk is paulf but disk mounts as > default user pi Not true. The disk mounts automatically on startup. I don't manually mount this disk. > 3. Who knows how is exactly samba pre-configured I already posted the smb.conf file. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote: > Andrei POPESCU wrote: > > > Ok, what about permissions for the /media and /media/pi directories? > > > > > > This is likely my last attempt to help with your troubleshooting as I > > have only limited and less than recent experience with Samba. > > +1 > > and also is important to know what the exact issue is, which would be > visible in the smb log. > > >From what I remember there was the @nobody group that would be used to > access something granted guest permissions. > > There is too much level of complexity in this issue from what I read > already: > > 1. it is RaspberryPI OS (based on debian but there is also dedicated list > where it could be answered more efficiently) It is perfectly feasible to run your Raspberry Pi on (relatively) stock Debian - https://wiki.debian.org/RaspberryPi with a bit of luck. Check the groups for user pi. Check the groups for paulf. If you make the groups the same, what error results? Part of this at least is perhaps, because Raspberry Pi OS is set up to anticipate a pi user - hence the suggestion to try Debian Andy C > 2. The actual user plugging the external disk is paulf but disk mounts as > default user pi > 3. Who knows how is exactly samba pre-configured > > Last but not least I was thinking of simply restarting samba server after > plugging in - this way whatever is there should become visible. > > >
Re: Guest Samba shares
Andrei POPESCU wrote: > Ok, what about permissions for the /media and /media/pi directories? > > > This is likely my last attempt to help with your troubleshooting as I > have only limited and less than recent experience with Samba. +1 and also is important to know what the exact issue is, which would be visible in the smb log. >From what I remember there was the @nobody group that would be used to access something granted guest permissions. There is too much level of complexity in this issue from what I read already: 1. it is RaspberryPI OS (based on debian but there is also dedicated list where it could be answered more efficiently) 2. The actual user plugging the external disk is paulf but disk mounts as default user pi 3. Who knows how is exactly samba pre-configured Last but not least I was thinking of simply restarting samba server after plugging in - this way whatever is there should become visible.
Re: Guest Samba shares
On Vi, 11 dec 20, 07:23:16, Paul M Foster wrote: > On Fri, Dec 11, 2020 at 11:11:57AM +0200, Andrei POPESCU wrote: > > > On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote: > > > On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote: > > > > > > For various reasons, I've set the perms on this mount as 777. > > > > Please show the output of 'mount' and 'ls -ld' for /media/pi/music > > mount: > /dev/sda1 on /media/pi/music type ext4 > (rw,noatime,errors=remount-ro,stripe=8191) > > (not sure what the "stripe=8191" is all about; I didn't specify that) See ext4(5). This could mean that your fstab entry (that you mentioned in other messages) is ignored and the partition is mounted by some other means (e.g. a Raspbian specific boot script). These kind of unknowns are exactly the reason why subscribers of debian-user will be reluctant to even try to help with anything else but a pristine Debian system. > ls -ld: > drwxrwxrwx 3 pi users 4096 Dec 10 16:45 /media/pi/music Ok, what about permissions for the /media and /media/pi directories? This is likely my last attempt to help with your troubleshooting as I have only limited and less than recent experience with Samba. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 11:11:57AM +0200, Andrei POPESCU wrote: > On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote: > > On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote: > > > > For various reasons, I've set the perms on this mount as 777. > > Please show the output of 'mount' and 'ls -ld' for /media/pi/music > > Kind regards, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser mount: /dev/sda1 on /media/pi/music type ext4 (rw,noatime,errors=remount-ro,stripe=8191) (not sure what the "stripe=8191" is all about; I didn't specify that) ls -ld: drwxrwxrwx 3 pi users 4096 Dec 10 16:45 /media/pi/music Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote: > On 11/12/20 1:42 pm, Paul M Foster wrote: > > For various reasons, I've set the perms on this mount as 777. Anything > > on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I > > couldn't see a reason to change it, if I set the permissions > > appropriately. > > G'day Paul > > pi being the default user under raspbian/raspOS. At least with the > recent installer, you are required to give pi a password. It used be > that there was a default password, and you had to know to change that > yourself. > > My 2c worth: as you have already set up a personal user, disable auto > log-in to user pi and make sure user pi has a strong password. Having > user pi available is likely the prime target of any attack, simply > because it used have a default. > > > Once you start logging in as paul, you'll find that automount USB item > go to /media/paul. > > Keith Bainbridge > On boot, the system only knows paulf as a user. When it boots and mounts the drive, it mounts it under the pi user. I don't know what wizardry they use to accomplish this, but that's how it works. I'm not sure what wizardry is used to make this happen, but I've now enshrined it in the fstab file. Again, where the drive mounts is incidental to the original question. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
On Jo, 10 dec 20, 21:42:49, Paul M Foster wrote: > On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote: > > For various reasons, I've set the perms on this mount as 777. Please show the output of 'mount' and 'ls -ld' for /media/pi/music Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Guest Samba shares
On 11/12/20 1:42 pm, Paul M Foster wrote: For various reasons, I've set the perms on this mount as 777. Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I couldn't see a reason to change it, if I set the permissions appropriately. G'day Paul pi being the default user under raspbian/raspOS. At least with the recent installer, you are required to give pi a password. It used be that there was a default password, and you had to know to change that yourself. My 2c worth: as you have already set up a personal user, disable auto log-in to user pi and make sure user pi has a strong password. Having user pi available is likely the prime target of any attack, simply because it used have a default. Once you start logging in as paul, you'll find that automount USB item go to /media/paul. -- Keith Bainbridge ke1thozgro...@gmx.com
Re: Guest Samba shares
On 12/11/2020 5:47 AM, Paul M Foster wrote: On Thu, Dec 10, 2020 at 10:09:20PM -0500, Stefan Monnier wrote: Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I'm pretty sure that it's not the case. It's a matter of the OS you run on your Pi, not the fact that it's a Raspberry Pi. IIUC what you're saying is that you're not running plain Debian but some other OS and that OS uses /media/pi by default mount things. It's important to clarify those details here, because this is a Debian mailing-list, so readers like me generally presume that you're using Debian and not some other (presumably Debian-derivative) OS. Stefan Oops. I sent the reply without the reply. Sorry. The Raspberry Pi (the server in this case) runs a variant of Debian, Raspberry Pi OS. Where the disc mounts is an incidental detail. Samba, whether on Fedora, Arch or Debian, is configured more or less the same way. Since I've been running Debian alone for the last 20 years, this seemed to be the best place to ask the question. For Samba question I would probably ask on the Samba mailing list! :) -- John Doe
Re: Guest Samba shares
On Thu, Dec 10, 2020 at 10:09:20PM -0500, Stefan Monnier wrote: > > Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy > > by default. > > I'm pretty sure that it's not the case. It's a matter of the OS you run > on your Pi, not the fact that it's a Raspberry Pi. > > IIUC what you're saying is that you're not running plain Debian but some > other OS and that OS uses /media/pi by default mount things. > > It's important to clarify those details here, because this is a Debian > mailing-list, so readers like me generally presume that you're using > Debian and not some other (presumably Debian-derivative) OS. > > > Stefan > Oops. I sent the reply without the reply. Sorry. The Raspberry Pi (the server in this case) runs a variant of Debian, Raspberry Pi OS. Where the disc mounts is an incidental detail. Samba, whether on Fedora, Arch or Debian, is configured more or less the same way. Since I've been running Debian alone for the last 20 years, this seemed to be the best place to ask the question. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
On Thu, Dec 10, 2020 at 10:09:20PM -0500, Stefan Monnier wrote: > > Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy > > by default. > > I'm pretty sure that it's not the case. It's a matter of the OS you run > on your Pi, not the fact that it's a Raspberry Pi. > > IIUC what you're saying is that you're not running plain Debian but some > other OS and that OS uses /media/pi by default mount things. > > It's important to clarify those details here, because this is a Debian > mailing-list, so readers like me generally presume that you're using > Debian and not some other (presumably Debian-derivative) OS. > > > Stefan > -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
> Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy > by default. I'm pretty sure that it's not the case. It's a matter of the OS you run on your Pi, not the fact that it's a Raspberry Pi. IIUC what you're saying is that you're not running plain Debian but some other OS and that OS uses /media/pi by default mount things. It's important to clarify those details here, because this is a Debian mailing-list, so readers like me generally presume that you're using Debian and not some other (presumably Debian-derivative) OS. Stefan
Re: Guest Samba shares
On Fri, Dec 11, 2020 at 01:25:56AM +0100, deloptes wrote: > Paul M Foster wrote: > > > Any idea why contents are not showing up, and what can be done to remedy > > this? > > could be permissions on /media/pi/music ? > > I use it here as domain controller - only dedicated users - not sure about > the guest settings, but the mount point is strange. Somewhere it > said /media is for the system to mount devices. Looks like your user 'pi' > owns the stuff. It could be I am wrong. > > Usually you debug in the smb log files. You better look inside and post > here. > For various reasons, I've set the perms on this mount as 777. Anything on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I couldn't see a reason to change it, if I set the permissions appropriately. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Re: Guest Samba shares
Paul M Foster wrote: > Any idea why contents are not showing up, and what can be done to remedy > this? could be permissions on /media/pi/music ? I use it here as domain controller - only dedicated users - not sure about the guest settings, but the mount point is strange. Somewhere it said /media is for the system to mount devices. Looks like your user 'pi' owns the stuff. It could be I am wrong. Usually you debug in the smb log files. You better look inside and post here.