bugfindutils - Bugs: bug #3786, updatedb fails if it cannot access...

 
 

bug #3786: updatedb fails if it cannot access "." as the user to whom it switches uid.

Submitted by:  James Youngman <jay>
Submitted on:  Wed 28 May 2003 03:17:38 PM UTC  
 
Category: updatedbSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Koblinger EgmontOpen/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 31 Oct 2004 05:27:02 PM UTC, comment #2:

I can no longer reproduce this problem on find 4.2.3.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 30 Oct 2004 09:27:06 AM UTC, comment #1:

I think this is fixed in release 4.2.0 and later. So could you try this on release 4.2.2, which can be doanloaded from ftp://alpha.gnu.org/gnu/findutils ? Thanks.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 28 May 2003 03:17:38 PM UTC, original submission:

updatedb fails if it is executed from a directory that is not accessible by a user it switches to. E.g. it is started with cwd=/root while /root has permissions 700, then it cannot su to nobody and scan the filesystem as nobody. A trivial solution is to put a "cd /" somewhere at the beginning of the script. (I use "su" from gnu coreutils as most of the distros AFAIK, and not from the shadow suite as Debian does.)

James Youngman <jay>
Project AdministratorIn charge of this item.

 

(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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 31 Oct 2004 05:27:02 PM UTCjayStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sat 30 Oct 2004 09:27:06 AM UTCjayFixed ReleaseNone=>4.2.0
Sat 16 Oct 2004 08:11:13 PM UTCjayCategoryNone=>updatedb
Wed 28 May 2003 03:20:13 PM UTCjayOriginator NameKoblinger Egmont <egmont@uhulinux.hu>=>
  Originator Email=>

Back to the top


Powered by Savane 3.1-cleanup1