berman-lab / ymap

YMAP - Yeast Mapping Analysis Pipeline : An online pipeline for the analysis of yeast genomic datasets.
MIT License
6 stars 6 forks source link

Permissions for files on the webserver #25

Open vladimirg opened 8 years ago

vladimirg commented 8 years ago

All files in the repo (and especially in the users subfolder) should have permissions that make them writeable by the developers (but not by others, save for the web server).

Perhaps can be achieved by having a group (i.e., bermanlab-dev) which contains both the developer accounts and the the www-data account.

vladimirg commented 8 years ago

Rob added a bermanlab-web gorup, which contains www-data and the developer users. The 'users' folder has the setguid bit set, so the code doesn't need to know the exact group. However, the code should take care to set all files g+w, and we should update the Ymap installation wiki to reflect this specification.