setting File attributes in QNX 3.x & QNX 2.x

how to set and check File attributes ?

i need to change a file attribute to an excutable attribute. i’m wrinting a shell script with ed (text editore) but don’t know how to change the attribute of the file thus the operating system can detect that it is an excutable script. ?!

can somebody help me ?!

‘chmod +x’ will make your file executable.

Or for Qnx2:
chattr a=+e

Use a ‘?’ to get command options:
chattr ?