What version of cake are you using?
There was an issue in 1.3.12, see
http://cakephp.lighthouseapp.com/projects/42648/tickets/2080-core-cache-files-can-not-be-written-by-cron-and-web-user#ticket-2080-6

Am 20.11.2011 15:53, schrieb func0der:
> Hey guys,
>
> i reinstalled my Ubuntu couple of weeks ago. Before that i had my cake
> running on an ntfs partition so i had no permission problems at all.
> Not that i formatted that partition to ext3 or ext4 or so i have a lot
> of them.
>
> I baked an app or a project - for me it's basicly the same.
> That was no problem at all cause the folder i baked in belonged to me.
> Afterwards i created some models, controllers and views.
>
> After that i checked out my app in the browser which created some
> cache in the "app/tmp/cache" folder. This cache was created by the
> apache user which is www-data.
>
> I wanted to bake another model and got an permission error on the
> cache files, which are of course not mine.
>
> I changed their permissions to 0777 and continued with my baking. Some
> clicks later on the browser i wanted to bake another controller and
> had the same permission errors again.
>
> This is because you delete your cache files instead of just
> overwriting their content. I don't see any sense in that and it of
> course is senseless when it causes errors while baking.
>
> Of course i could bake as root via "sudo" but that wouldn't be nice
> either cause i have to chown all that baked files afterwards.
>
> I know that this should be no problem in live mode but for developing
> it is like hell on linux. And like we all know: There is a lot of
> developing before live mode.
>
> Before i report that issue to cakephp developers:
> Am I doing anything wrong??
>
> Greetings
> func0der
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to