Modify

Ticket #76 (closed defect: worksforme)

Opened 11 years ago

Last modified 11 years ago

Permissions not checked

Reported by: anonymous Owned by: desai
Priority: major Milestone:
Component: bcfg2-client Version:
Keywords: Cc:

Description

It appears that if nothging else is dirty in the bundle, permissions won't be checked. Let's say I have a bundle with:

<ConfigFile? name='foo.conf'/> <Permissions name='bar'/>

If foo.conf is wrong, bar's permissions will be checked. If foo.conf is clean bar's permissions aren't checked even if they're dirty.

Attachments

Change History

comment:1 Changed 11 years ago by desai

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

I couldn't replicate this, using:

<Configuration toolset='debian'>
  <Bundle name='foo'>
    <ConfigFile name='/tmp/test1' owner='desai' group='desai'
    perms='644'>
foo
    </ConfigFile>
    <Permissions name='/tmp/test2' perms='0600'/>
  </Bundle>
</Configuration>

As the test case (against 0.8.2pre9). I ran the client three times:

  • First, both entries were installed.
  • I chmodded /tmp/test2
  • Second client run fixed perms on /tmp/test2
  • Third run did nothing

Does the base entry exist (for the permissions entry?)

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.