Posted on September 5, 2018 6:46 pm
 |  Asked by Nilesh Bhadane
 |  789 views
RESOLVED
0
0
Print Friendly, PDF & Email

I have build RPM file with HelloWorld program. It is getting installed on vEOS, But when I am trying to run with exec /usr/bin/HelloWorld.py then it is giving error file is not executable.

Can you please share SPEC file to create RPM file, steps to create RPM & execute on the vEOS?

0
Posted by Sean Wong
Answered on September 10, 2018 8:07 pm

You need to set file permissions in your spec file and/or operating system.

Please see %attr or %defattr
http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html

Post your Answer

You must be logged in to post an answer.