samba-bugs at samba.org
2014-Jul-16 14:02 UTC
[Bug 10719] New: Error with cached effective process gid
https://bugzilla.samba.org/show_bug.cgi?id=10719 Summary: Error with cached effective process gid Product: rsync Version: 3.1.1 Platform: x64 OS/Version: FreeBSD Status: NEW Severity: major Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: oleg at mamontov.net QAContact: rsync-qa at samba.org Tere was an error in previous git commit 3b83a22057b71e7df2b960d3997fb4474910f30e: ---------------------------------------- [lonerr at neon ~/src/rsync]% git show 3b83a22057b71e7df2b960d3997fb4474910f30e commit 3b83a22057b71e7df2b960d3997fb4474910f30e Author: Wayne Davison <wayned at samba.org> Date: Wed Sep 2 08:56:34 2009 -0700 Define and use "our_gid" variable. ---------------------------------------- In this commit effective process gid determined once (in main.c), but after client connect and daemon forked effective gid may be different (when you use the 'gid' option in config file). Now this commit was merged in 3.1.x thus broken some use cases. Simple test case: 1. Prepare destination catalog: rm -rf /tmp/dst && mkdir /tmp/dst && chmod 755 /tmp/dst && chown nobody:nobody /tmp/dst 2. Prepare minimal rsyncd.conf: -------------------------- pid file = /var/run/rsyncd.pid uid = nobody gid = nobody read only = no use chroot = no [dst] path = /tmp/dst -------------------------- 3. Start rsyncd as standalone daemon with standard rc script. 4. Try to rsync empty file belongs to group wheel (gid==0). touch /tmp/src && chown 0:0 /tmp/src && rsync -av /tmp/src localhost::dst/ -------------------------------- sending incremental file list src rsync: chgrp ".src.tIDLzz" (in dst) failed: Operation not permitted (1) sent 79 bytes received 111 bytes 380.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1] -------------------------------- With this commit rollbacked - operation is restored. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2017-Oct-09 23:24 UTC
[Bug 10719] Error with cached effective process gid
https://bugzilla.samba.org/show_bug.cgi?id=10719 --- Comment #1 from lonerr <oleg at mamontov.net> --- Three years later, any updates? :) -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2017-Oct-10 00:18 UTC
[Bug 10719] Error with cached effective process gid
https://bugzilla.samba.org/show_bug.cgi?id=10719 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Wayne Davison <wayned at samba.org> --- I've just committed a fix for this to git. -- You are receiving this mail because: You are the QA Contact for the bug.