osbrain
osbrain copied to clipboard
Sticky bit
Should we set it to 1 for Unix socket files? (when using IPC transport)
We should check if those socket files change their access time even when no messages are sent (maybe simply by polling?). If so, there is no problem. A test should be created in this case.
If the access time is not modify, then, what will happen after 6+ hours of inactivity?
Should the sticky bit be set at the .osbrain_ipc directory level or per-socket-file?
Update:
- Did a test, but after days, files/folders have not been deleted (not those with the sticky bit set but neither those with the sticky bit not set).
- Put a bounty on Unix & Linux, but no response yet.
- Sent an email to the freedesktop.org mailing list, but no response yet.
:confused:
Got an answer on Unix & Linux. Due to current implementations of the aging clean-up (non-existent), this is no longer in the priority list, although should be fixed for 1.0.0.
We could still insist on the mailing list in order to get an authoritative answer and/or in order to clarify the ambiguity in the specification.