QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Differences between open() and sopen() |
Ref. No. |
QNX.000004555 |
Category(ies) |
Development |
Issue |
I am creating a file, but can't seem to set the access parameters in the same way.
|
Solution |
open() and sopen() won't allow write permissions on the group "other". The work around is to call fchmod() after creating the file to modify the permissions. The umask is set by default to 002, change it to 000 so that you can set write permission for group "other". |
|