Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2
-
-
3cdf46059a668f588fe237aa881c300dd76cbf9e (qt/qtbase/5.12) 448177d857963a8d3ab1db8d1bc8332d552e6bed (qt/qtbase/dev)
Description
Since 5.9, qmake is used to install files. It preserves the permissions set for a file. However, older releases used install command that explicitly set permissions to 755 for executables and 644 for other files.
Result now is that the user has to configure umask properly to make sure the permissions of files produced by the compiler make sense.
In makefiles from older qmake:
INSTALL_FILE = install -m 644 -p INSTALL_PROGRAM = install -m 755 -p
Attachments
For Gerrit Dashboard: QTBUG-74733 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
257225,2 | Let "qmake -install qinstall" set default permissions 0644 and 0755 | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
258140,3 | Let "qmake -install qinstall" set default permissions 0644 and 0755 | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |