* syscalls.cc (chown_worker): Allow chown'ing of socket files.
This commit is contained in:
parent
37e8e528aa
commit
40d3c80413
|
@ -1,3 +1,7 @@
|
||||||
|
2003-05-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* syscalls.cc (chown_worker): Allow chown'ing of socket files.
|
||||||
|
|
||||||
2003-04-30 Thomas Pfaff <tpfaff@gmx.net>
|
2003-04-30 Thomas Pfaff <tpfaff@gmx.net>
|
||||||
|
|
||||||
* Makefile.in: Revert patch from 2003-04-17.
|
* Makefile.in: Revert patch from 2003-04-17.
|
||||||
|
|
|
@ -799,7 +799,7 @@ chown_worker (const char *name, unsigned fmode, __uid32_t uid, __gid32_t gid)
|
||||||
|
|
||||||
/* FIXME: This makes chown on a device succeed always. Someday we'll want
|
/* FIXME: This makes chown on a device succeed always. Someday we'll want
|
||||||
to actually allow chown to work properly on devices. */
|
to actually allow chown to work properly on devices. */
|
||||||
if (win32_path.is_device ())
|
if (win32_path.is_device () && !win32_path.issocket ())
|
||||||
{
|
{
|
||||||
res = 0;
|
res = 0;
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in New Issue