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 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.
|
* Fix disk_free calculation with group quotas.
|
||||||
* Add debug class 'quota' and a lot of DEBUG()'s
|
* Add debug class 'quota' and a lot of DEBUG()'s
|
||||||
to the quota code.
|
to the quota code.
|
||||||
|
* Fix sys_chown() when no chown() is presend
|
||||||
|
|
||||||
o Tim Potter <tpot@samba.org>
|
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"));
|
DEBUG(1,("WARNING: no chown!\n"));
|
||||||
done=1;
|
done=1;
|
||||||
}
|
}
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
#else
|
#else
|
||||||
return(chown(fname,uid,gid));
|
return(chown(fname,uid,gid));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user