Re: Still having umask problems [resend]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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 depending on what combination of SGID & SUID sticky bits you want on
the directory.

-- 
Drew
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux