When I extract a ZIP from Windows by default it does not have execute perms. I have to SSH in and chmod or change the perms from within Windows.
What can I do to change this? Thanks
When I extract a ZIP from Windows by default it does not have execute perms. I have to SSH in and chmod or change the perms from within Windows.
What can I do to change this? Thanks
yeah windows zip extract usually lands files without the unix execute bit, and smb just mirrors that. in my experience the clean fix is an ACL/mask on the share so new files get +x if you actually need it.
on SCALE id look at:
create mask = 0775 and directory mask = 0775 (or force create mode = 0111 if you specifically want execute on files)find /mnt/pool/dataset -type f -name '*.sh' -exec chmod +x {} + via a cron/Init script is what a lot of people end up doing instead of forcing +x on every random fileI fixed this (i think!) almost immediately after posting. I set the ACL to full control for my user and it seems to have fixed. I think the create mask was already set but if I have issues in future I will try that.
Thanks!