Modify ↓
Ticket #1110 (closed defect: fixed)
Remove symlink to dir failed
Reported by: | Josef Prazak <[email protected]…> | 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
Note: See
TracTickets for help on using
tickets.
Fixed in d04670f08578d8be2b88d0d736c85361ec81e335.