The "t" is the sticky bit.

On 12 Mrz., 17:56, Marco <marco.perg...@gmail.com> wrote:
> Thank you David.
>
> I tried to modify with a leading 0 but the result is the same.
> Your are right when you say permission 777 is not a good idea. I
> modified with 0755 and the result is d-wxrw--wt (363)
>
> What is the 't' at the end? Is the problem something related to the
> server configuration?
>
> Marco
>
> On Mar 12, 10:01 am, David Persson <davidpers...@qeweurope.org> wrote:
>
> > Hi Marco,
>
> > You need to specify the permissions as 0777 (octal) with a leading
> > zero:
>
> > new Folder('/tmp/a', true, 0777);
>
> > But be careful with that as it makes the created dir world read and
> > writable.
> > Seehttp://php.net/manual/en/function.chmod.phpformor information on
> > modes.
>
> > -David
>
> > On 12 Mrz., 12:13, Marco <marco.perg...@gmail.com> wrote:
>
> > > Hello,
>
> > > I have a problem with directories permissions created by CakePhp in a
> > > hosting server that I never had.
> > > The folder is created by this line of code:
>
> > > $folder = &new Folder($path = $folderName, $create = true, $mode =
> > > '777');
>
> > > The folder is created with these permissions on server dr----x--t
>
> > > The guys of server support told me that when CakePhp creates folders
> > > they have Apache permission and I have to change the configuration of
> > > CakePhp.
>
> > > I don't know how to solve this problem.
>
> > > Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to