Jump to content
herb200mph

What Files, What Permissions

Recommended Posts

 

Thanks Scott001 for your suggestion.

I added this to my revive folder so i can just execute it to set the necessary permissions.

```permissions.sh (0777)

#!/bin/bash

# https://forum.revive-adserver.com/topic/4922-what-files-what-permissions/?do=findComment&comment=12596

chmod -R a+w var
chmod -R 444 var/*.conf.php
chmod -R a+w var/plugins/
chmod -R a+w var/templates_compiled/
chmod -R a+w www/images/
chmod -R a+w www/admin/plugins/

# However, when I protect the files below, some of which contain passwords to my database, the software throws the permission warnings.

chmod -R 644 var/cache/*.php
chmod -R 644 var/cache/*.php.meta

```

Edited by Artistan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...