netbrain / zwift

Easily zwift on linux
The Unlicense
286 stars 32 forks source link

Make install script work with restrictive umask #174

Closed stpierre closed 2 weeks ago

stpierre commented 2 weeks ago

If a user has set umask 077 or other umasks more restrictive than 022 (the default on many distros), the install script will not work because it only enables the execute bit on /usr/local/bin/zwift for users for whom the file is already readable. This makes it set all permissions, rather than modifying the existing permissions, to 0755 (read/write/execute for root, read/execute for others).