symlink follows symlinks
Bug #1895914 reported by
Paul Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
If symlink is used to create a symlink that already exists and points to a directory, it will follow the symlink and create a new symlink in the target directory instead of replacing the existing symlink. This is probably not what is wanted. Changing the function to use ln's `-n` flag would fix this.
Related branches
~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:symlink-following
- Haw Loeung: Approve (+1)
- Canonical IS Reviewers: Pending requested
-
Diff: 68 lines (+26/-3)1 file modifiedhooks/hooks.py (+26/-3)
To post a comment you must log in.