Sponsored Content
Special Forums Windows & DOS: Issues & Discussions visualsvn server hooks do not work Post 302546116 by DGPickett on Wednesday 10th of August 2011 11:49:08 AM
Old 08-10-2011
If the directory is already there, and mkdir errors, perhaps it stops processing the file?
 

7 More Discussions You Might Find Interesting

1. Solaris

(Yet) Another newbie qstn - X-server won't work!

Hi everyone, I've just bought a sun ultra 60 and am a bit of a unix newbie, so bear with me here! I've just completed a fresh install of Solaris 9 and everything was going well until the machine rebooted. When the system is coming up, it prints the followinf message on-screen: The X-server... (7 Replies)
Discussion started by: alarmcall
7 Replies

2. UNIX for Dummies Questions & Answers

how to work on remote server

I have to work with many server. sometime I have to do a small stuff on a particular server. Instead of loggin onto the server, I can work remotely. right? how I can perform that ? Any help? thanks ajaya (5 Replies)
Discussion started by: ajaya
5 Replies

3. Solaris

Checking Server work load

Hey guys, I was task to look at a couple DNS servers for a co worker, Now they are running Solaris 2.6 on some Ultra 10 systems. How can I check the kind of load these systems are taking, I know that I can look at the network size and how many zones these servers are SOA of, but I looking in a... (3 Replies)
Discussion started by: aojmoj
3 Replies

4. Shell Programming and Scripting

Script that works on one server does not work on another

Hello all, The following script (sess.sh) runs fine and gives the correct output on a SunOS 5.9 ( default shell =/bin/ksh) but gives incorrect results on a SunOS 5.7 (default shell= /bin/sh). The script logs on to an oracle database and queries the total no of sessions running in the database... (6 Replies)
Discussion started by: luft
6 Replies

5. UNIX for Advanced & Expert Users

FTP Server doesn't work??

I appreciate iif anybody can help me with this issue. I set up a Linux FTP server which is authorized user ID from AD. I do some configuration on vsftpd.conf file but it doesn't work out. I copy these configuration, can you help me to check again as when i connect through browser it always give me... (2 Replies)
Discussion started by: cthinh
2 Replies

6. Red Hat

How to get server out through work proxy

Hi, I want to be able to get my server to update via yum through our work proxy. I have tried the usual method of exporting the http_proxy=http://username:password@domain.com but this does not work for me. I opce heard about a guy who set up a proxy on his XP laptop (Don't flame me I have... (0 Replies)
Discussion started by: pobman
0 Replies

7. UNIX for Advanced & Expert Users

Fetchmail multidrop mode to work with Zimbra server

Hi, We want to setup a multidrop configuration with our Zimbra server. Please help us to setup a .fetchmailrc file. We are using Fetmail 6.3.9 version. Single mails are fetching without any problems. What are the things to take care while setting up a multidrop? POP server: mail.company.com... (0 Replies)
Discussion started by: brittocj
0 Replies
MKDIR(3)								 1								  MKDIR(3)

mkdir - Makes directory

SYNOPSIS
bool mkdir (string $pathname, [int $mode = 0777], [bool $recursive = false], [resource $context]) DESCRIPTION
Attempts to create the directory specified by pathname. PARAMETERS
o $pathname - The directory path. o $mode - The mode is 0777 by default, which means the widest possible access. For more information on modes, read the details on the chmod(3) page. Note $mode is ignored on Windows. Note that you probably want to specify the mode as an octal number, which means it should have a leading zero. The mode is also modified by the current umask, which you can change using umask(3). o $recursive - Allows the creation of nested directories specified in the $pathname. o $context - Note Context support was added with PHP 5.0.0. For a description of contexts, refer to "Streams". RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 mkdir(3) example <?php mkdir("/path/to/my/dir", 0700); ?> Example #2 mkdir(3) using the $recursive parameter <?php // Desired folder structure $structure = './depth1/depth2/depth3/'; // To create the nested structure, the $recursive parameter // to mkdir() must be specified. if (!mkdir($structure, 0777, true)) { die('Failed to create folders...'); } // ... ?> ERRORS
/EXCEPTIONS Emits an E_WARNING level error if the directory already exists. Emits an E_WARNING level error if the relevant permissions prevent creating the directory. NOTES
Note When safe mode is enabled, PHP checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed. SEE ALSO
is_dir(3), rmdir(3). PHP Documentation Group MKDIR(3)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy