Results 1 to 8 of 8

Thread: permissions on admin's httpd.conf file...

  1. #1
    Join Date
    Mar 2004
    Posts
    172

    permissions on admin's httpd.conf file...

    seem to be screwed after converting to the custombuild script.

    Code:
    [root@test admin]# ls -la /usr/local/directadmin/data/users/admin
    total 84
    drwx--x--x 4 diradmin diradmin  4096 Jun  5 13:37 .
    drwx--x--x 4 diradmin diradmin  4096 Jun  5 13:35 ..
    -rw------- 1 diradmin diradmin     0 Jun  5 00:56 crontab.conf
    -rw-r--r-- 1 diradmin diradmin 23356 Jun  5 13:36 DAdminUsage.bytes
    drwx--x--x 2 diradmin diradmin  4096 Jun  5 13:32 domains
    -rw------- 1 diradmin diradmin     0 Jun  5 13:32 domains.list
    -rw-r--r-- 1 root     ftp          0 Jun  5 13:32 ftp.passwd
    -rw-r--r-- 1 root     root         0 Jun  5 13:14 httpd.conf
    -rw------- 1 diradmin diradmin    14 Jun  5 00:56 ip.list
    -rw------- 1 diradmin diradmin   243 Jun  5 13:36 login.hist
    drwx------ 2 diradmin diradmin  4096 Jun  5 13:35 packages
    -rw------- 1 diradmin diradmin    11 Jun  5 13:34 packages.list
    -rw------- 1 diradmin diradmin   209 Jun  5 13:36 reseller.allocation
    -rw------- 1 diradmin diradmin   463 Jun  5 00:56 reseller.conf
    -rw------- 1 diradmin diradmin   121 Jun  5 13:37 reseller.usage
    -rw------- 1 diradmin diradmin   164 Jun  5  2007 ticket.conf
    -rw------- 1 diradmin diradmin   598 Jun  5 00:56 user.conf
    -rw------- 1 diradmin diradmin     4 Jun  5 13:35 users.list
    -rw------- 1 diradmin diradmin   116 Jun  5 00:56 user.usage
    -rw-r--r-- 1 diradmin diradmin  1353 Jun  5 00:56 u_welcome.txt
    Shouldn't the file be owned by diradmin?
    David M. Shirley CDTT (Certified Duct Tape Technician)

    Rock Solid Linux Web Hosting
    http://www.webquarry.com

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,455
    If the file "httpd.conf" does not exist it does "echo > /usr/local/directadmin/data/users/admin/httpd.conf". You can just do: "chown diradmin:diradmin /usr/local/directadmin/data/users/admin/httpd.conf"
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    Mar 2004
    Posts
    172
    Yeah, that is what I did to get it working. Did your build script fail to set ownership right or was that DA that barfed?
    David M. Shirley CDTT (Certified Duct Tape Technician)

    Rock Solid Linux Web Hosting
    http://www.webquarry.com

  4. #4
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,455
    It didn't change the ownership, fixing that now.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  5. #5
    Join Date
    Mar 2004
    Posts
    172
    Cool. Thanks. I'll let you know if I find anything else.
    David M. Shirley CDTT (Certified Duct Tape Technician)

    Rock Solid Linux Web Hosting
    http://www.webquarry.com

  6. #6
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,455
    It's fixed now
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  7. #7
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,122
    Martynas,

    When you say it's fixed now, do you mean it'll work after custombuild is updated? Or do you mean custombuild automatically updates itself and it will be fixed the next time it's run without any extra work on the admin's part?

    Thanks.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  8. #8
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,455
    No, it needs an update "./build update" or "./build update_script".
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

Similar Threads

  1. Could not include user's httpd file to the main httpd.conf
    By moimel in forum Admin-Level Difficulties
    Replies: 3
    Last Post: 04-08-2009, 02:22 PM
  2. Replies: 1
    Last Post: 01-24-2008, 07:44 AM
  3. edit httpd.conf file?
    By Rebecca in forum Apache (WWW)
    Replies: 9
    Last Post: 11-14-2007, 04:16 PM
  4. custom httpd.conf file
    By wdatkinson in forum Admin-Level Difficulties
    Replies: 3
    Last Post: 02-08-2006, 08:17 PM
  5. How to edit the httpd.conf file?
    By fehers in forum Apache (WWW)
    Replies: 2
    Last Post: 09-24-2004, 11:03 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
  •