View Single Post
  #1  
Old 04-04-2003, 04:14 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default Smarty ownership and permissions hell

Where can I change the default ownership for directories and files that smarty writes?

Afer a recent server move i am unable to modify template files through the admin pages. I get a permission denied error. My permissions are:

Template_c 777
admin/newsletter 777
X-Cart directory 755

I deleted all the files and directories in the templates_c directory hoping that would help but no. When I run the cart as a customer the cache files and folders are recreated in templates_c but they have
owner 99
group nobody
permissions 771

That doesn't seem right. I don't want to manually have to change folder chown and chmod all the time. I want smarty to write them correctly. What do I have to do. Help please I am going insane over smarty and permissions.....

I am also on a shared server and my directory at my web host has
owner=my plans username
group=my plan username

would it be possible to have smarty write the files and directories with that owner/group setting? Would that solve my permissions problem? Would that stop X-Cart from functioning with other server functions?
Reply With Quote