Fwd: rsync and unlink permission

Patrick Hsieh pahud at ezplay.tv
Mon Oct 28 07:14:01 EST 2002


Hello list,

I have a apache documentroot with ownership root.www-data and mode 755
Now I have a /var/www/index.html and chown'd that file to user "foo". Sincen
"foo" has no write permission under /var/www, he cannot rsync from remote
server to the local filesystem because rsync will try to make temp file and
unlink the original file before writing over it. Is there any solution to
this problem?

-- 
Patrick Hsieh<pahud at ezplay.tv>
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91



More information about the rsync mailing list