Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <893CF1EC58DAD211A2C00060089BB15D8DFB42@colorado> From: Dana Burd To: "'cygwin AT cygwin DOT com'" Subject: can cygwin be set not to set UNIX permissions Date: Mon, 30 Jul 2001 15:58:46 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Note-from-DJ: This may be spam I am looking only to replace IIS FTP with a secure FTP system, I am trying SFTP with OpenSSH and CygWin on a Windows NT 4 Workstation. In short what I am only looking for is a SFTPd that runs on a windows server that doesn't try to set any UNIX permissions... I am not the only one trying to get rid of insecure FTP/IIS in their NT only plant. I have successfully setup CygWin with OpenSSH, read the docs over and over, set CYGWIN environment variable to "nontsec nosmbntsec nontea tty" (plus many other combinations), deleted and reinstalled several times, but CygWiN still does what I don't want it to do - set permissions - I have my NT file system to do that. The file system will give a new SFTPed file its inherited permissions - then CygWin changes it. Can I make CygWin not even try to set any permissions? If you want more detail and repetition: I have a Windows plant. When a user creates a new file in a directory on the NT File Server, the file inherits the NT permissions of the Folder. There can be many groups or extra users in the permissions list of that folder. I like and depend on this inheritable and extended permissions feature of Windows. I also liked that if I used FTP to connect to a Windows IIS enabled file server the same inheriting permissions described above would occur on a new file that was uploaded. In fact I could set IIS such that a user could not even use a "SITE chmod XXX some.file" command through their FTP client. I don't want my computer neophytes to have to worry about permissions, that's why I like the inherited permissions that I have setup. Now this is what I have noticed using opensshd on a CygWin NT Workstation with a SSH Windows Client or Putty's pscp. If I sftp a new file to a directory on the file server, the file does inherit the permissions of the directory but then some of those permissions become altered with UNIX type permissions. While the changes aren't detrimental and are semi-predictable in what they are going to do, I don't want them. I simply want the File Server to take care of setting the file permissions. I already have a complicated enough system to have to start thinking about mixing UNIX and NT style permissions. Dana Burd -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/