Is there a command or some way whenever any file is created in a folder is having a default permission.
I just installed Ubuntu server 12.04, now when I create any folder in www/ the default permission is creating problem and every time I have to give permission manually.
Please give me the command to run so that when I create any folder or file in the www directory I do not have to give permission and it run by default.
thanks in advance
I have a log folder (having 755 permission) in the Source Server (let say machine A) where log files are generating daily with 600 permission (-rw-------) and the owner of the log folder & files is user01.