NethServer Version: NethServer 8 Module: samba->Shared Folders
Hi,
I have a little glitch with samba under ns8. I used to be able to create folders using the shared folder option, but now I get a permission denied error. As I haven’t delved into the backend I’m unsure what would have caused this. I can access the existing share data and create files, write and delete etc but can’t create new shares.
How can I get the correct permissions reset on the master share folder?
/home/samba1/.local/share/containers/storage/volumes/shares/_data
Any help would be appreciated.
As an aside I also noticed that trying to run Set Permissions causes permissions to be set on a share which stops the user being able to edit existing files, but I can create new files which can then be edited, deleted or renamed. The fix is to copy all my 367GB off the share to a local desktop, then copy back into the share which seems strange. I hope it’s not another Debian 12 bug
As far as I’m aware I haven’t touched the permissions on that folder… But as I’ve encountered a couple of glitches with Debian 12 and NS8 (Nextcloud crashing with gateway time out occasionally, webtop mail not running, or linking into mail server correctly when it finally runs. Mail app having open relay when a local network IP is allowed to relay only) and I was wondering if it was a known Debian 12 issue after running updates.
But most importantly how do I reset the permissions back? Do I use a su samba user and set using chown?
OK Now I’m confused how can a share become nogroup and nobody for owner. No wonder I have issues. Any idea how to fix as the runagent command did not work
fixed the issue. I thought it was strange that collabora1:collabora1 was the owner and group of the _data folder. Not sure how that happened but all working now.