Pardon my ignorance but I can't seem to come up with a solution to this one.
I'd like to create a user that has read access to every user's home catalog located in /home.
Do I need acl's for this or can I achieve it by chmod?
Thanks in advance.
ACL would be problematic, as you'd need to ensure that they're set on every file.
Use bindfs to create a view of
Create the read-only view as root (so that the
I was halfway through D_Bye's answer when I realised I could do it another way that doesn't require playing around with mounting and
I created an account with its home catalog set to /home and set Pure-FTPd to enclose every user to his home catalog (ChrootEveryone YES).
This means that this account may browse every catalog in /home but doesn't have write rights.
Do all of your users have a single group in common? For example, on some systems the
If you want more control than this, though, to allow only one user to see all home directories, you will need to use ACLs. Depending on the number of users involved, this may quickly become an administrative nightmare. Our sysadmin team at work don't use ACLs anymore, simply because managing them took up way too much of their time.
It occurs to me that, depending on what you want this user to be able to do, you might be able to achieve what you want with shell scripts and carefully crafted