Re: locate - Permission denied

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 05/26/05


Date: Thu, 26 May 2005 19:55:39 +0200

In comp.os.linux.misc Robert M. Riches Jr. <spamtrap42@verizon.net>:
> On 2005-05-26, bahhab@hotmail.com <bahhab@hotmail.com> wrote:
>>
>> It was indead because some fool had changed the owner of
>> /usr/bin/slocate. I'll have a word with myself ;-)

> Nobody has yet complained about my repetition of the method
> I use to watch out for strange permission and/or ownership
> issues. On an RPM-based system, I have a script I run
> immediately before _and_ immediately after each significant
> system administration task. The script does "rpm -qa" and
> puts the results in a file. Then, it does "rpm -V $pkg" in
> a loop across all packages from the first file. The script
> prepends a header for each packge (to identify which package
> the report is for) and concatenates them into another file.
> I run "diff" between the previous and current file to check
> for any changes that might indicate a problem.

Prefer a more brute force way:

 rpm --setperms -a && rpm --setguids -a

> (Just because you're paranoid doesn't mean they're _not_ out
> to get you. :-)

No where are all those black helicopters coming from?

-- 
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.r | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 251: Processes running slowly due to weak power
supply


Relevant Pages

  • Re: libicui18n.so.36 not found, required by "evolution"
    ... It will only fetch programs that need updating, ... Later this day I will add some debugging functionality to the script and send that version to you, if you are willing to spend your time helping me finding this problem. ... And indeed pkg_libchk is by far the best solution, if I was to update every package that depended on icu I would have to update 239 packages which discouraged me right away, by running pkg_libchk the amount of packages to be updated was reduced to 71, wrote a quick script and left it running overnight and those packages got updated and by god I don't have any more problems with libicui18n.so.38. ... And until then you already have a description for all new commands. ...
    (freebsd-questions)
  • Re: SMS upgrade Side-By-Side 2.0 to 2003
    ... Being able to migrate queries and packages can prove to be valuable though. ... I still don't have a package import script because most of the time you ... MVP Windows Server System - SMS ...
    (microsoft.public.sms.setup)
  • Re: [opensuse] Local cache of updates, installed programs in openSUSE
    ... don't have the same package config, I created a "Generic" openSuSE repository ... script to separate all the files by architecture and then upload to the server ... server instead of from the internet. ... and that holds updated packages for rpms of all architectures. ...
    (SuSE)
  • Re: installing tcl locally
    ... If I understand correctely, tclkit runs starkits, where starkits are self ... contained virtual file system environment, that holds the packages folder, ... Then end up with myshell that can be used to run my script that requires ... AIX is the hardest part of the mix. ...
    (comp.lang.tcl)
  • Re: Using a package like PyInstaller
    ... create exe files that basically have your py script and a small py ... installed on a system to execute a py script. ... I am being advised that python ... and these types of packages and am not too sure how dumb a question this ...
    (comp.lang.python)