[mythtv-commits] Ticket #9112: [PATCH] mythmusic directory permissions
MythTV
mythtv at cvs.mythtv.org
Mon Oct 18 14:48:08 UTC 2010
#9112: [PATCH] mythmusic directory permissions
--------------------------------------+-------------------------------------
Reporter: lvr@… | Owner: paulh
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythMusic | Version: Trunk Head
Severity: low | Keywords: directory permissions
Ticket locked: 0 |
--------------------------------------+-------------------------------------
When mythmusic creates the sub-directories of the path for a new music
file then umask is set to 022 - clearing the 'group write' and 'other
write' bits. This can create problems when the base directory is on a
mounted share and the creator is not the owner of the share but has write
permission by means of group membership; for instance when the directory
is shared over NFS or Samba and the permissions are drwsrwsr-t, i.e. a
'drop box'. In this case when the file is created the missing group write
permission on the containing directory causes the open to fail.
The attached patch changes umask to 002, permitting 'group write' in the
created directories.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/9112>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list