Search results

  1. Q

    'force gid' not working

    in /etc/group i have nogroup:x:90000: and the force gid is set to 90000 It is the Scientific Linux distribution. Here is /proc/version output Linux version 2.6.9-78.0.8.EL.cernsmp (root@lxcert-i386-old.cern.ch) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Nov 27 15:19:42 CET 2008
  2. Q

    'force gid' not working

    Yes, but all scripts will run as nobody:nobody The only thing I ever had in this log is 2009-02-12 06:45:11.630 sh: /usr/local/bin/ftpwho: No such file or directory which puzzled me a little (is LiteSpeed aware of presence of ftp server and trying to get some info from it?). But it has nothing...
  3. Q

    'force gid' not working

    by 104555 I ment -r-sr-xr-x in octal notation not the size. sorry for the confusion. So besides size and timestamp, they look exactly the same old one -r-sr-xr-x 1 root root 11680 Feb 6 07:56 lscgid.3.3.24 new one -r-sr-xr-x 1 root root 15138 Feb 11 08:53 lscgid.3.3.24
  4. Q

    'force gid' not working

    Ok now it is root:root 104555 and I'm getting "503 Service Unavailable The server is temporarily busy, try again later!" Here is the log output: 2009-02-11 11:22:11.395 [NOTICE] Loading LiteSpeed/3.3.24 Standard ... 2009-02-11 11:22:11.499 [NOTICE] [ADMIN] server socket...
  5. Q

    'force gid' not working

    Yes, you are right. I just forgot to change the owner of a file to root. Let me try again.
  6. Q

    'force gid' not working

    Personally, I like the old version better :) With the original 3.3.24 version I managed to prevent users from accessing files outside their domains and to even lock some users inside their directories, using php_admin_value and open_basedir, as per your suggestion in other post. However, with...
  7. Q

    Directory-based access control

    php_value inheritance Perfect! Thank you. Exactly what I wanted. Now I'm stuck with php_admin_value inheritance. I created a context for each project (I have 60 of them - should i expect any serious performance impact?) and in 'Apache Style Configuration' for each context I put the...
  8. Q

    Directory-based access control

    Anybody? I wonder how come you guys have such small community around such great product. Reading product description again: "Access Control Access control rules can be set at server, virtual host and per-directory (context) level." Can this '(context)' be applied to my situation? I...
  9. Q

    Directory-based access control

    I'm trying to come up with a solution which allows me to implement directory-based access control. Here is an example: I have several domains domain1.com domain2.com ... domainN.com I have SuExec enabled to make sure that users can only access their own files, belonging to their domain. Now...
  10. Q

    'force gid' not working

    I actually found a better solution $gid = getmygid(); echo "gid=".$gid; but still it does not show 'forced' gid value
  11. Q

    'force gid' not working

    >You can have PHP script to print "UID/GID" that PHP process run as. Ok, I modified my scripts to add output of UID/GID as follows: $uid = posix_getuid(); echo var_export(posix_getpwuid($uid),true); but it looks like I'm just getting the GID value from /etc/passwd. What whould be the correct...
  12. Q

    'force gid' not working

    The way I understood it, the main reason moving from Apache to Lightspeed is to have secure shared environment without compromising performance. However, it appears that it cannot be done with Lightspeed, unless I'm doing something wrong. Please let me know whether I’m indeed missing something...
Top