The tag has no usage guidance.

learn more… | top users | synonyms

-3
votes
1answer
45 views

How are files created during FTP?

When one uses FTP/SFTP on Linux, is the method the server uses to create directories and files mkdir and open or something else entirely?
0
votes
0answers
25 views

Apache folder permissions issue

I've been searching for a solution for this for hours and just can't seem to find a topic where the user is facing the same issue as myself. There are similar threads but having followed all of the ...
-2
votes
1answer
23 views

Cannot Create A Directory Called 'partition' On msdos Flashdrive

Really strange issue that I've encountered. I have fedora 23 and a flash drive that I play with writing some scripts for mount/unmount operations: /dev/sdb1 on /run/media/mymounts/kol type msdos (...
-2
votes
2answers
848 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
2answers
463 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
733 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
68 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
477 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
56 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
4answers
2k 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
370 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
3k 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 ...
5
votes
4answers
818 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
223 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 ...