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.

Submitter:  James Youngman <jay>
Submitted:  Wed 28 May 2003 03:17:38 PM UTC
   
 
Category:  updatedb Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Koblinger Egmont Open/Closed:  Closed
Release:  None Fixed Release:  4.2.0
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-31 jay StatusNone Fixed
    Open/ClosedOpen Closed
2004-10-30 jay Fixed ReleaseNone 4.2.0
2004-10-16 jay CategoryNone updatedb
2003-05-28 jay Originator NameKoblinger Egmont &lt;egmont@uhulinux.hu&gt;
    Originator Email

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code