Problem backing up read-only files
garyjohn at spocom.com
Tue Jul 27 17:47:48 MDT 2010
On 2010-07-22, Matt McCutchen wrote:
> On Thu, 2010-07-22 at 19:57 -0700, Gary Johnson wrote:
> > On 2010-07-23, Alex Ferrara wrote:
> > > Hi Gary,
> > >
> > > It looks like the problem occurs after rsync has transferred the
> > > file and is renaming the temporary file to the actual name. I am
> > > guessing that the HP media vault has Samba running on it, and it
> > > is actually denying access.
> Try --chmod=u+w .
> One can generally copy read-only files to a unix filesystem with no
> trouble, because on a unix filesystem, renames check only the directory
> permissions, not the file permissions. (As for read-only directories,
> rsync is smart enough to temporarily enable user-write permission while
> it processes them.) But with a non-conformant destination filesystem,
> it looks like --chmod=u+w is the only thing that will solve your issue.
That worked, and is good enough for the current situation. Thank
More information about the rsync