Changeset 1763


Ignore:
Timestamp:
01/04/07 17:12:21 (7 years ago)
Author:
remi
Message:

modification de l'appel systeme à chown, en appel au chown builtin

Location:
alternc/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/src/mail_add

    r1759 r1763  
    1414delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; 
    1515 
    16 if (!($mailname =~ /^([a-z0-9_\+-][a-z0-9_\+\.-]+\_[a-z0-9\.-]+)$/)) { 
     16if (!($mailname =~ /^([a-z0-9_\+\-][a-z0-9_\+\.\-]+\_[a-z0-9\.-]+)$/)) { 
    1717    die "Email is incorrect."; 
    1818} 
     
    3838foreach(@todo) { 
    3939    mkdir($_); 
    40     system("/bin/chown 33:$uid '$_'"); 
     40    chown(33, $uid, $_); 
    4141} 
    4242 
  • alternc/trunk/src/mem_add

    r1745 r1763  
    2929 
    3030mkdir($PTH); 
    31 system("/bin/chown 33:$uid '$PTH'"); 
     31chown(33, $uid, $PTH); 
    3232system("/bin/chmod 02770 '$PTH'"); 
    3333 
Note: See TracChangeset for help on using the changeset viewer.