call to open(path, O_CREAT|O_EXCL|O_RDWR, 0444) should open file as read-write although file is created as read-only on filesystem.
call to open(path, O_CREAT|O_EXCL|O_RDWR, 0444) should open file as read-write although file is created as read-only on filesystem.