Re: Feature Request: disallow world-writable files in chmod (original) (raw)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Bob Proulx
Subject: Re: Feature Request: disallow world-writable files in chmod
Date: Thu, 27 Jun 2013 20:52:57 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Ben Lentz wrote:

I suspect I may get laughed off the list... but would you folks ever consider restricting the use of chmod such that world-writable files are reserved for 1) /tmp-style permissions (1777) or 2) reserved for root-only users? Despite training (berating?) users, it seems the default reaction to "oh no, I am having a permission problem" is an knee-jerk execution of "chmod -R 777 *" in order to make the 'problem' go away... however all it's really done is move the problem...

More of a problem than chmod the more typical problem I see is when users copy files through a USB storage device on a FAT32 or NTFS filesystem. Since those don't have Unix file system permissions then using them to copy files results in files being mode 777. And then almost no one seems to fix them subsequently. Sigh.

Bob