Re: locate - Permission denied
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 05/26/05
- Next message: Robert Komar: "Re: Logrotate is a pain"
- Previous message: Timothy Murphy: "Re: MySQL permission"
- In reply to: Robert M. Riches Jr.: "Re: locate - Permission denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Robert Komar: "Re: Logrotate is a pain"
- Previous message: Timothy Murphy: "Re: MySQL permission"
- In reply to: Robert M. Riches Jr.: "Re: locate - Permission denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|