Can't access files at localhost

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




--- Craig White <craigwhite@xxxxxxxxxxx> wrote:

> On Thu, 2005-10-13 at 10:10 -0700, Steven Vishoot
> wrote:
> > 
> > > 
> > Wasnt that mentioned a while back about the
> permission
> > on the directory. 
> ---
> possibly
> ---
> > Secondly like said before isnt
> > apache seen as an other user?
> ---
> on fedora/rhel/centos system the packaging creates
> user and group apache
> and that is the user/group by default that is
> serving web pages
> ---
> >  If it is in some (like
> > users) other group wouldnt that be a big no no
> since
> > that would be a security risk? correct me if i am
> > totally wrong on this assumption.
> ---
> of course - if /home/dave is octal 0700 (_rwx______)
> then no one but the
> user dave who owns the system can descend into the
> folder.
> 
> if you 'chmod o+x /home/dave' it becomes octal 0701
> (_rwx_____x) and
> then everyone can descend into the folders and even
> execute files that
> they have permissions for. That means that files
> created with default
> umask of 755 would be executable.
> 
> Do you have a better solution?

It really all depends on what he wants to do with it.
if its going to be accessed by everyone or is just for
him? that is something that would have to be decided
before any solution can be thought of.
 
> Craig
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 


Steven
 

"On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows or better'. So I installed Linux."

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux