Settime_bypass problem ?

Ben Escoto bescoto@stanford.edu
Tue, 30 Apr 2002 00:09:17 -0700


--==_Exmh_2136867480P
Content-Type: text/plain; charset=us-ascii

>>>>> "EB" == Erminio Baranzini <aredat@yahoo.com>
>>>>> wrote the following on Mon, 29 Apr 2002 23:43:17 -0700 (PDT)

  EB> Yes, you are right, it works as root without the
  EB> --change-source-perms option.

  EB> Still wondering why. Could this be checked starting the
  EB> programm?

I'm not sure why either.  The error message said operation not
permitted changing the time of /bin/rcp.  I'm not sure why you
wouldn't be able to do that as root.  If you like, type in 'python'
and then:

Python 2.2b2 (#1, Nov 28 2001, 12:53:18) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-101)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.utime("/bin/rcp", (2,3))
>>>

Note this should mess up the modification and access times on
/bin/rcp, so don't do this if those are important to you.  Or maybe

cp -a /bin/rcp /tmp/rcp

first, and then

cp -a /tmp/rcp /bin/rcp

afterwards to set things as they were.  Anyway, if you get an error
then we'll know it's something about the way your system deals with
times.  I've never tried rdiff-backup on FreeBSD, so that is probably
the issue.


--
Ben Escoto

--==_Exmh_2136867480P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001

iD8DBQE8zkMc+owuOvknOnURAh+jAJ43+chtyQ/G+efqPv6VzqVBAFj1nQCfQZEV
eR3v0rccKEdSxMAXdSKNFuU=
=UyW5
-----END PGP SIGNATURE-----

--==_Exmh_2136867480P--