Re: OpenSSH on Windows 2003 SFTP File permisssions



On 14 Nov, 16:51, D <darrell.shimam...@xxxxxxxxx> wrote:
I apologize in advance as this is my first post..

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
installation.

Any help is greatly appreciated!!! Thanks in advance.

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
repository.

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.

.



Relevant Pages

  • Announce: OpenSSH 4.2 released
    ... OpenSSH 4.2 has just been released. ... implementation and includes sftp client and server support. ...
    (SSH)
  • Re: GSSAPI SSH WIN 2003
    ... OpenSSH does not have this flexibility. ... server that does; it is one of the most long-standing inadequacies of most ... used publickey authentication, for the simple reasons that it's ... > group will get Service ticket for my HP-UX box. ...
    (comp.security.ssh)
  • Announce: OpenSSH 4.3 released
    ... OpenSSH 4.3 has just been released. ... implementation and includes sftp client and server support. ...
    (SSH)
  • =?Utf-8?Q?DC_hin=C3=BCber_nach_=C3=84nderung_von_Pri?= =?Utf-8?Q?vilegien_=28OpenSSH_auf_Ser
    ... Server, zusammen bilden die eine AD Domäne ab. ... Jetzt versuche ich OpenSSH auf beiden zum Laufen zu bekommen. ... dass der Local System Account unter Windows Server 2003 nicht ... GPOs, da unsere GPO zuerst zieht und damit die Benutzer, die in den o.g. ...
    (microsoft.public.de.german.windows.server.general)
  • RE: SecureID Question
    ... I used to work for RSA Security and built most of their "unsupported" Linux ... OpenSSH or the native Login is used. ... I did some work to integrate SecurID with OpenSSH for a couple of specific ... When I log into my openssh server I then try to ssh to a server from there ...
    (SSH)