* syscalls.cc (chown_worker): Don't check for ENOSYS.
This commit is contained in:
parent
1d0f9ded2e
commit
07d08883d8
|
@ -1,3 +1,7 @@
|
||||||
|
Wed May 23 10:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* syscalls.cc (chown_worker): Don't check for ENOSYS.
|
||||||
|
|
||||||
Tue May 22 12:20:07 2001 Christopher Faylor <cgf@cygnus.com>
|
Tue May 22 12:20:07 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* signal.cc (sleep): Protect with sigframe.
|
* signal.cc (sleep): Protect with sigframe.
|
||||||
|
|
|
@ -724,12 +724,12 @@ chown_worker (const char *name, unsigned fmode, uid_t uid, gid_t gid)
|
||||||
uid, gid, attrib,
|
uid, gid, attrib,
|
||||||
cygheap->user.logsrv ());
|
cygheap->user.logsrv ());
|
||||||
}
|
}
|
||||||
if (res != 0 && get_errno () == ENOSYS)
|
if (res != 0 && (!win32_path.has_acls () || !allow_ntsec))
|
||||||
{
|
{
|
||||||
/* fake - if not supported, pretend we're like win95
|
/* fake - if not supported, pretend we're like win95
|
||||||
where it just works */
|
where it just works */
|
||||||
res = 0;
|
res = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
|
Loading…
Reference in New Issue