[CentOS] read only sftp access

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


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áč


More information about the CentOS mailing list