Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
November 14, 2007, 4:51 pm
rate this thread
I have installed openssh on a Windows 2003 server and am using
Filezilla as the client. Basic functionality sftp is working fine.
I require 2 users - 1 that puts files up to the server and 1 that gets
the files and then deletes the file afterwards. My issue is that the
second user who gets the file cannot delete it as the permission on
the file is independent of the ntfs perms and only the user who puts
the file there has enough perms to delete it.
Does anyone know how I can pass the ntfs perms or how I can assign the
appropriate perms to any incoming files? I think my openssh is the
'stripped down' version vs the one included within a cygwin
Any help is greatly appreciated!!! Thanks in advance.
Re: OpenSSH on Windows 2003 SFTP File permisssions
SFTP is not what you want for this. The lack of a chroot cage or other
restriction is a long-standing issue with OpenSSH for simple upload
repositories. But if you have to use this, you can use the same user
on the server side and give the two guests SSH public key access to
the same account, which would allow them both to write to the same
What I would *suggest* is WebDAV/HTTPS, which uses Apache
configurations to restrict the operations of individual users quite
effectively. Or even a Subversion with ssh+svnserve, restricting
"create" operations to one user, and "delete" operations to the other
using the svnperms usitilities would work.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum