Modify

Ticket #1110 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Remove symlink to dir failed

Reported by: Josef Prazak <j.prazak@…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.2.3 Release (Bugfix)
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

Creation symlink is OK, but if i need remove symlink it fails with "Failed to remove directory".

POSIX.py, Installnonexistent funcion, (761): may be better use function os.lstat() instead of os.path.isdir

Example configuration: <Group name='link'>

<BoundPath? name='/opt/sge' type='symlink' owner='root' group='root' perms='0755' to='/hpc/foo/bin'/>

</Group> <Group name='nolink' negate='true'>

<BoundPath? name='/opt/sge' type='nonexistent'/>

</Group>

Attachments

Change History

comment:1 Changed 10 years ago by solj

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