I'm not really sure if I should post this here as it's more of a Samba question than an OpenSUSE question but I'm stuck and don't know what to try next.
I had a fully working home file server running OpenSUSE Leap 15.x which I recently had to reinstall due to (what I think was) a SSD drive failure. It just stopped booting up one day. Rather than invest a lot of time trying to recover I started from scratch by installing Tumbleweed on a new SSD. I've noticed over the past few years there seems to be more packages available for Tumbleweed than for LEAP.
Anyway, I can still access the Samba config file smb.conf on my old OS drive and can see that it is set up identically, which is why I can't figure out why I'm having permissions issues accessing Samba shared folders from other PCs.
The users have all had their samba password set and can authenticate / see their home directory etc so there is no issue there.
Basically what is happening is if I share a folder under /mnt say it can't be accessed even though the permissions for the folder are set to drwxrwxr-x so I should be able to read the contents at minimum.
If I create and share a folder with the same permissions under /tmp however, I can access it just fine *if* I set the ownership of folder to the user who is accessing it. Any other user, even ones in the same group can't access it.
I don't recall having this issue with Samba on my old server.
The permissions of the parent folders (/mnt and /tmp) are both default (drwxr-xr-x owned by root:root).
I'm not clear if something has changed with the way Tumbleweed handles permissions, or it's implementation of Samba but I'm really getting frustrated.
Here is the portion of my smb.conf for the two folders
Quote:
[test2]
writeable = yes
public = yes
path = /tmp/test2
directory mode = 664
create mode = 664
[test3]
writeable = yes
public = yes
path = /mnt/test3
directory mode = 664
create mode = 664
|
Both are empty folders (no drive mounting at that location)
test2 can be accessed (as long as the user accessing it is the owner). test3 cannot be accessed no matter what I do.
Appreciate any feedback.