Is it bad for my web document folder to be user accessible?

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



On Wed, 2005-09-21 at 11:22 +0900, Dave Gutteridge wrote:
> On my computer, really the only user is me, sometimes being a regular
> user, and sometimes being a super user.
> 
> Should I make a group that includes me in regular user mode, or somehow
> grant permissions to me as an individual.
> 
> And... um... how do I do that?
> 
> Is it:
> chmod 775 -R /var/www/html/
> 
----
I find that it's safer to not use octals but rather absolutes...

chmod g+w -R /var/www/html

but I would think in your situation, you might want to create a symlink
to a folder within your home directory...

mkdir /home/dave/web-files
chmod g+w,o+w /home/dave/web-files
ln -s /home/dave/web-files /var/www/html/web-files

and to access, you would point mozilla to localhost/web-files

this may cause some issues with SELinux - you might have to permission
that directory for SELinux
http://fedora.redhat.com/docs/selinux-apache-fc3/

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[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