Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpio: Do not follow symlinks in 'touch' #490

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

bmwiedemann
Copy link
Member

@bmwiedemann bmwiedemann commented Apr 30, 2024

commit 46ae2cd introduced normalizing mtimes using os.utime - the same syscall as used by touch
but would erroneously change the target of symlinks instead of the symlink itself.

I tested it for TarSCM/archive.py - the other two occurences of os.utime probably don't make a difference right now as no symlinks are involved there.

TarSCM/scm/base.py Outdated Show resolved Hide resolved
commit 46ae2cd introduced normalizing mtimes
but would erroneously change the target of symlinks
instead of the symlink itself.
@adrianschroeter adrianschroeter merged commit 37000ba into openSUSE:master Jul 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants