I installed Apache in my server and it all looks fine. The problem is that everytime I create a folder/file it does not have 777 permission, I need to use chmod to every folder/file I create to assign 777 permission. How can I create a permission rule that will be the default to new files/folders ?
i have bit issues here, but samba installation is successfull i can create user and authonticate but the problem is after mapping the folder and test to create a folder it says "you dont have permission" is there any missing in my conf?
I want to set permissions to a folder such that, when I'm normally logged in (meaning not as root), this folder isn't deletable, but I can still change the name of this folder and move in around in my system ?
IS this possible and if yes, how to set the permission ?
I installed Apache 2.4.6 on Ubuntu 13.10 and put some html files in /var/www/, the default base folder. I then needed to share those html files to a synced Dropbox folder, so I moved the www folder into my Dropbox folder and replaced it with a symlink of the same name. Note that the www folder in Dropbox has read permission.
If I use mkdir in a php script to create a folder, then I have full access on this folder to add files or create folder inside it.
If I then login on the server via ssh, create a second folder, chown(recursively or not) to the exact same user:group as the one created by the php mkdir(), and chmod it to the the same exact permissions as the first folder then trying to a