[Owncloud] SFTP to a user's ownCloud files?

Andreas Schneider asn at cryptomilk.org
Mon Feb 20 15:32:27 UTC 2012


On Monday 20 February 2012 16:09:29 Alexander Skwar wrote:
> Hi
> 
> On Mon, Feb 20, 2012 at 15:08, Simon Kainz <simon at familiekainz.at> wrote:
> > Hi,
> > 
> > well, do you have already user accounts on the server, maybe with the
> > same usernames as the owncloud users?
> > 
> > Problem would be, every user needs a home directory (which would be
> > files/username for OC).
> > 
> > Another issue concerning file permissions: In OC (either webdav or via
> > Brower upload) files are normally owned by the www-server user, not by
> > the user who uplaoded the file, this would need some investigation.
> 
> And additionally, users would probably want to use the same password.
> If using a mysql backend, one might be able to use pam_mysql. But

You can put it together with 20 ugly hacks (introducing 5 security problems 
iny our system) or implement a ssh/sftp server using http://www.libssh.org/ ;)


	-- andreas


-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn at cryptomilk.org




More information about the Owncloud mailing list