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
Not necessarily a request, but a possible feature discussion.
Describe the solution you'd like
Hi Xavier--
I have a need to set umask in a module I'm using to set up a project environment.
Describe alternatives you've considered
Right now, I'm just using puts "umask 0077; " to have it eval'd with the rest of the shell eval output. And that's not a bad solution. It's just kind of a hack, and I imagine most casulal module user's wouldn't understand it when reading it. It's shell independent. And even though I haven't tried, I'm sure I get module unload to work right as well.
(BTW, On the high-module-count caching improvements: "I'll be back". The guy pushing me the most on it left the company. But I still want to finish it.)
Activity
xdelaruelle commentedon Jul 21, 2026
Hi Myles.
Adding a
umaskmodulefile command would indeed help people managing this volatile aspect of a shell session.Advantages to have a modulefile command rather outputing shell code:
We should be able to include this new feature in the v5.8 roadmap