I am using rhel 7.6. the guest account of samba is default "nobody" user.
my ftp service use "nobody" account. I want a simple samba share with ftp. so both ftp/samba service will use nobody account to read/write files. I create user account for samba. and smb.conf like below:
security = user
guest account = nfsnobody
path = /share/ftp
read only = Yes
force user = nobody
force group = nobody
the ftp folder is owned by nobody with "0700" permission.
I change samba guest account to "nfsnobody" and hope now "nobody" become a normal unix account. but when user login, they can not access the folder with "0700" permission owned by nobody. I need to change the folder to "0755", or "force user = root" to access the folder.