January 2012
2 posts
Use of expression in Access Rule or role based...
    array(       ‘allow’,  // or ‘deny’       // optional, list of action IDs (case insensitive) that this rule applies to       // if not specified, rule applies to all actions       ‘actions’=>array(‘edit’, ‘delete’),       // optional, list of controller IDs (case insensitive) that this rule applies to       ‘controllers’=>array(‘post’, ‘admin/user’),       // optional, list of...
Jan 1st
add file var www and add user to group
If you make /var/www writeable by its group and add the user to the group, that user will not have to use sudo. Try this: sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www (chown -R newuser:newgroup) sudo chmod -R g+rw /var/www The user should then be able to edit /var/www/ files without hassle. The first line adds the user to the www-data group, the second...
Jan 1st