Changes between Version 4 and Version 5 of setup_suexec_directory


Ignore:
Timestamp:
Apr 4, 2008, 1:48:38 PM (13 years ago)
Author:
Daniel Kahn Gillmor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • setup_suexec_directory

    v4 v5  
    1414if [ ! -d "$base" ]; then mkdir "$base"; fi
    1515
    16 sitepath=$(getent passwd | grep "^$user" | cut -d: -f6 | cut -d/ -f1,2,3,4,5,6)
     16sitepath=$(getent passwd "$user" | cut -d: -f6 | cut -d/ -f1-6)
    1717site=$(echo "$sitepath" | cut -d/ -f6)
    1818group=$(echo "$sitepath" | cut -d/ -f4)