Jump to content

Hello everyone,

I set up a Linux Server (Ubuntu Server as OS) a few days ago and share files through my local network via samba. However, when I chnage folder permissions recursiveley, every user has acces to the files and can write to them, but as soon as a new folder is being created, only the owner of that specific folder has access to it. As soon as I change permissions again (to everyone in that group) they all have acces again. Since I (we) want to create new folders on a daily basis, it would be very inconvenient to always have to change permissions on the server, rather than everyone in the group having acces to the files naturally. Is there any way that can be achieved?

 UPDATE:

Folders can be read but nor written to (even the owner can´r write to folders now)

Share Config is:

[DLC]

   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

   force directory security mode = 0777

 

From what I know, now every user should be able to pretty much whatever he wants

BTW I am using the users from the linux system itself maybe that could be the problem?

Quote or tag me( @SEAL62 ) if you want me to see your reply

consider a reaction if I was funny, informative, helpful, or agreeable

 

OS: Windows 10 Pro

CPU: Intel i9-9900K GPU: Aorus GeForce RTX 3080 Master Motherboard: Gigabyte Z390 Aorus Master
AIO: Corsair H150i RGB Platinum RAM: Corsair Vengeance RGB Pro 32GB 3000MHz Case: Corsair iCUE 465X RGB PSU: Corsair RM750x White

 

OS: Kali Linux

HP Envy x360 Convertible

CPU: Intel i5-10210U GPU: NVIDIA GeForce MX250 RAM: 16 GB DDR4 2666 SSD: 512GB PCIe

Link to comment
https://linustechtips.com/topic/1244816-samba-fileshare-doent-work-ubuntu-server/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×