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 16:08, Thomas Wolff wrote:
> Corinna Vinschen schrieb:
> >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.
> I can do that on Monday, hope it's sufficient.

Well, it works for me :)

> >>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.
> I seem to remember that I have full access on this H: drive,
> according to the properties menu, in contrast to another drive which
> had the same problem, but I'll check again.

If I set the permissions on the share to "Full Control", I can't
reproduce the problem anymore.  In fact, if you check in the security
tab in the file properties, you can change the permissions of files
owned by you as usual.  Onl;y in case of the share permissions set to
"Change" I can reproduce this.


Corinna

-- 
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]