I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server.
Here is our setup:
- Linux server exporting some directories via smb to clients
- Many windows clients accessing the shared directories
- Some linux clients accessing the shares
We've got some shell scripts on the shares that have the executable permission bit set on the linux server. We ssh into it and can execute them without problems.
Thanks to samba's map options, we can export the unix executable bits as archive, system and hidden permissions via the smb protocol, which works.
Now to close the loop, I need to find a way to map those archive, system and hidden bits back to the ugo
executable bits on my linux clients. I didn't find a setting for that in the mount.cifs
man page, but maybe it's possible somehow else?
Simply switching to NFS is something I'd like to avoid, because we have many windows clients that also use the shares. Administrating NFS would be additional work.