Re: Windows Ownership



Ok, First I didnt get what you said earlier. Your program works fine.
It's how it should be. The files you create on your server (where the
SFTPD daemon is) must own by someone in that local machine. When you
upload files to a FTP (or SFTP) server, the files are owned by the
user that you authenticated to the server at the beginning or the
owner of the daemon process. AFAIK you cant create file not belonging
to any local (i mean the machine where the files are stored) user, but
I'm not so sure how it'll work in an active directory environment.

Regards


On Mon, May 19, 2008 at 8:19 AM, Danny Kutner <getisboy@xxxxxxxxx> wrote:

Here are the /etc/passwd files:
DellNotebook05 (Client):

SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-DELLNOTEBOOK05\Administrator,S-1-5-21-2495684553-658851696-1374088862-500:/home/Administrator:/bin/bash
Family:unused_by_nt/2000/xp:1006:513:U-DELLNOTEBOOK05\Family,S-1-5-21-2495684553-658851696-1374088862-1006:/home/Family:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-DELLNOTEBOOK05\Guest,S-1-5-21-2495684553-658851696-1374088862-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1005:513:Remote Desktop Help
Assistant Account,U-DELLNOTEBOOK05\HelpAssistant,S-1-5-21-2495684553-658851696-1374088862-1005:/home/HelpAssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmond,S=Washington,C=US,U-DELLNOTEBOOK05\SUPPORT_388945a0,S-1-5-21-2495684553-658851696-1374088862-1002:/home/SUPPORT_388945a0:/bin/bash


and Dell4550 (Host):
SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-DELLNOTEBOOK05\Administrator,S-1-5-21-2495684553-658851696-1374088862-500:/home/Administrator:/bin/bash
Family:unused_by_nt/2000/xp:1006:513:U-DELLNOTEBOOK05\Family,S-1-5-21-2495684553-658851696-1374088862-1006:/home/Family:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-DELLNOTEBOOK05\Guest,S-1-5-21-2495684553-658851696-1374088862-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1005:513:Remote Desktop Help
Assistant Account,U-DELLNOTEBOOK05\HelpAssistant,S-1-5-21-2495684553-658851696-1374088862-1005:/home/HelpAssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmond,S=Washington,C=US,U-DELLNOTEBOOK05\SUPPORT_388945a0,S-1-5-21-2495684553-658851696-1374088862-1002:/home/SUPPORT_388945a0:/bin/bash

On Sun, May 18, 2008 at 2:16 AM, Kosala Atapattu
<kosala.atapattu@xxxxxxxxx> wrote:
After couple bad experiences I would suggest you not to run serious
stuff on Cygwin. Anyways can you post the /etc/passwd file in Cygwin,
that's the guy usually create this user confusion.

Kosala

On Tue, May 13, 2008 at 7:24 PM, Danny Kutner <getisboy@xxxxxxxxx> wrote:
I just got OpenSSH running through Cygwin and there are some ownership
issues. It seems that any file I create over ssh is then owned by the
host user (DELL4550\Family), not the client computer
(DELLNOTEBOOK05\Family). This creates problems when running backup
programs that utilize ssh.

Is there a way to correct this?
Thanks.

--
- Danny




--
Kosala
--------------------------------------------
Disclaimer: Views expressed in this mail are my personal views and
they would not reflect views of the employer.
--------------------------------------------
blog.kosala.net
www.linux.lk/~kosala/
www.kosala.net





Relevant Pages

  • RE: ssh help needed
    ... Copied old files to backup folder on ... Reran linkd command and then copied any policies not already listed ... > After a server reboot a few weeks ago, ssh using cygwin failed to recognize ...
    (microsoft.public.windows.server.networking)
  • ssh unter cygwin: Problem bei Ausführung aus PHP
    ... Als Server benutze ich den Apache (1.3.31, nicht Cygwin), der als ... Protokolle von Client und vom Server: ... bis zu diesem Punkt sind die Protokolle ... debug1: Authentication succeeded. ...
    (comp.security.ssh)
  • Re: Redirecting X from a remote host
    ... system running cygwin X. ... I assume from this that you are running the application on the Debian ... but want to display on an X server you have running on the ... sets the DISPLAY envar to specify ...
    (Debian-User)
  • Re: X and NFS servers on XP
    ... and run it on windows. ... have cygwin builds. ... They do indeed have an X server, and it's easy to install. ... Then it boils down to which gives the best features - it may be that you will use NFS from cygwin anyway, and then the cygwin X server may be a better fit. ...
    (comp.arch.embedded)
  • Re: RWW and linux
    ... SBS is a DC, DC's do not ... haven't played with cygwin on SBS03. ... rdp and rww are two totally different things but to have screen access ... from linux to a windows server rdesktop will ...
    (microsoft.public.windows.server.sbs)