Changes between Initial Version and Version 1 of Ticket #12334, comment 6
- Timestamp:
- Mar 5, 2017, 2:18:23 PM (8 years ago)
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.1 I 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.