[Tiki-devel] Ubuntu workflow file permissions problem
Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I installed Ubuntu for my Tiki workflow but am having problems with file permissions. When I try to compile a theme, I get errors like this: error: Cache file temp/templates_c/en_classic^e25f244fed1033ebba5e1dbcf6879325e27d2d5a_0.file.tiki-show_page.tpl.php is not writable error: Cache file temp/public/codemirror_modes.js is not writable error: Cache file modules/cache/mod-3950d803c4ed09b131c78e5cbb7db2ce is not writable so I do a sudo chmod -R 777 on the directories involved and then can run php console.php scss:compile MyTheme -- once. But the next time I try to compile, I get the error again, so I need to reset the permissions again, so something is not right. I need to find out how to set permissions to permanently fix this. Most of the files and directories have permissions like -rw-r--r-- 1 gary_c-l www-data 3095 Apr 9 19:41 INSTALL And the directories and files in the error messages have drwxrwxrwx 9 gary_c-l www-data 4096 Apr 28 18:27 temp (gary_c-l is my user in this installation. I had to set gary_c-l as owner in order for PhpStorm and other applications to be able to make file changes, unless there is another way to achieve that.) How can I set ownership or permissions so that I can compile theme files without having to reset permissions every time? Any help would be appreciated. -- Gary _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel