CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Why chmod -R a+rwx files?
Pages: [1]

Author Topic: Why chmod -R a+rwx files?  (Read 1693 times)

pdowling

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 4
Why chmod -R a+rwx files?
September 07, 2010, 05:15:50 pm
In step 7 of the upgrade script...

http://wiki.civicrm.org/confluence/display/CRMDOC32/Upgrade+Drupal+Sites+to+3.2#UpgradeDrupalSitesto3.2-7.Unpackthelatestpackageandverifypermissions

...it says to do this...

cd <drupal home>/sites/default
chmod -R a+rwx files

Why is it necessary to give read/write/execute permissions to ALL files and folders under the files directory?  Really seems like overkill.  Then it gives no instructions to put the permissions back to something reasonable.

Were these instructions intentional?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Why chmod -R a+rwx files?
September 07, 2010, 07:24:15 pm

U need to set the value so that the apache user can create files and directories under that directory

its hard to generalize / be more specific since different folks have apache running as different user/groups. hence the method is quite loose but applicable to pretty much all installs

can u check and see what drupal wants and how it does the needed checks?

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Why chmod -R a+rwx files?

This forum was archived on 2017-11-26.