Ticket #1134 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Wrong permissions on intermediary directories leading to a file

Reported by: Owned by: desai
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-client Version: 1.0
Keywords: umask Cc:


Seen on bcfg2-1.3.0pre[12]:

If a <Path/> entry defines a file in a directory path that does not exist yet, bcfg2 creates the directory path leading to the file, but with inadequate permissions. For instance, for: <Path name="/foo/bar/baz"/> directories /foo and /foo/bar will be created with owner:permissions root:root:0644. On some systems I've seen directories created with permissions 0744 which makes me think this may be related to umask inheritance.

This is similar, but not quite the same, as ticket 1125


Change History

comment:1 Changed 11 years ago by

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.