This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sam_ezeh
Recipients Aaron.Train, Claudiu.Popa, Glenn.Jones, Orborde, belopolsky, bwanamarko, cbrannon, desaintmartin, eric.araujo, kmtracey, kulakov-n, lars.gustaebel, nanjekyejoannah, pitrou, r.david.murray, ronaldoussoren, sam_ezeh, selimb, serhiy.storchaka, swarren, techtonik, uruz, yossarian, Étienne Dupuis
Date 2022-04-04.14:40:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649083222.94.0.623284182952.issue15795@roundup.psfhosted.org>
In-reply-to
Content
I don't know what the best course of action would be but if preserving permissions needs to be back-ported, could the default permission preservation flag in 3.11+ be the one to preserve safe permissions and then make it so that the previous versions (<3.11, without the constants) always take this course of action? Maintaining the different options for preserving permissions while still allowing for this functionality to be back-ported.

I don't have a strong opinion on backporting permission preservation but to me, it seems like it would be a change in behaviour instead of a bug fix. The current default in the PR is to not preserve any permissions but if necessary, I'll change it to whatever is agreed upon.

I'll move the constants into an enum, but right now I'm not sure how I'd name the class.

As an aside, while writing this comment I realised that the reason tests aren't passing on my end might very well be due to the fact I do CPython work on an NTFS partition instead of on my main EXT4 partition.
History
Date User Action Args
2022-04-04 14:40:23sam_ezehsetrecipients: + sam_ezeh, ronaldoussoren, belopolsky, lars.gustaebel, pitrou, techtonik, swarren, kmtracey, eric.araujo, cbrannon, r.david.murray, Claudiu.Popa, serhiy.storchaka, uruz, Aaron.Train, desaintmartin, bwanamarko, Orborde, Glenn.Jones, Étienne Dupuis, nanjekyejoannah, yossarian, kulakov-n, selimb
2022-04-04 14:40:22sam_ezehsetmessageid: <1649083222.94.0.623284182952.issue15795@roundup.psfhosted.org>
2022-04-04 14:40:22sam_ezehlinkissue15795 messages
2022-04-04 14:40:22sam_ezehcreate