Results 1 to 2 of 2

Thread: Help setting user permissions

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Thanked 0 Times in 0 Posts
    Rep Power

    Default Help setting user permissions

    I have a ubuntu lts server setup. I connect to it using ssh through terminal.

    I created a new user on the server, added him to a group, and am trying to set group permissions so they can write to the /var/www directory.

    The problem I have is if I connect to the server using root, I can write to the /var/www folder. If I use the new user I created I cannot.

    I'm looking for a step by step walk-through on how I can configure this from the ssh terminal window.

    Thank you in advance!

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Thanked 824 Times in 511 Posts
    Rep Power


    It is recommended that you use root only or different users for /var/www/ directory other than www-data (or apache user) for security. Are you looking for virtual hosting or a single website? For virtual hosting I recommend creating /home/www/$username pattern with their own permissions.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. vsftpd virtual user permissions
    By charless in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 18th May 2010, 01:07 AM
  2. Replies: 1
    Last Post: 29th April 2010, 04:13 AM
  3. User not able to write on a file with 770 permissions
    By abhinav4 in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 5th April 2010, 04:06 PM
  4. User rights and permissions
    By ProfiMK in forum Ubuntu / Debian
    Replies: 3
    Last Post: 11th February 2010, 03:02 PM
  5. Secure vsftpd FTP permissions on anonymous user uploads
    By nixcraft in forum Getting started tutorials
    Replies: 6
    Last Post: 20th December 2006, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts