[TYPO3-dev] TYPO3 6.2 folder permissions

bernd wilke t3ng at bernd-wilke.net
Wed Feb 5 11:49:06 CET 2014


Am 05.02.14 11:30, schrieb Franz Holzinger:
> Hello
>
> I again ran into a not working TYPO3 due to folder permissions.
> I cannot set the permissions of the root page.
> The LINUX system automatically sets the user account as the owner of all
> folders and files below the Apache root of the domain.
>
> typo3temp has the username as the owner.
> typo3temp myusername drwxrws---
>
> So the Apache cannot write into the typo3temp folder. I had deleted the
> typo3temp folder and the TYPO3 Install Tool did create the folder in
> this way. And this does not work. I have no root account on this server.
>
> I can change that to these rights:
>
> typo3temp myusername drwxrwxrwx
>
> But then the Apache creates the files having myusername as the owner.
> TYPO3 then cannot rewrite those files again.
>
> This is an example file which is created inside of typo3temp:
> locallang-BE-958ea0b4516a020b54.js myusername -rw-rw----
>
> I need a tool which sets the user and group of the owner of typo3temp to
> those of the Apache. I do not have root rights to set this.

what about the build-in 'chown'?
as the owner of the dir/file you should be able to give it away.

chown www-data:www-data typo3temp

and the transfered owner could be initiated by the s-Bit set for this 
directory (which really does not need to be set)


bernd
-- 
http://www.pi-phi.de/cheatsheet.html



More information about the TYPO3-dev mailing list