[web-team] Privileges for Vasu

Vasudevan Kottilil vasudevank2 at gmail.com
Mon Jul 6 07:30:37 PDT 2009


Thanks again Rick, Andrew, Mark for the opportunity. Please let me know for
assistance with any other tasks and I can definitely try.

Vasu

On Sun, Jul 5, 2009 at 7:54 PM, Rick Moen <rick at linuxmafia.com> wrote:

> [Adding web-team mailing list to distribution, using its alias address
> of "webmaster at svlug.org".]
>
> Quoting Vasudevan Kottilil (vasudevank2 at gmail.com):
>
> > Thank you Rick and others for giving me an opportunity to volunteer with
> > svlug.
> >
> > I have updated the pages and the site looks ok after the changes.
>
> Looks pretty good.  I notice that the front-page "Events" column (file
> events.html) still had generic data for September:
>
>   Wednesday, Sept. 2nd, 2009 General Meeting
>   TBA
>   Topic: TBA
>
> However, we now have detailed meeting information for September on the
> meetings page (meetings.php).  So, I'm adding that.
>
>  Wednesday, Sept. 2nd, 2009 General Meeting
>  Brendon Baumgartner
>  Topic: Zabbix as Your Sidekick
>
> (Just as a reminder to all, and you probably already know this, Vasu, we
> try to make sure the Events column includes details of the next two
> general meetings and the next two installfests.)
>
> > The only task that I could not do was committing the changes on svn - got
> a
> > permission denied message. I did add a line to this file
> > (/srv/svn/web/conf/passwd) at first. These are files updated today -
> > events.html, meetings.php, prevmeet.php.
>
> I hope you're aware that the syntax of that file is username = password,
> and that the password in question (stored in plaintext) has nothing to
> do with your ssh login password.
>
> You should set that svn password to something convenient, and it should
> be something differing from your ssh login password.
>
> meetings.php and prevmeet.php look perfect.  Thanks!
>
> Now, let's try to fix your svn problem.  Attempting replicate your login
> (temporarily becoming user "vasu"):
>
> $ svn ci -m "Update meetings.php, prevmeet.php, events.html to July"
> meetings.php prevmeet.php events.html
> svn: Can't open file '/srv/www/svlug-main/.svn/lock': Permission denied
>
> Aha, that's because the /srv/www/svlug-main/.svn/ directory is owned by
> group www-data , and you've not been added to group www-data.
>
> After correcting that omission:
>
> $ svn ci -m "Update meetings.php, prevmeet.php, events.html to July"
> meetings.php prevmeet.php events.html
> Authentication realm: <svn://localhost:3690>
> 02ad40a7-6131-0410-b702-9cc8296e38bd
> Password for 'vasu':
> Sending        events.html
> Sending        meetings.php
> Sending        prevmeet.php
> Transmitting file data ...
> Committed revision 110.
> $
>
> For some reason, your account had its .subversion directory and .viminfo
> file owned by the root user.  (I don't know how that happened, but it's
> clearly wrong.)  I've chowned those back to vasu:vasu, and also created
> the site-docs and www symlinks that are supposed to be there to assist
> you.  So, what was...
>
> $ ls -al /home/vasu
> total 24
> drwxr-sr-x  3 root staff 4096 Jul  5 16:33 .
> drwxrwsr-x 10 root staff 4096 Jul  5 15:16 ..
> drwxr-sr-x  3 root staff 4096 Jul  5 16:33 .subversion
> -rw-------  1 root staff 8491 Jul  5 16:30 .viminfo
>
> ...has become:
>
> $ ls -al /home/vasu
> total 24
> drwxr-sr-x  3 root staff 4096 Jul  5 22:47 .
> drwxrwsr-x 10 root staff 4096 Jul  5 15:16 ..
> drwxr-sr-x  3 vasu vasu  4096 Jul  5 16:33 .subversion
> -rw-------  1 vasu vasu  8491 Jul  5 16:30 .viminfo
> lrwxrwxrwx  1 vasu vasu    14 Jul  5 22:47 site-docs -> /srv/site-docs
> lrwxrwxrwx  1 vasu vasu    20 Jul  5 22:47 www -> /srv/www/svlug-main/
>
> Things should work a good bit better for you, now!
>
> Thanks again!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/web-team/attachments/20090706/7bde2e5a/attachment.htm


More information about the web-team mailing list