PDA

View Full Version : Permissions


rashgash
02-23-2005, 06:28 PM
I'm trying to get osCommerce working, and it's complaining that a certain file is writable. That file is writable by my user account, and apparently Apache is run using the same account.

Is there anyway to set this up so that apache uses a different account (i.e. username) than me? If not, will I have to chmod the file everytime I want to edit it?

Eric
02-23-2005, 07:30 PM
Since your vds is implemented inside a chroot environment Apache will need to run as your user. I would experiment with different permissions. I don't think you should have to chmod everytime.

rashgash
02-23-2005, 07:46 PM
Thanks, Eric. It turns out it's not a big deal, since I won't have to edit it much. I don't see how there could be a permissions setting that would let me edit it and at the same time make it read-only for Apache.

Maybe I didn't describe the problem properly the first time. osCommerce complains when it's config.php file is writable by Apache. But since Apache is the same user as me, if I want to edit the file I have to make it writable for Apache. It's pretty much theoretical at this point, but it would be good to figure it out.

By the way, I just signed up a couple of days ago and I'm very impressed with the whole system and the customer support.

Eric
02-23-2005, 10:04 PM
Sounds like one of those little joys in life. I bet you won't have to alter that file much after your up and running. Thanks for the complement, we like the system as well. Its like having a toolbox with everything you need in one place.

Good luck with OS Comerce.