eCheck if it's safe to move a directory and replace it with a symlink
1
vote
0
answers
50
views
Say the directory you want to move has absolute path
DIR
. A case where it is NOT safe: that directory has either
- absolute path symlinks to within DIR
itself. For instance DIR/link
-> /PATH/TO/DIR/file
. EDIT: as pointed out in a comment below, this should still be safe.
- relative path symlinks to outside DIR
. For instance DIR/link
-> ../../other_dir/file
.
Is there a tool that checks whether it's safe to move a directory and replace it with a symlink?
Asked by extremeaxe5
(1203 rep)
Jun 9, 2023, 02:42 PM
Last activity: Jun 9, 2023, 08:17 PM
Last activity: Jun 9, 2023, 08:17 PM