Preventing non-root users from transferring root owned files

rcorujo rcorujo at yahoo.com
Thu Apr 5 18:54:19 GMT 2007


Hello,

It seems that a non-root user is able to copy root owned files.  By that I
mean a file that has "400" permission, for example.

rsync <server_host_name>::base_image/etc/<root_owned_file> .

The "rsyncd.conf" file has "uid=root" and "gid=root".

What options do I need to use so that root can copy root owned files, but
non-root users cannot copy root owned files?  That is, how do I get rsync to
honor file permissions the same way that the "cp" command would?

Thank you.

Rigoberto


-- 
View this message in context: http://www.nabble.com/Preventing-non-root-users-from-transferring-root-owned-files-tf3532972.html#a9860697
Sent from the Samba - rsync mailing list archive at Nabble.com.



More information about the rsync mailing list