* syscalls.cc (chown_worker): Don't check for ENOSYS.

This commit is contained in:
Corinna Vinschen 2001-05-23 08:12:49 +00:00
parent 1d0f9ded2e
commit 07d08883d8
2 changed files with 10 additions and 6 deletions

View File

@ -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>
* signal.cc (sleep): Protect with sigframe.

View File

@ -724,7 +724,7 @@ chown_worker (const char *name, unsigned fmode, uid_t uid, gid_t gid)
uid, gid, attrib,
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
where it just works */