"grep" not working

Dirk Moolman DirkM
Thu May 17 04:10:42 PDT 2007


>From: linux-users-bounces at linux-sxs.org
[mailto:linux-users-bounces at linux->sxs.org] On Behalf Of Vu Pham
>Sent: 17 May 2007 12:47 PM
>
>On Thu, 2007-05-17 at 09:06 +0200, Dirk Moolman wrote:
>> This is something I haven't seen before.  One of my developers, uses
>> grep to assist in client queries (to find files and info in unload
>> files).
>> 
>> When she does a grep on certain strings, she can't find anything, but
>> when I do the same grep, logged in as root, I find data.
>> 
>> What would cause this ?    I will have to compare her login with
root's
>> login, but I would appreciate some suggestions / tips from the
guru's.
>> 
>> 


>I know my answer is not well-thought before posting, but you mentioned
>grep to "find files", so maybe the difference is her account has no
>permissions to access some directories which root can ?


Unfortunately not, I just tested one of the files.  The file has
permissions:

-rwxrwxrwx  1 root root     (full permissions)


Just to make double sure, I also VI'd the file

Dirk



Disclaimer: http://196.33.167.70/disclaimer





More information about the Linux-users mailing list