Ticket #76 (closed defect: worksforme)

Opened 17 years ago

Last modified 16 years ago

Permissions not checked

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


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.


Change History

comment:1 Changed 17 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'
    <Permissions name='/tmp/test2' perms='0600'/>

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.


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.