This is the mail archive of the cygwin-apps 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]
Other format: [Raw text]

Re: 1.7 installation failed (on network drive?)

On Dec 18 11:57, Corinna Vinschen wrote:
> On Dec 17 17:31, Corinna Vinschen wrote:
> > I applied a patch which falls back to opening/creating the file/dir
> > without WRITE_DAC if the first call failed.  That's not quite optimal
> > but it works.  Please check out the latest from CVS and test in your
> > scenario.  For me it works now on the share as well as on local drives.
> The downside is that it will not create any POSIX-like permissions on
> the share.  I'm just creating another solution which allows to give
> normal POSIX permissions to the files, just like on a local drive.

I applied tha patch to CVS.  The NtCreateFile call now gets the POSIX-like
ACL to create the file immediately with the correct permissions.  Please
give it a try.

> Be aware that this share is really a problem.  The permissions given on
> it are not common.  You can create a file with the desired permissions,
> but you will never be able to change the permissions afterwards.  THis
> is a flaw in the sharing permission handling if the user has only
> "Change" permissions but not "Full Control".  Your admin should change
> that and rather fix the permissions in the share's ACL.  Even Microsoft
> recommends that.

This problem persists, of course.  Only your admin can change it.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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