Changes between Initial Version and Version 1 of Ticket #12334, comment 6


Ignore:
Timestamp:
Mar 5, 2017, 2:18:23 PM (8 years ago)
Author:
vivek-roy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12334, comment 6

    initial v1  
    1 I tried  access(path.Path(), W_OK), but then if I try to write to /boot/system/ it still doesn't complain. I guess this behavior is undesired and so I actually have to check if a directory is writable or not.
     1I tried mode_t perms; entry.GetPermission(&perms); if(perms & S_IWUSR) { } else { } , but then if I try to write to /boot/system/ it still doesn't complain. I guess this behavior is undesired and so I actually have to check if a directory is writable or not.