[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting umask correctly (Re: svn update working for anyone?)



Il giorno Fri, 5 Oct 2007 14:48:45 +0200
David Paleino <d.paleino@gmail.com> ha scritto:

> 
> ...
> 
> (instead, I'm trying to investigate why the website updates its <address> info
> (maybe also updates _at_ _all_) only if the committer is me
> (hanska-guest)... :( )

Solved the mistery, thanks to Alioth admins.

I had a umask 022 set. This means:

user:rwx
group:r-x
other:r-x

So the website got updated only when _I_ (hanska-guest) executed the
post-commit hook (i.e. when I "svn commit"'ed something).

Now this has been fixed, my umask is now set to 002 (rwxrwxr-x), and the files
permissions have been changed to g+w.

PLEASE NOTE, EVERYONE USING THE SSH ACCESS TO alioth.debian.org, SET YOUR UMASK
TO 002 IN YOUR ~/.bashrc (or ~/.bash_profile, or whatever shell you're using).

This will avoid unexpected breakages of the website (as happened a while ago
when Charles tried to manually update the website).


Have a nice day,
David

(/me feels a lot like a project admin in these days, *lol*)

-- 
 . ''`.  Debian maintainer | http://snipurl.com/qa_page/
 : :'  :  Linuxer #334216  |  http://www.hanskalabs.net/
 `. `'`    GPG: 1392B174   | http://www.debianizzati.org/
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: