Enforce minimal file/ dir permissions

Bill Moran wmoran at potentialtech.com
Mon Jun 16 12:22:19 UTC 2008


In response to Mister Olli <mister.olli at googlemail.com>:

> Hi...
> 
> on my filer I have to enforce minimal file permission of 664 for files
> and 755 for directorys.
> 
> no user should be able to change them to a value less than that.
> 
> any ideas how to do this?

Look at MAC and the bsdextended module (filesystem firewall):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-bsdextended.html

-- 
Bill Moran
http://www.potentialtech.com


More information about the freebsd-questions mailing list