[Bug 192227] newfs creates .snap with world readable permissions 0777

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 13 23:13:26 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192227

heliocentric at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heliocentric at gmail.com

--- Comment #1 from heliocentric at gmail.com ---
I looked at the code, and after a newfs the permissions are 775. I validated
this in the source code for newfs, that it creates the inode with permissions
755|020. The 755 is hard coded into mkfs.c.

I'm not sure how it is coming out as 777 in your case, as this code hasn't
changed since 2005.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list