Modify ↓
Ticket #248 (new task)
Opened 3 years ago
museekd ignores umask, creates directories without group write permission
| Reported by: | anonymous | Owned by: | lbponey |
|---|---|---|---|
| Priority: | major | Milestone: | Release 0.3 |
| Component: | museek_general | Version: | 0.2 |
| Keywords: | Cc: |
Description
I set my umask to 002 specifically so museekd would create files and directories with group write permission. (I need this for read/write access from remote machines via samba.) Sadly, museekd overrides my umask and creates directories without group write permission, as if my umask was 022. This forces me to manually log in to the machine running museekd, find the directories in question, and run chmod on each of them to correct the permissions.
I'm attaching a patch to fix this problem.
Attachments
Change History
Changed 3 years ago by anonymous
- Attachment 001-fix_mkdir_permissions.dpatch added
Note: See
TracTickets for help on using
tickets.

fix mkdir() permissions, respect umask