hot to set default file permission / owner / group |
[eluser]mironcho[/eluser]
Hi vile, you can set default permissions with umask (but you have to set it every time when your application runs and before uploading something) or change permission/group of some file later with chmod and chown (using chown is not always possible/allowed). In addition, you can set file permissions while creating directory with mkdir by setting it's second argument: Code: mkdir(’test/dirc/’, 0775); |
Messages In This Thread |
hot to set default file permission / owner / group - by El Forum - 05-21-2008, 10:07 PM
hot to set default file permission / owner / group - by El Forum - 05-22-2008, 12:42 AM
hot to set default file permission / owner / group - by El Forum - 05-22-2008, 02:31 AM
hot to set default file permission / owner / group - by El Forum - 05-22-2008, 02:52 AM
hot to set default file permission / owner / group - by El Forum - 05-22-2008, 07:25 PM
|