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:
parent
9343c89cb4
commit
d5aecd1850
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user