|
From: Luka P. <no...@sk...> - 2002-04-02 21:36:39
|
hi all. i spent first two hours just now on making some adjustments to environment on sourceforge, specificaly (s)ftp space and shh. in fact by loging to ssh <username>@openfc.sourceforge.net i discovered neat shell environment suitable for most of scripting etc. so first i did the following: made a quicklink from my home dir to openfc ln -s /home/groups/o/op/openfc/ openfc so i don't need to go through the tedious cd /home/groups.. changed my umask in .bash_profile from 022 to 002 so that whichever file or directory i create through the shell or scripts is writable by anyone in the group umask 002 unfortunately this doesn't work for ftp uploads. although i tried to find some method of setting permissions through ftp the server on the other side seems to be all too limited for now, so the best way to deal with the intention to enable changing files and directories by everyone in openfc group is to ssh yourself to sourceforge, chdir to openfc/htdocs folder and issue "chmod g+w -R *" i created a small script that anonymously logs onto openfc cvs and checksout whole "code" folder to htdocs/cvs/code. i've put that into my crontab so it does that every night. if one needs to update it manually there's a same script (quite user friendly) in /home/o/op/openfc/ folder (cvs-update), which can be run by ./cvs-update. the script also changes permissions if there are any new files in cvs that would need to be changed separately on ftp, although i don't see any sense in that. the incorporation into html-dev site on openfc.sourceforge can be done easily: we just had phpopenfc dir which is supposed to be the 'nighly' mirror of cvs. now all it needs to be done is throw away that dir and make a symlink instead like: ln -s /home/groups/o/op/openfc/cvs/code/PHP\ openfc/ phpopenfc in fact there's already a link phpopenfc_ which can be just move-ed: mv phpopenfc_ phpopenfc after the old phpopenfc folder is removed, of course. that's all for now. just a small stickit note for you, adam,: don't forget: reply-to for this m-list and you might just do chmod g+w -R /home.../openfc/htdocs/* if you find time in next two or three days. love, luke luka princic | nova at skylined.org | @beeblebrox:lndn 54 22 AA 35 0F BF F1 E1 78 7A 7C E5 EB 09 F4 8B EF 5D 17 F1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Nothing is ever accomplished by a reasonable man. -- George Bernard Shaw |