Thomas Haupt
|
Re: RE: how to run a prebuilt app on QNX?
|
Thomas Haupt
03/05/2018 8:47 AM
post118649
|
Re: RE: how to run a prebuilt app on QNX?
Also, if you want to avoid all files being executable, there is
exe=system
— use the DOS “system” attribute to indicate which files are executable.
|
|
|
Roger Maclean
|
Re: how to run a prebuilt app on QNX?
|
Roger Maclean
03/05/2018 10:01 AM
post118650
|
Re: how to run a prebuilt app on QNX?
Execute bits don’t really affect security at all, at best they prevent you from accidently executing things that likely
won’t execute anyway. In this case there likely is no security but that’s a function of having an unverifiable file
system.
On 2018-03-05, 8:15 AM, "Elad Lahav" <community-noreply@qnx.com> wrote:
Needless to say (but I'll say it), both of these options are highly insecure, essentially making the execute bit
useless (as it gets applied to all files on the medium).
If you don't have a disk with a file system that provides proper permissions (and user/group ownership) you can
always copy the executable to /dev/shmem and run it from there.
--Elad
________________________________________
From: Dennis Kellly [community-noreply@qnx.com]
Sent: March 5, 2018 8:16 AM
To: ostech-core_os
Subject: Re: how to run a prebuilt app on QNX?
An alternate way is to put "dos exe=all" on the startup line of the devb-* resource manager. For example,
# devb-eide dos exe=all qnx6 sync=optional cam quiet
BSP's seem to favor this approach - perhaps because it works with "automount". But both ways work.
|
|
|