1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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

metze
This commit is contained in:
Stefan Metzmacher 0001-01-01 00:00:00 +00:00
parent e9e5e2036f
commit b0c0d73691
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