[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Got a puzzle here



On Friday 01 November 2019 13:37:02 mick crane wrote:

> On 2019-11-01 17:20, Gene Heskett wrote:
> > On Friday 01 November 2019 13:12:42 mick crane wrote:
> >> On 2019-11-01 17:01, mick crane wrote:
> >> > On 2019-11-01 16:47, mick crane wrote:
> >> >> On 2019-11-01 16:18, Gene Heskett wrote:
> >> >>> lsof |grep www-data shows me several hundred lines of "no
> >> >>> perms" errors
> >> >>> without nameing the source of the errors other than apache2. 
> >> >>> How do I
> >> >>> find the file causing those errors?  Thats question #1 here.
> >> >>
> >> >> excuse my ignorance.
> >> >> You've got files have no permissions ?
> >> >>
> >> >> "tree -pufid /var/www/html | less"
> >> >
> >> > Ok I read the man page a bit and is probably
> >> > "tree -aguf /var/www/html | less"
> >>
> >> I'll get my coat
> >> need the "p" if want to see if anything has funny permissions
> >> "tree -pagu /var/www/html | less"
> >> is more readable then if spot one can look where it is.
> >
> > But I find I need tree installed before it will work. :)
>
> that's weird :)
> I didn't know it was there.
> Seems handy for recursively looking through a directory.

That was my assumption, and might help keep track of what apache2 can 
see. Except I just ran it, and it didn't show to the full path depth. 
Perhaps it has a depth control?


> mick


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: