writing in /usr/bin

Is it normal that the root user can’t write in /usr/bin?? I’ve seen this
problem twice (on 2 different installations) on QNX 6.1. Does anybody has an
idea of the cause and a solution?

Thanks,
Julien

Julien Beaudry <julien.beaudry@polymtl.ca> wrote:

Is it normal that the root user can’t write in /usr/bin?? I’ve seen this
problem twice (on 2 different installations) on QNX 6.1. Does anybody has an
idea of the cause and a solution?

I guess the first observation is why do you want to write into /usr/bin,
generally /usr/local/bin is the directory you would be looking for.

Secondly, if you really want to put a file there you will probably have to make
a /usr/bin directory on your primary fs. Neutrino use union file system in
the process manager. The directory /usr/bin is owned by fs-pkg

[thomas@elmo] /home/thomas >pkgctl /usr/bin
— Information from /dev/pkginfo16 —
Localpath: [/usr/bin]
Fullpath: [/pkgs/repository/qnx/os/core-2.1.2-patchA/x86/usr/bin]
Repository: [/pkgs/repository]
Vendor: [qnx/os/core-2.1.2-patchA]
Tree: [x86/usr/bin]

On my machine you would have to make a directory such as

mkdir /proc/mount/0,6,7,12,0/usr/bin

To be able to create a spill area.


regards,
Tom