News for hackers. Stuff that matters.
Re:Stop making swap partitions–use swap files instead by SeriousM on Friday June 19, 2026 @11:22AM (#48599659)
Foe the ones, like me, who didn't know why you recommended that:

By setting umask 077 first and then creating the file, the file gets created with the correct restrictive permissions (0600) in one step instead leaving the file readable for "everyone" for a moment.

There are no comments on this comment yet.