[gentoo-user] Re: copy file and preserve ownership
Joseph wrote: I like to use meld to copy file but meld does now preserve ownership of the file that it copy. rsyc does but how do I use rysnc to copy let say file that are newer then certain date ? I was trying to use: find /home/myuser/oldir/* -mtime -60 -exec cp {} /home/myuser/newdir/ \; but cp does not preserve file ownership either. I was planning on copying hylafax-files (faxes) from one server to another and most of those files have ownership uucp:60002 or uucp:uucp From man cp: ... -p same as --preserve=mode,ownership,timestamps --preserve[=ATTR_LIST] preserve the specified attributes (default: mode,ownership, timestamps), if possible additional attributes: context, links, xattr, all Might I suggest a pattern here? ;-) --- Jouni
[gentoo-user] Re: crontab backup
Joseph wrote: I'm trying to backup crontab from various boxes to files, so I'm using (run once a month) 11 01 * * 5 crontab -l /home/joseph/business/backup/crontabs/syscon7_joseph_crontab but I can from bash: cannot overwrite existing file From man bash: Redirecting Output ... If the redirection operator is , and the noclobber option to the set builtin has been enabled, the redirection will fail if the file whose name results from the expansion of word exists and is a regu‐ lar file. If the redirection operator is |, or the redirection operator is and the noclobber option to the set builtin command is not enabled, the redirection is attempted even if the file named by word exists. --- Jouni
[gentoo-user] Re: Pin a package to a binary (quickpkg'd) version?
Tanstaafl wrote: Bummer... What I want is to be able to pin a specific package to the quickpkg'd version, so it doesn't get updated during an emerge world... Wouldn't it mostly work if you a] Copied the package ebuild directory to a local overlay to ensure the version keeps being available to portage even if it vanishes from the official tree and b] masked any later version in, say, /etc/portage/package.mask/pinned ( and c] mentally prepared to repeat the procedure when the tree no longer provides compatible dependencies ) ?
[gentoo-user] Re: Emerge of sys-devel/llvm-3.3-r3 fails....
Volker Armin Hemmann wrote: Am 10.08.2014 um 08:33 schrieb Christopher Kurtis Koeber: *emerge --info =sys-devel/llvm-3.3-r3::gentoo*: Pastebin: http://pastebin.com/qF92DXSY I am not a fan of that. gcc-4.7.3, Intel-R-_Atom-TM *End Section of Build Log*: Pastebin: http://pastebin.com/HEkMicgw or that. /var/tmp/portage/sys-devel/llvm-3.3-r3/work/llvm-3.3.src/tools/llvm- readobj/Error.cpp:49:1: internal compiler error: Segmentation fault Any assistance will be greatly appreciated. did you search bugs.gentoo.org? Lots of llvm stuff there https://bugs.gentoo.org/show_bug.cgi?id=500032#c9 looks like a good fit.
[gentoo-user] Re: Lots of big updates...
Tanstaafl wrote: mariadb (5.5.37 10.0.12) Thanks I went from mariadb-5.5.38-r1 to 10.0.12 here on Aug 5 and didn't manage to break anything, even akonadi-server. There shouldn't be anythong a revdep-rebuild won't handle. Jouni