This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

can cygwin be set not to set UNIX permissions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]