You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compress a directory containing symlinks, I get an error like:
Unable to stat file <path-to-symlink>
It occurs when the symlink you are trying to compress is not linked because its original resource is not available. Can you add an option on lrzip to manage this case? For example, ignoring broken symlinks or just keep them as "broken" (better solution)?
The text was updated successfully, but these errors were encountered:
D3vil0p3r
changed the title
Unable to stat file error on symlinks
Unable to stat file error on broken symlinks
Mar 17, 2024
When I try to compress a directory containing symlinks, I get an error like:
Unable to stat file <path-to-symlink>
It occurs when the symlink you are trying to compress is not linked because its original resource is not available. Can you add an option on lrzip to manage this case? For example, ignoring broken symlinks or just keep them as "broken" (better solution)?
Not enough information.
Please provide exact command you executed along with output. Seems like you were using lrztar.
Please provide a partial directory listing of what you were trying to compress.
@D3vil0p3r Also, try these commands on the directory in which the broken symlink occurs: tar -cvvf baddir.tar baddir
and then tar -I 'lrzip -vv' -cvvf baddir.tar.lrz baddir
I am wondering if this is a tar error.
When I try to compress a directory containing symlinks, I get an error like:
It occurs when the symlink you are trying to compress is not linked because its original resource is not available. Can you add an option on lrzip to manage this case? For example, ignoring broken symlinks or just keep them as "broken" (better solution)?
The text was updated successfully, but these errors were encountered: