On Dec 7 05:09, Bryan Slatner wrote: > 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.
No, it's an existing account. After all, if it wouldn't exist, how would Windows be able to resolve the SID into a name? If the receiving account on the target machine is not a domain account, then "None" is its default Windows primary group, the local group with RID 513. > 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". As Jeremy already noted, Cygwin emulates POSIX permissions. The default POSIX permissions are 0644. Well, actually it depends on your umask and your usage of the scp -p option, but let's assume the default settings are used. This leads to the following ACL: ServerName\User rw- ServerName\None r-- Everyone r-- Note that Windows Explorer only erroneously treats such files as "shared" if they are in your own user folder. If you scp the files into some other folder (like, say, /home/user within your Cygwin folder hirarchy, this won't occur anymore. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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