Ticket #1150 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago ignores perms variable

Reported by: Owned by: desai
Priority: major Milestone: Bcfg2 1.3.2 Release (Bugfix)
Component: bcfg2-server Version: 1.0
Keywords: Cc:


If I run in a v1.2 bcfg2 repository the script keeps the owner and group info in the new info.xml files but ignores perms attribute. I think it should keep the perms attribute too.


Change History

comment:1 Changed 10 years ago by

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

It looks like must be run *after* preserves the 'mode' attribute, but not 'perms', since 'perms' is no longer supported by Bcfg2 1.3.

comment:2 Changed 10 years ago by

  • Status changed from closed to reopened
  • Resolution invalid deleted

You can't use in a 1.2 repo because info files aren't XML.

I think that INFO_REGEX should include the following re at least in the script:


That way the script will keep the perms attribute and then you can use to convert perms to mode.

comment:3 Changed 10 years ago by

  • Status changed from reopened 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.