Re: Windows Ownership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux