Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 17th April 2012, 01:06
lobius lobius is offline
Member
 
Join Date: Apr 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Of course, works as root.

Code:
root@rule303:~# cd /var/www/clients/client2/web4
root@rule303:/var/www/clients/client2/web4# cd web
root@rule303:/var/www/clients/client2/web4/web# ls
administrator      eurofxref-daily.xml  libraries    robots.txt
cache              images               LICENSE.txt  stats
cli                includes             logs         templates
components         index.php            media        tmp
configuration.php  installation         modules      web.config.txt
custom_code        joomla.tar.bz2       plugins
error              language             README.txt
root@rule303:/var/www/clients/client2/web4/web# chown -R www-data:www-data /var/www/clients/client2/web4/web
root@rule303:/var/www/clients/client2/web4/web# find . -type f -exec chmod 644 {} \;
root@rule303:/var/www/clients/client2/web4/web# find . -type d -exec chmod 755 {} \;
root@rule303:/var/www/clients/client2/web4/web#
Is there a way to fine tune the permissions without a blanket on/off for the jail kit?
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot create new ssh users for one client wildnux Server Operation 0 9th February 2011 02:10
Problem with Clamav + samba configuration wammy28 HOWTO-Related Questions 8 31st January 2009 20:12
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 19:37
Can't enable SSH access for users TheFuzzy0ne Installation/Configuration 3 8th August 2008 17:53
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 17:11


All times are GMT +2. The time now is 19:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.