The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
2answers
172 views

Create a new folder using bash without mkdir command

i'm creating a small shell script, and i want to know if is there a builtin command to create a new folder without using the mkdir command. I googled it but i wasn't able to find a way to do that. I ...
0
votes
1answer
950 views

Debian - www directory owned by root and not apache2?

So I have a couple of problems on my server. WordPress is unable to modify .htaccess, and the same files (exact same files) are running fine on another server. Me and my friend also tried setting ...
0
votes
2answers
379 views

copy files with folders [closed]

The following scp is working as expected. scp /home/admin/* root@ec2-50-112-212-73:/ But I need a command that will create the required folder structure on destination server if it does not already ...
2
votes
1answer
468 views

PHP mkdir() and move_uploaded_file() Permission Denied with 777

I am writing a PHP script for a client which will be installed on a server which I do not have back-end access to. I only have access to a particular folder and database. My script will upload files ...
1
vote
1answer
65 views

create a specific directory within each directory in bash

We're running an application on RHEL and it is trying to write a mysterious log file to a directory that doesn't exist. I'm trying to determine a find command that could go through each sub-directory ...
1
vote
1answer
320 views

Apache permission Problems

Ok all my files and folders are set as owner of vsftpd:nogroup. FTP program can upload and create and do everything. But when I use the PHP command mkdir, I get a Permission Denied even though the ...
1
vote
1answer
45 views

How do I create folders from names stored in a file when the folder names will include spaces?

for /f %d in (listfile) do md %d works for contiguous folder names (even if more than 8 characters long but not if there is a space in what will be the folder name.
1
vote
3answers
821 views

How do I setup a monit script to check if a directory exists and create it if it doesn't

In the monit documentation I can see there is a check directory command but I can't see any examples of how to use it to see if the directory exists and if it doesn't to create the directory using the ...
1
vote
1answer
349 views

Default owner of new files and directories?

How does one configure an Ubuntu 10.10 system to behave like this: User creates a new directory or file. User is the default owner of this file. The file's (or directory's) permissions default to ...
0
votes
1answer
2k views

PHP Mkdir not working - Full permission

Our server is a Linux Server with Debian 5, Apache2 This is a development server which we are doing testing on and as such we have setup world write permission on everything Ive also set the umask ...
4
votes
4answers
522 views

Is it dangerous to have several parallel jobs create the same directory at the same time?

Is it dangerous to have several parallel jobs create the same directory using mkdir -p? (This is under Linux.) In my case, I send many jobs to a SUN grid to process them in parallel, and some of ...
1
vote
1answer
192 views

Batch renaming 32000 files - splitting into multiple subdirectories

I've got a web server which has files uploaded to it. There is a script which assigns them numeric IDs and stores them in a corresponding subdirectory. I've now got 32000 of these uploads and that's ...