Hi,
Recently I noticed several files and directories under /usr/ports
on my CRUX box owned by non-privileged users. Moreover, some of them
were owned by nonexistent users.
It looked strange to me and after some thoughts I found the reason of
that. These directories have been created using download commands from
http://crux.nu/portdb/ as the super-user. For example,
rsync -aqz crux.nu::ports/crux-2.6/opt/git/ git
The problem is in the -a option of rsync. It includes -u and -g options.
So when the command is being executed as the super-user it preserve
owner and group of the transferred files.
Such behavior doesn't look like the one that user expects, as the
source and target hosts have thier own user accounts. So from my point
of view the following command is more appropriate:
rsync -rlptDqz crux.nu::ports/crux-2.6/opt/git/ git
Yes, it looks cumbersome, but at least it does exactly what user
expects.
--
Vitaly Sinilin <vs(a)kp4.ru>
CRUX PPC 2.6 is now available. It works on Apple 32bit "NewWorld" G3/G4
and Apple 64bit G5, Genesi PegasosII and Efika, Acube Sam440ep, IBM
RS/6000 CHRP (604e), YDL Powerstation, IBM Intellistation POWER, and
IBM pSeries RS64/POWERn.
CRUX PPC 2.6 is, as usual, released via two different installation ISO:
32bit and 64bit. The 32bit version is based on a single lib toolchain
instead the 64bit one comes with a multilib toolchain. These two
versions share the same ports tree.
See the download page!
--
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/
With new 2010 Year!
Several month ago I install CRUX-2.6-x86_64 by Fredrik Rinnestam.
CRUX work nice with xfce (and gimp, OpenOffice and another).
But after "/etc/rc.d/cups start" I can't configure
my printer with the web-interface (http://localhost:631)
/var/log/cups/error.log:
Unable to open listen socket for address ::1:631 -
Address family not supported by protocol.
Unable to bind socket for address 127.0.0.1:631 -
Cannot assign requested address.
May be it happen, because my CRUX is pure x86_64?
On my another OS Gentoo-x86_64 web-interface for cups-1.3.11 work nice.
Where is solution?
Thank you.
ulins