delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/07/00:15:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Bryan Slatner <bslatner AT gmail DOT com>
Subject: Permissions on Windows 2008
Date: Tue, 7 Dec 2010 05:09:33 +0000 (UTC)
Lines: 24
Message-ID: <loom.20101207T055651-95@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I've just installed Cygwin on a Windows 2008 Standard server with SP2.

I'm noticing two strange behaviors with files that I upload via SFTP (or 
SCP, I'm not actually sure which protocol WinSCP uses by default).

First, the ACL list on the uploaded files contains an entry for 
"ServerName\None", which is a non-existent account as best I can tell.

Second, it "shares" the files and directories using the Windows 2008
file sharing feature that allows you to share files with other users
on the same machine. It shares the file with "Everyone" and 
"ServerName\None".

Both of these are undesirable behaviors. Ideally, I would like files 
uploaded with SFTP to have the same permissions they'd have as if I
had just created them in place. The sharing thing is particularly 
annoying because if I start moving files around, Windows frequently 
pops up a warning like "Warning: These files are shared. If you move
them, they will no longer be accessible."

Any tips on how to prevent these behaviors would be welcome.

Thanks,
Bryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019