1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

* Fix sys_chown() when no chown() is presend

metze
(This used to be commit b0c0d73691)
This commit is contained in:
Stefan Metzmacher 2004-01-15 09:08:06 +00:00
parent 9343c89cb4
commit d5aecd1850
2 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ o Stefan Metzmacher <metze@samba.org>
* Fix disk_free calculation with group quotas.
* Add debug class 'quota' and a lot of DEBUG()'s
to the quota code.
* Fix sys_chown() when no chown() is presend
o Tim Potter <tpot@samba.org>

View File

@ -490,6 +490,8 @@ int sys_chown(const char *fname,uid_t uid,gid_t gid)
DEBUG(1,("WARNING: no chown!\n"));
done=1;
}
errno = ENOSYS;
return -1;
#else
return(chown(fname,uid,gid));
#endif