use multiuser friendly rights mode when creating files
Open
- Dominant language
- PHP
- Stars
- 308
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
add umask($group_friendly_umask) when creating \Badoo\SoftMocks::$lock_file_path during touch() and fopen()
probably can use 0 as in \Badoo\SoftMocks::doRewrite()
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading Badoo\SoftMocks::touch() and the fopen() path that creates Badoo\SoftMocks::$lock_file_path, then compare their file-mode handling with Badoo\SoftMocks::doRewrite(). The work is done when lock-file creation uses the group-friendly umask consistently in both creation paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100