Modify

Ticket #627 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Permissions Entries have no effect for ConfigFiles

Reported by: Martin <schwier@…> Owned by: desai
Priority: minor Milestone: POSIX unification
Component: bcfg2-client Version:
Keywords: Cc:

Description

I noticed that when I use the Permissions tag of the Rules generator to specify filepermissions of configuration files that have also been specifed by the ConfigFile? tag, the values of the Permissons Tag have no effect:

When the bcfg2 client runs it first changes the permission to the specified value. Just after that it changes it again to the default value 0644 or whatever is set in the info or info.xml file.

Is this behavior intended or is it a bug?

Attachments

Change History

comment:1 Changed 12 years ago by solj

  • Milestone changed from Bcfg2 0.9.6 Release to Bcfg2 1.0 Release

comment:2 Changed 11 years ago by solj

  • Milestone changed from Bcfg2 1.0 Release to POSIX unification

comment:3 Changed 11 years ago by solj

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

This behavior is intended. ConfigFile? permissions are set via :info/info/info.xml files. Permissions entries are intended to 'not care' about file contents, only permissions. With the changes in trunk, you should now be forced into using only one or the other (via Path entries). If both are specified, you will receive an error stating that the path is served using multiple generators.

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.