[CentOS] read only sftp access

Sat Nov 28 07:53:40 UTC 2009
David Hrbáč <hrbac.conf at seznam.cz>

Andrei F napsal(a):
> Hi,
> 
> I'm trying to setup read-only SFTP repo. The directory that I'm planning to
> make available via sftp needs to have only read-only access. My issue is
> that this specific directory is already available for read & write access
> but under different credentials. When I try to login via my read-only
> account, openssh spits out an error about incorrect permissions. Any idea
> how can I share the same directory via sftp under two different usernames
> under the same filesystem permissions?
> 

Hi,
you want ACLs.
David Hrbáč