News:

Looking for documentation? Take a look on our wiki

Main Menu

chmod not allowed

Started by , February 12, 2004, 17:41:43 PM

Previous topic - Next topic

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!!

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... ?

Soeren

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
The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net

Rami Rauanmaa

uh... I have same problem What I should do ?