Re: flashplayer9? (Mystery solved)
- From: Andrew Sackville-West <andrew@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Dec 2006 11:09:21 -0800
On Sat, Dec 16, 2006 at 10:02:40AM -0800, Marc Shapiro wrote:
[...]
I just ran locate again this morning. It found all the file and
symlinks in all the system directories that the install of
flashplayer-nonfree placed there. It DID NOT find the files in my
user directory, or in my wife's user directory tree. These are the
places that it did find it yesterday after I manually ran updatedb. I
ran updatedb MANUALLY this morning, and now it finds all copies of the
file, in system AND user directories. Why would it find the files
after a manual run of updatedb, and then lose them overnight?
Here is a copy of my /etc/updatedb.conf:
[...]
BINGO!!!# run find as this user
LOCALUSER="nobody"
export LOCALUSER
I suspect this is the pertinent bit. per nam updatedb, $LOCALUSER
controls which user is used to search local directories. When the cron
job runs, it uses "nobody", when you run it, it runs as you. So you
(most likely) have read permissions on your local dirs, but I bet
"nobody" doesn't.
Both /home an ~/ have permissions of 755, giving read access to everyone
(my wife and I are the only persons with physical access). However,
~/.mozilla has permissions of 700, no access to anyone but me!
Is it reasonable to let updatedb run as root, so that ALL directories
would be included, or is this a Bad Idea (TM)?
FWIW, my .mozilla is 755 but I don't know why that is.
Probably "safer" to just chmod .mozilla than have another process
running as root. I don't know what the dangers of running updatedb as
root could possibly be but...
A
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: flashplayer9? (Mystery solved)
- From: Marc Shapiro
- Re: flashplayer9? (Mystery solved)
- References:
- Re: flashplayer9?
- From: Marc Shapiro
- Re: flashplayer9?
- From: Kent West
- Re: flashplayer9?
- From: Marc Shapiro
- Re: flashplayer9?
- From: Kent West
- Re: flashplayer9?
- From: Marc Shapiro
- Re: flashplayer9?
- From: W Paul Mills
- Re: flashplayer9?
- From: Angelina Carlton
- Re: flashplayer9?
- From: Marc Shapiro
- Re: flashplayer9?
- From: Andrew Sackville-West
- Re: flashplayer9? (Mystery solved)
- From: Marc Shapiro
- Re: flashplayer9?
- Prev by Date: Re: New Debian user
- Next by Date: Re: Unbootable after today dist-upgrade (Sid)
- Previous by thread: Re: flashplayer9? (Mystery solved)
- Next by thread: Re: flashplayer9? (Mystery solved)
- Index(es):
Relevant Pages
|