bug-guix
[Top][All Lists]
Advanced

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

bug#57493: <user-account> should allow for customizing home directory pe


From: Thompson, David
Subject: bug#57493: <user-account> should allow for customizing home directory permission bits
Date: Sat, 14 Jan 2023 12:21:14 -0500

On Tue, Aug 30, 2022 at 1:10 PM Thompson, David
<dthompson2@worcester.edu> wrote:
>
> Hi Guix,
>
> Issue 56444 (https://issues.guix.gnu.org/56444) was caused by the 
> activate-users+groups procedure in (gnu build activation) unconditionally 
> setting all user home directory permission bits to 700. The fix for that bug 
> was to set the bits for a particular user to 750 in a service activation 
> script.  The fix is quite imperfect, however, because during system 
> reconfiguration the bits are temporarily reset back to 700 by 
> activate-users+groups, breaking Guix's promise of atomicity.  The proper fix 
> would be to add something like a 'home-directory-permission-bits' field to 
> <user-account>, which defaults to 700, and have activate-users+groups use 
> that value.  This way, there will no longer be an unknown amount of time 
> where the bits are reset and potentially breaking some service during that 
> time.

FInally got around to writing a patch for this!

- Dave

Attachment: 0001-gnu-system-Add-home-directory-permissions-field-to-u.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]