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

samba-bugs at samba.org samba-bugs at samba.org
Fri Aug 5 05:01:57 GMT 2005


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





------- Additional Comments From noreply at cpe-24-95-90-2.columbus.res.rr.com  2005-08-04 22:01 -------
Created an attachment (id=1356)
 --> (https://bugzilla.samba.org/attachment.cgi?id=1356&action=view)
patch, tweak to taste per comment

allow nonroot to try do_mknod() for fifo/sock/block/char. if block/char failed
due to nonroot perm denied [EPERM] in mknod(2):
 without -v, continue quietly, exit 0
 with -v, continue verbosely, exit 0
printing for both is the official pre-patch behavior, so the user may wish to
extend non-v with rsyserr(FINFO...) to match. actually, do_mknod's mknod()
should be wrapped with similar if and rsyserr 'skipping' statements before call
instead. applies to: cvs -D '2005-08-02 00:00:00-0000'. a little give back
against the debt, enjoy;-]

-- 
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