VirtueMart Forum

VirtueMart General => About VirtueMart - not for support posts => Topic started by: on February 12, 2004, 17:41:43 PM

Title: chmod not allowed
Post by: on February 12, 2004, 17:41:43 PM
Hello,
I'm running phpshop on mambo 4.5 102 on a unix machine.  After the automatic installation, I receive this message when I try to chmod a file:

site chmod 757 /php/modules/mod_phpshop.php
550 Could not change perms on /php/modules/mod_phpshop.php: Bad file descriptor

Do I have to install it manual?  If yes, is there any file which describes those steps?

Thx in advance!!
Title: Re: chmod not allowed
Post by: on February 12, 2004, 17:51:28 PM
OK... I found the manual installation package... time the see a ophthalmologist  B)

But I still wonder if this problem is related to the automatic installation... ?
Title: Re: chmod not allowed
Post by: Soeren on February 13, 2004, 09:06:39 AM
Yes,
it seams to be related to the automatic phpShop-for-MOS installation routine. The server process creates dirs and files with perms 755. This forbids changes by users who are not the same user as the server process. For instance: ftp users on unix machines often have another user account as the webserver process -> and so you can't chmod these files.
I've built in a chmod(file, 0777) mechanism into the UPGRADE Package...use that if you want.

ciao, soeren
Title: Re: chmod not allowed
Post by: Rami Rauanmaa on January 13, 2005, 01:22:49 AM
uh... I have same problem What I should do ?