Re: [users@httpd] Fwd:

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

 



Seems to wokr now I cp the file with a different name
the only thig i can think of is this file was made by
user Mark then it got a "chown root:root" then copied
where as this new file was just copied as root period.
 Any ideas as to why this happened and how I can
protect it from happening again would be welcome. 
Also for those who are mirroring the site im on cable
there is little there just something for me to learn
with mainly  .  You are killing my bandwidth and I
doubt You will hurt the server I dont think the pipe
is big enough.  So please stop I promise there is no
real porn on it If i decide to post some Ill let you
know.

--- Markus Mayer <mymaillists@xxxxxx> wrote:

> Hmmm, looks like I missed the bit where you talked
> about the permissions - 
> sorry.
> 
> For the files, I would suggest first permissions of
> 644.  Having them set as 
> executable is actually not a good idea, although in
> this case it will most 
> likely change nothing.
> 
> What entries are there in the apache logs?  In
> particular you should see some 
> entries in the error log file which are relevant to
> the accessing of that 
> file.  
> 
> Are you able to add other files to the directory
> then access them without 
> problems?  What happens when you give the file a
> different name, such as 
> snapshot.gif, regardless of the fact that its a png
> file.
> 
> What happens when you telnet to port 80 (telnet
> localhost 80) then type 
> "GET /<filename>"  There you should get masses of
> data back.
> 
> Markus
> 
> 
> 
> On Wednesday 13 July 2005 17:29, None Blank wrote:
> > yes as I ahve said I have 2 files in the same dir.
> > They both have been chmoded 755 and one will work
> one
> > will not.  Both files have the same owner but one
> was
> > added about a week after another.
> >
> > --- Markus Mayer <mymaillists@xxxxxx> wrote:
> > > Most likely you're looking at a permissions
> problem.
> > >  Look at the file
> > > permissions for the files in the directory to be
> > > sure the apache process can
> > > access them.
> > >
> > > Markus
> > >
> > > On Wednesday 13 July 2005 14:59, None Blank
> wrote:
> > > > Hi Im having the following 403 forbidden error
> > > > "[Wed Jul 13 08:39:38 2005] [error] [client
> > >
> > > 127.0.0.1]
> > >
> > > > (13)Permission denied: access to
> > >
> > > /porn/Screenshot.png
> > >
> > > > denied"
> > > >
> > > > Here is what Im using apache 2.0.52 on a
> fedora
> > >
> > > core 3
> > >
> > > > install and selinux.  Everything is defaults
> and
> > >
> > > Ive
> > >
> > > > searched every how-to I can find for 2 months
> now.
> > > >
> > > > My permissions are right im trying to access
> this
> > >
> > > file
> > >
> > > > Screenshot.png it is in the sam directory and
> has
> > >
> > > the
> > >
> > > > same permissons as screenshot.JPG no
> differences
> > >
> > > both
> > >
> > > > files have the same owner.  I can access
> > > > screenshot.JPG without a problem.  I just
> simply
> > >
> > > mv
> > >
> > > > the file into the directory gave it a chmod
> 755
> > >
> > > and it
> > >
> > > > worked fine.  I ahve never had this problem
> before
> > >
> > > I
> > >
> > > > have always used apache 1.3x though and not
> > >
> > > selinux.
> > >
> > > > Was upgrading to 2.x my problem?  Thanks for
> any
> > >
> > > help
> > >
> > > > and ideas.
> >
> >
>
---------------------------------------------------------------------
> >
> > > The official User-To-User support forum of the
> > > Apache HTTP Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html>
> for
> > > more info.
> > > To unsubscribe, e-mail:
> > > users-unsubscribe@xxxxxxxxxxxxxxxx
> > >    "   from the digest:
> > > users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > > For additional commands, e-mail:
> > > users-help@xxxxxxxxxxxxxxxx
> >
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> >
> >
> >
>
---------------------------------------------------------------------
> > The official User-To-User support forum of the
> Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html>
> for more info.
> > To unsubscribe, e-mail:
> users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux