Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

mkdir permission

by seafree (Novice)
on Jan 08, 2019 at 16:18 UTC ( [id://1228217]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; 
    +then
        umask 002
    else
        umask 022
    fi
    
  2. or download this
    my @archivos = $cgi->param("archivos");
    my $inst = $cgi->param("inst");
    ...
    my @nombre_archivos = ("NI","RP","RDZ","CRF");
    my $upload_dir = "/var/www/html/public_html/rev/$inst/$anio-$mes-$dia"
    +;
    mkdir $upload_dir, 0775;
    
  3. or download this
    #/var/www/html
    drwxr-xr-x.  5 apache apache    4096 Dec 20 15:00 public_html
    
  4. or download this
    Software error:
    
    No such file or directory at /var/www/cgi-bin/programs/upload_modif_ok
    +.cgi line 49.
    
  5. or download this
    open ( UPLOADFILE, ">$upload_dir/$anio-$mes-$dia-$nombre_archivos[$ind
    +]" ) or die "$!";
    
  6. or download this
    For help, please send mail to the webmaster (root@localhost), giving t
    +his error message and the time and date of the error.
    
  7. or download this
    [Tue Jan 08 09:43:34.876310 2019] [cgi:error] [pid 31695] [client...] 
    +AH01215: [Tue Jan  8 09:43:34 2019] upload_modif_ok.cgi: No such file
    + or directory at /var/www/cgi-bin/programs/upload_modif_ok.cgi line 4
    +9., referer: http://...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1228217]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found