Python Forum
Set permnission with makedirs
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set permnission with makedirs
#7
Thanks @Gribouillis !

I'm shocked the documentation about os.umask() is quite not explanatory !

So according to the documentation
Set the current numeric umask and return the previous umask.
print(os.umask(0))
Should not only display the umask but also set it !?
[Image: NfRQr9R.jpg]
Reply


Messages In This Thread
Set permnission with makedirs - by SpongeB0B - Jun-06-2023, 11:19 AM
RE: Set permnission with makedirs - by Gribouillis - Jun-06-2023, 12:37 PM
RE: Set permnission with makedirs - by SpongeB0B - Jun-06-2023, 01:12 PM
RE: Set permnission with makedirs - by SpongeB0B - Jun-06-2023, 01:15 PM
RE: Set permnission with makedirs - by SpongeB0B - Jun-06-2023, 01:27 PM
RE: Set permnission with makedirs - by Gribouillis - Jun-06-2023, 05:10 PM
RE: Set permnission with makedirs - by SpongeB0B - Jun-15-2023, 07:47 AM
RE: Set permnission with makedirs - by Gribouillis - Jun-15-2023, 09:41 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020