[Samba] I want to set file/folder permissions to 777, but I can't.

Rowland Penny rpenny at samba.org
Fri May 27 09:08:48 UTC 2022


On Fri, 2022-05-27 at 16:59 +0900, SN via samba wrote:
> Nice to meet you.
> My name is Naka.
> 
> This is my first time to participate.
> 
> I look forward to working with you.
> 
> Now, I'd like to ask
> 
> I'm using RockyLinux 8.6, and I've found
> baseos repositories.
> Samba Version 4.15.5
> in the baseos repository on RockyLinux8.6.
> 
> In addition, we have also added the
> in the epel-testing repository.
> netatalk-3.1.13-3
> also used, and
> Windows 10 and MacOSX 10.9.5 can see the same volume.
> 
> 
> My question is.
> From MacOSX10.9.5, can I create folders and files via
> When I create a folder or file via Samba
> I get the following access rights
> 
> drwxr-xr-x+ 2 nobody nobody 4096 May 27 11:17 test
> -rw-r--r--+ 1 nobody nobody 4 May 27 11:18 test.txt

Try 'getfacl' to read the permissions.

> 
> 
> By the way
> For your information, in a guest connection, the
> I think I have set the access rights to be 777.
> 
> Originally, I would have set
> drwxrwxrwx (folder)
> -rwxrwxrwx (file)
> I think it should be -rwxrwxrwxrwx (folder).

No, the 'd' states that it is a directory and the 'rwx' set on on
user/group/others means that it is a wide open directory.

> 
> Is there something wrong with my configuration?

Yes and no, you have a few defaults set and a couple I see no point to
(the 'logon' ones), but nothing really wrong, I suggest you run
'testparm -s'.

Rowland





More information about the samba mailing list