bugfindutils - Bugs: bug #9833, updatedb should change to / before...

 
 

bug #9833: updatedb should change to / before running.

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Sat 31 Jul 2004 08:41:14 AM UTC  
 
Category: updatedbSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: NoneFixed Release: 4.2.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 08 Aug 2004 03:43:51 PM UTC, comment #2:

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project Administrator
Sun 08 Aug 2004 03:43:10 PM UTC, comment #1:

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project Administrator
Sat 31 Jul 2004 08:41:14 AM UTC, original submission:

This is http://bugs.debian.org/262476

--------------------------
Wolfgang Rohdewald writes:

When running updatedb from crontab, it starts in the corresponding home directory, e.g. /root. If /root has 0700 permissions, and if updatedb changes to $NETUSER, it has no permission on the current directory, hence a 'no permission' error.

The bug fix is:

wr:/usr/bin# diff -u updatedb updatedb.new
--- updatedb 2004-06-29 14:14:35.000000000 +0200
+++ updatedb.new 2004-07-31 09:54:42.000000000 +0200
@@ -118,6 +118,7 @@

# FIXME figure out how to sort null-terminated strings, and use -print0.
{
+cd /
if test -n "$SEARCHPATHS"; then
if [ "$LOCALUSER" != "" ]; then
su $LOCALUSER -s $SHELL -c \

--------------------------

The report seems to be valid, afaict.
thanks, cu andreas

Andreas Metzler <ametzler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 16 Oct 2004 06:22:49 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.0
Sun 08 Aug 2004 03:43:51 PM UTCjayStatusNone=>Fixed
Sat 31 Jul 2004 08:41:14 AM UTCametzlerCarbon-Copy-=>Added wolfgangrohdewald

Back to the top


Powered by Savane 3.1-cleanup1