Operation not permitted?
mbp at sourcefrog.net
Wed Sep 10 13:15:12 EST 2003
On 9 Sep 2003 "Max Kipness" <mkipness at geniant.com> wrote:
> Can someone tell me what the problem is here. I am doing an rsync on a
> sendmail spool directory to a folder that is a samba mount.
What do you mean by "a samba mount"? A filesystem mounted over smbfs?
> Why is rsync trying to change owner?
Because you told it to, using the -a, -o or -g options.
> Does it have to?
You asked for it, you got it :-)
> I tried manually changing owner (as root) on a file that is sitting on
> the samba mount and I got the same operation not permitted error.
Assuming you're using smbfs, it's because smbmount logs in to the
server as a single NT user, and all files appear to be owned by that
user. Ownership is not preserved.
cifsfs may fix this, but you need to ask about that elsewhere.
More information about the rsync