Jump to content

Desai

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Posts posted by Desai

  1. I like the minimalist design of your site. However I think it looks too corporate/formal, for a site of this nature.

     

    A bit of extra warmth I think would work wonders.

     

     

     

    I recommend you make a voting system for banning those who post useless comments/insults.

     

    A site this has the potential to do a lot of good, but I think it's extremely important to remember how fragile some peoples emotions are... especially if they take the risk of exposing their problems on-line. But I'm sure you've already considered all that.

     

     

    Overall, I like. Nice work.

  2. Theres a few things I do to make administering websites on Debian easier, rather then needing to sudo all the time.

     

    The first is to create a new group www, join that group, then give that group permissions to write to the /var/www directory.

     

    sudo addgroup www
    sudo gpasswd -a yourusername www
    

     

    You can also make yourself an administer of the www group, this will allow you to add and remove users from the group.

    sudo gpasswd -A yourusername
    

     

    From there all you really need do is set the permissions properly on the /var/www directory and its conents.

    sudo chmod ugo-wrx /var/www
    sudo chmod u+wrx,g+wrxs,o+rx /var/www
    find /var/www -type f sudo chmod u+rw,g+rw,o+r {} \;
    find /var/www -type d sudo chmod u+rwx,g+rwx,o+rx {} \;
    

     

    You should now be able to freely write / read from within the /var/www directory and any files you create will belong to you and the www group.

     

    Theres more you can do including creating a similar policy for the /etc/apache2/sites-* directories. Hopefully this small example will give you the idea.

     

    Geesh, I always have silly problems like this when using Linux.

     

    Gonna give it a try now, but I really don't like using the terminal all the time :)

     

    Q: In "sudo gpasswd -a yourusername www", should "gpasswd" be replaced by my password?

     

    Thanks :D

     

    D

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.