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
I have a use case for this where a file resides in a directory without executable permission, so I can't include it in the squashfs. But I have a symlink to a specific file in that directory, and I want to copy the contents of that link.
From reading the code, it seems like replacing lstat() with (dereference ? stat : lstat)() in a few places would implement this behavior.
The text was updated successfully, but these errors were encountered:
Newer versions of GNU tar has an option for dereferencing symlinks, --dereference
https://www.gnu.org/software/tar/manual/html_node/dereference.html
I have a use case for this where a file resides in a directory without executable permission, so I can't include it in the squashfs. But I have a symlink to a specific file in that directory, and I want to copy the contents of that link.
From reading the code, it seems like replacing lstat() with (dereference ? stat : lstat)() in a few places would implement this behavior.
The text was updated successfully, but these errors were encountered: