Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 23:13:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192227] newfs creates .snap with world readable permissions 0777
Message-ID:  <bug-192227-8-pA5dEsE7ad@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192227-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192227-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192227

heliocentric@gmail.com changed:

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

--- Comment #1 from heliocentric@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192227-8-pA5dEsE7ad>