[CentOS] Still having umask problems [resend]
Drew
drew.kay at gmail.comMon Jun 27 03:02:49 UTC 2011
- Previous message: [CentOS] Still having umask problems [resend]
- Next message: [CentOS] How do I Install and activate?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Previous message: [CentOS] Still having umask problems [resend]
- Next message: [CentOS] How do I Install and activate?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list