I have a file which running with cronjob and creating some file and folder, but when enter into that folder in website mode I can't create files or anything in that folder.
I think the folders created by cronjob owner is root, But when want to access to it in website mode, we are in apache owner and can't manipulate it.
When creating folder with 0777 permission it's work fine.
Hello! I'm kind of stuck here. See, I wanted to move individual script files into the GIMP scripts folder. At first, I wasn't able to, it was giving me an access denied type of thing. I surfed around and found something to input into the terminal to allow me to move the folder the scripts were in into the GIMP scripts folder.
I have created a batch file to be executed through the right-click menu in Win7. When I right-click on a folder, I would like the batch file to move all files (excluding folders) up 1 directory. I have created this so far.....
MOVE "%1*.*" ..\
This seems to work as long as the folder I'm moving files from doesn't have any spaces.
I'm trying to create an .sh script where if any keyword is found in a file then copy that file to the directory /pathtofolder/keywords/$thefirstkeywordfound
(overwrite the file if it already exists). Any help would be appreciated with the copy code ( cp -rf filename /pathtofolder/keywords/$thefirstkeywordfound ) which is incorrect.