Make new user sub-folders inherit parent permissions

John Hupp lubuntu at
Sun Jan 20 18:56:02 UTC 2013

On 1/19/2013 11:09 PM, Ioannis Vranos wrote:
> On Sun, Jan 20, 2013 at 3:04 AM, John Hupp <lubuntu at> wrote:
>> I have two users (user1 and user2), but for a special purpose I want to
>> maintain a single store of files in the user1 home directory.
>> So I added user1 and user2 to the "users" group, and reassigned the Group
>> property for /home/user1 from "user1" to "users."
>> I think that change automatically propagated to all the user1
>> sub-directories, but I can't remember for sure.  It's possible that I
>> manually changed the sub-directory permissions, perhaps even before the
>> change to /home/user1.
>> In any case, I thought that permission setup would automatically propagate
>> to any new sub-folders, but I just created user1/Documents/Documentation,
>> and it has Group: "user1."
>> Can I configure this for the behavior I'm looking for?
> user1 belongs to two groups, user1, and users. The first group, is his
> primary group.
> Change the primary group number of users user1, and user2,  in
> /etc/passwd (this file contains the user number, and primary group
> number).
This opens up yet more questions.  /etc/passwd only contains the 
original GID's for user1 and user2.  It does not reflect that both have 
now been also added to the "users" group. So it seems that more than one 
user/group configuration system is being supported.

I have been reading today the manpages for adduser, addgroup, and 
adduser.conf.  Interestingly, it does not document where it stores the 
configuration information -- perhaps because adduser and addgroup are 
only front-ends for useradd and groupadd.  There is no mention of 
/etc/passwd, for instance.

But apart from that, Lubuntu's GUI tool for Users and Groups is 
users-admin (which I used for my customizations), and I have not yet 
found any handy documentation for that.  There may be something 
somewhere at, but I have not found it yet.  But poking 
around a bit in the interface, I see that it does not even show that 
user1 is a member of the user1 group, and likewise with user2.  So 
again, that indicates to me that more than one user/group configuration 
system in effect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Lubuntu-users mailing list