Please see my screenshot below.
User chj executes chmod +x ichsize.out, but fails with Operation not permitted.
ichszie.out has world-rw permission enabled, but it looks not enough.
-rw-rw-rw- 1 nobody nogroup 27272 May 26 18:51 ichsize.out
The owner of ichsize.out is nobody, because that file is created by the Samba server, serving a [projects] directory location like this:
[projects]
comment = VS2019 Linux-dev project output
path = /home/chj2/projects
browseable = yes
read only = no
guest ok = yes
create mask = 0666 #(everybody: read+write)
directory mask = 0777 #(everybody: list+modify+traverse)
hide dot files = no
The Samba client accessed this share with guest identity, and requested creating the ichsize.out file.
The system is Raspberry Pi based on Debian version: 11 (bullseye). Ubuntu 20.04 exhibits the same.
So I'd like to know, how can I write my smb.conf so that any user on the RasPi can do chmod +x on that file.
