Operation not permitted?

Jim Salter jsalter at jrssystems.net
Tue Sep 9 23:51:21 EST 2003


How do you have the destination folder mounted?  Is it mounted via SMBFS,
via NFS, or is it a local folder that just also happens to be shared out via
Samba?  If it's mounted via SMBFS and you're authenticating as root when you
mount it, rsync will think that you have root privileges on the folder and
will therefore attempt to duplicate local file ownership conditions at the
remote end.  Very likely (hopefully, even) the samba system / windows system
on the other end of the mount will NOT actually be granting root privileges
to any samba/windows user named "root" - mine don't even acknowledge the
existence of anyone going by "root".

Hope that helped.

Jim Salter
JRS System Solutions

----- Original Message -----
From: "Max Kipness" <mkipness at geniant.com>
To: <rsync at lists.samba.org>
Sent: Tuesday, September 09, 2003 9:18 AM
Subject: Operation not permitted?



Hello,

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. Why is rsync
trying to change owner? Does it have to?

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. Does
anybody know why this is? Or do I need to ask in a samba mailling list.

Here is the error:

chown var/spool/mail/********@*******.com : Operation not permitted
chown var/spool/mail/********@*******.com  : Operation not permitted
chown var/spool/mail/********@*******.com  : Operation not permitted
chown var/spool/mail/********@*******.com  : Operation not permitted

Thanks,
Max
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html




More information about the rsync mailing list