[Samba] I want to set file/folder permissions to 777, but I can't.
SN
fujisansunnyday at gmail.com
Fri May 27 07:59:24 UTC 2022
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
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).
Is there something wrong with my configuration?
Attached below is the smb.conf.
Please let us know if you notice anything.
Please let us know.
Thank you in advance.
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global].
dos charset = CP932
unix charset = UTF8
security = user
guest ok = yes
wide links = yes
unix extensions = no
guest account = nobody
hide files = /.AppleDB/.AppleDouble/.AppleDesktop/Network Trash
Folder/TheFindByContentFolder/TheVolumeSettingsFolder/Temporary
Items/.TemporaryItems/.VolumeIcon.icns/Icon?/.FBCIndex/.FBCLockFolder/:2eES_Store/.DS_Store/.Trashes/. .Trashes/.
veto files = /lost+found/
delete veto files = yes
oplocks = no
kernel oplocks = no
level2 oplocks = no
ea support = Yes
store dos attributes = Yes
map archive = No
map read only = No
map acl inherit = Yes
workgroup = WINWORKGROUP
server string = A3 SMB Server
interfaces = 127.0.0.1/8 192.168.24.0/24
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = no
pam password change = no
map to guest = Bad User
logon path = \%N\%U\profile
logon home = \%N\%U
usershare max shares = 100
usershare allow guests = yes
[A3-Linux-SMB]
path = /home2/A3-linux-doc/A3-Linux
read only = no
guest only = yes
browseable = yes
writable = yes
printable = no
force create mode = 0777
force directory mode = 0777
ea support = yes
vfs objects = catia fruit streams_xattr recycle
fruit:resource = file
fruit:locking = netatalk
fruit:encoding = native
streams_xattr:prefix = user.
streams_xattr:store_stream_type = no
[A3-MacWin-SMB]
path = /home2/A3-linux-doc/A3-MacWin
read only = no
guest only = yes
browseable = yes
writable = yes
printable = no
force create mode = 0777
force directory mode = 0777
ea support = yes
vfs objects = catia fruit streams_xattr recycle
fruit:resource = file
fruit:locking = netatalk
fruit:encoding = native
streams_xattr:prefix = user.
streams_xattr:store_stream_type = no
More information about the samba
mailing list