Re: [CentOS] Still having umask problems [resend]

2011-06-26 Thread Drew
> My goal is to have any created directories and files to have 774 > permissions. Hi Todd, Am I correct in assuming the php script that creates the directory uses the mkdir() function? If so something along the lines of: mkdir('mydir', 0774); should suffice. The 0 can be changed to 2, 4 or 6 depe

[CentOS] Still having umask problems [resend]

2011-06-26 Thread Todd Cary
I have the samba problems solved thanks to the help of folks on this forum, but I do not have the php umask problems solved. The www directory is /var/www/html and the html directory is owned by apache and is in the apache groups with the following permissions: drwxrwsr-- A sub-driectory, /va

[CentOS] Still having umask problems

2011-06-26 Thread Todd Cary
I have the samba problems solved thanks to the help of folks on this forum, but I do not have the php umask problems solved. The www directory is /var/www/html and the html directory is owned by apache and is in the apache groups with the following permissions: drwxrwsr-- A sub-driectory, /va