Hi to all file system professionals at QSSL,
why is it possible to modify a READ-ONLY file with vi, ped or nedit
when PHOTON is running ???
Is that bug the reason why read-only files of the pkg file system
can get corrupted ??
The system behaves correctly if I try to modify the same file from
the QNX6 text console !!!
Looking forward for an answer …
Armin
Just to make it clear: the read-only file isn’t part of package …
it is /root/.xinitrc
Armin
Armin Steinhoff wrote:
Hi to all file system professionals at QSSL,
why is it possible to modify a READ-ONLY file with vi, ped or nedit
when PHOTON is running ???
Is that bug the reason why read-only files of the pkg file system
can get corrupted ??
The system behaves correctly if I try to modify the same file from
the QNX6 text console !!!
Looking forward for an answer …
Armin
Just tried that, works as expected for me.
One question, do you login first and then start photon or do you start photon at bootup and use
photon to log in. (I login first from the console then start photon)
Armin Steinhoff <a-steinhoff@web._de> wrote:
Just to make it clear: the read-only file isn’t part of package …
it is /root/.xinitrc
Armin
Armin Steinhoff wrote:
Hi to all file system professionals at QSSL,
why is it possible to modify a READ-ONLY file with vi, ped or nedit
when PHOTON is running ???
Is that bug the reason why read-only files of the pkg file system
can get corrupted ??
The system behaves correctly if I try to modify the same file from
the QNX6 text console !!!
Looking forward for an answer …
Armin
David Rempel wrote:
Just tried that, works as expected for me.
One question, do you login first and then start photon or do you start photon at bootup and use
photon to log in.
I used photon to login, then I terminated the photon session and
logged in at the text console.
Then I tried to modify .xinitrc with vi → at writing back of the
modifications I got the message about the read-only status of that
file … but .xinitrc was always writeable under photon!
I’ve checked the permissions of .xinitrc … it was really
read-only.
Armin
(I login first from the console then start photon)
Armin Steinhoff <a-steinhoff@web._de> wrote:
Just to make it clear: the read-only file isn’t part of package …
it is /root/.xinitrc
Armin
Armin Steinhoff wrote:
Hi to all file system professionals at QSSL,
why is it possible to modify a READ-ONLY file with vi, ped or nedit
when PHOTON is running ???
Is that bug the reason why read-only files of the pkg file system
can get corrupted ??
The system behaves correctly if I try to modify the same file from
the QNX6 text console !!!
Looking forward for an answer …
Armin