Modify

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: https://www.google.com/accounts/o8/id?id=AItOawlmQQXfSG8MiJbq8L5pwwSZpPJqtMfKtG8 Owned by: desai
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-client Version: 1.0
Keywords: umask Cc:

Description

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

Attachments

Change History

comment:1 Changed 11 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

  • 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.