F5F Stay Refreshed Software Operating Systems Samba fileshare issues on Ubuntu Server The Samba service isn't functioning properly.

Samba fileshare issues on Ubuntu Server The Samba service isn't functioning properly.

Samba fileshare issues on Ubuntu Server The Samba service isn't functioning properly.

A
AlekseyO
Junior Member
1
12-19-2023, 11:42 AM
#1
Hello everyone, I recently installed a Linux Server using Ubuntu as the operating system and set up file sharing through Samba on my local network. When I adjusted folder permissions recursively, all users could access and modify the files. However, when a new folder was created, only its owner had access. Once I changed the permissions again to grant access for everyone in that group, all users could now read and write. Since we plan to create new folders daily, constantly changing permissions on the server would be cumbersome. It seems like there might be a way to simplify this process. UPDATE: Files can now be read but not written to, even for the owner. The Share Config details are as follows: path = /media/user/x/samba/DLC, browseable = yes, guest ok = yes, force group = dlcusers, valid users = @dlcusers, create mask = 0777, directory mask = 0777, force create mode = 0777, force security mode = 0777, force directroy mode = 0777, directory security mode = 0777. From what I understand, this should allow all users to freely access and modify files. It might be related to the Linux system users themselves.
A
AlekseyO
12-19-2023, 11:42 AM #1

Hello everyone, I recently installed a Linux Server using Ubuntu as the operating system and set up file sharing through Samba on my local network. When I adjusted folder permissions recursively, all users could access and modify the files. However, when a new folder was created, only its owner had access. Once I changed the permissions again to grant access for everyone in that group, all users could now read and write. Since we plan to create new folders daily, constantly changing permissions on the server would be cumbersome. It seems like there might be a way to simplify this process. UPDATE: Files can now be read but not written to, even for the owner. The Share Config details are as follows: path = /media/user/x/samba/DLC, browseable = yes, guest ok = yes, force group = dlcusers, valid users = @dlcusers, create mask = 0777, directory mask = 0777, force create mode = 0777, force security mode = 0777, force directroy mode = 0777, directory security mode = 0777. From what I understand, this should allow all users to freely access and modify files. It might be related to the Linux system users themselves.