Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96353 - portage-utils: qfile does not handle directories
Summary: portage-utils: qfile does not handle directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-17 02:28 UTC by Bruno
Modified: 2005-06-17 05:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2005-06-17 02:28:41 UTC
qfile (q qfile) does not handle requests for directories. 
 
In addition it does not like request for '/etc/./yp.conf' or similar as they 
can be constructed easily by: 
cd /etc 
find -type f -exec qfile /etc/{} \; 
  
To make second part less important, an applet for searching ortheaned files 
(files and folders owned by no package) would be good. 

Reproducible: Always
Steps to Reproduce:
1. qfile /etc 
Actual Results:  
$? = 1 
No package owning the directory is found 

Expected Results:  
All packages owning files in /etc should be listed.
Comment 1 SpanKY gentoo-dev 2005-06-17 05:36:45 UTC
ive fixed this in cvs already

qfile wasnt chopping newlines properly from CONTENTS