Alex313031 / Mercury

Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat.
https://thorium.rocks/mercury
Mozilla Public License 2.0
1.06k stars 25 forks source link

Make the scripts executable by default #5

Closed duckyondiscord closed 1 year ago

gz83 commented 1 year ago

@duckyondiscord Hello, do you mean the scripts in this repo?

duckyondiscord commented 1 year ago

Yes, I'm not sure if you can do it directly on the github, but you should be able to clone the repo, chmod the script and commit + push the changes. Next time someone clones the repo, they won't need to chmod them.

gz83 commented 1 year ago

Yes, I'm not sure if you can do it directly on the github, but you should be able to clone the repo, chmod the script and commit + push the changes. Next time someone clones the repo, they won't need to chmod them.

@duckyondiscord Under the Linux system, the default permission of the directory is 755, and the default permission of the file is 644, and our script files follow this practice. I personally feel that if you set the script file to 755, there is a chance that it will cause security problems.

duckyondiscord commented 1 year ago

I don't see the security problem with doing something the user would do anyway tbh

gz83 commented 1 year ago

I don't see the security problem with doing something the user would do anyway tbh

@duckyondiscord At present, you can modify the permissions of the file through chmod to make the file runnable