Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions are wrong on some scripts #6910

Closed
viniciusferrao opened this issue Mar 3, 2021 · 1 comment
Closed

Permissions are wrong on some scripts #6910

viniciusferrao opened this issue Mar 3, 2021 · 1 comment
Milestone

Comments

@viniciusferrao
Copy link
Member

viniciusferrao commented Mar 3, 2021

There are some scripts where the permissions are wrong, generating some warnings during compilation:

/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
*** WARNING: ./opt/xcat/share/xcat/install/scripts/post.ubuntu is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/scripts/post.xcat is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/scripts/pre.pkvm3 is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/scripts/pre.rh.rhels7 is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/windows/enterprise.win7.x86_64.tmpl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/windows/enterprise.win8.x86_64.tmpl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/install/windows/ultimate.win7.x86_64.tmpl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/sles/compute.sles11.ppc64.exlist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/sles/compute.sles11.x86_64.exlist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/sles/compute.sles12.ppc64le.exlist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/sles/compute.sles12.x86_64.exlist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/ubuntu/compute.exlist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/windows/detectefi.cpp is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/windows/getnextserver.cpp is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/netboot/windows/xCAT.psd1 is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/mypostscript/mypostscript.tmpl is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/scripts/createdb.sql is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/scripts/setup-server-cert.sh is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/scripts/setup-xcat-ca.sh is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/scripts/updateDBM.sql is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/tools/powervm/vios.conf is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/scripts/annotatelog.README is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/scripts/configCECs.README is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/scripts/configiba.README is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/scripts/getGuids.README is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/scripts/healthCheck.README is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/ib.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/ib.postinstall is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/ib.sles11.1.x86_64.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/ib.sles11.2.x86_64.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/ib.sles12.ppc64le.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/sles/statelite.csv is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/rh/ib.rhels6.ppc64.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/rh/ib.rhels6.x86_64.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/rh/ib.rhels7.ppc64le.pkglist is executable but has no shebang, removing executable bit
*** WARNING: ./opt/xcat/share/xcat/ib/netboot/rh/ib.rhels7.ppc64.pkglist is executable but has no shebang, removing executable bit

This is just an annoyance because the compile script fixes the issues.

@peterwywong peterwywong added this to the 2.16.3 milestone Jun 24, 2021
@besawn besawn modified the milestones: 2.16.3, 2.16.4 Nov 3, 2021
@gurevichmark gurevichmark modified the milestones: 2.16.4, 2.16.5 Jun 14, 2022
@gurevichmark gurevichmark modified the milestones: 2.16.5, 2.16.6 Mar 3, 2023
@Obihoernchen Obihoernchen modified the milestones: 2.16.6, 2.17 Jan 29, 2024
@Obihoernchen
Copy link
Member

Fixed in #7441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants