Skip to content

Conversation

@miss-islington
Copy link
Contributor

On FreeBSD, regular users cannot set the sticky bit. Skip the test if
chmod() fails with EFTYPE error.


(cherry picked from commit 6bbaab8)

Co-authored-by: Petr Viktorin [email protected]
Co-authored-by: Victor Stinner [email protected]

…/sticky on systems that don't support them (pythonGH-108368) (pythonGH-109697) (pythonGH-125255)

* pythongh-107902: Don't test setting suid/sgid on systems that don't support them (pythonGH-108368)

* pythongh-108948: Skip test_tarfile.test_modes() on EFTYPE error (pythonGH-109697)

On FreeBSD, regular users cannot set the sticky bit. Skip the test if
chmod() fails with EFTYPE error.

---------

(cherry picked from commit 6bbaab8)

Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@encukou
Copy link
Member

encukou commented Oct 22, 2024

Thanks @miss-islington, but let's use #125576 instead!

@encukou encukou closed this Oct 22, 2024
@miss-islington miss-islington deleted the backport-6bbaab8-3.9 branch January 2, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants