[Bug 2868] Allow fifos to be copied by normal users

samba-bugs at samba.org samba-bugs at samba.org
Sun Jul 24 06:36:58 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2868





------- Additional Comments From rsync at cpe-24-95-91-210.columbus.res.rr.com  2005-07-23 23:36 -------
this should apply to both fifos and sockets.
creation of both are unprivileged operations,
see mkfifo(2), socket(2)/bind(2) on freebsd.
suggest moving/modifying do_mknod in these sections
 backup.c
 generator.c
to run regardles of uid and simply complain and continue
on platforms where those syscalls are restricted. just
like if a regular file can't be read due to perm/uid:
 rsync: send_files failed to open "/tmp/a.out": Permission denied (13)

any other eyes looking at this feature may wish to see related:
 http://lists.samba.org/archive/rsync/2003-October/007555.html
 http://lists.samba.org/archive/rsync/2002-June/002966.html
 http://www.mail-archive.com/rsync@lists.samba.org/msg00477.html

reply to bugzilla/samba list only, thx.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list