I am using opensuse. I have created a directory projects under /srv and set its permissions to 770 and chown -R wwwrun:developer /srv/projects/
I have used
usermod -a -G developer username
but I can't access that directory, I always get permission denied entry.
I want to clone a git repo in projects so that only apache and group of developer able to rwx it.
1 Answer
Try this:
(in addition to what you have done)
#chgrp -R developer /srv/projects/
-
Because it is already under the same group, how above statement going to make difference? opening new term or logging again worked.codescope– codescope2013-09-26 23:26:35 +00:00Commented Sep 26, 2013 at 23:26
.gitrepository storage) - too dangerous.chown -R git:developer.git` andchmod 770 -R .git. is that right?