mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:44

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: 31 Mar 2003, 11:11 

Joined: 31 Mar 2003, 10:58
Posts: 1
Hallo Experten,

wenn ich im CMS-Modul Verzeichnisse auf dem Server anlegen, werden die Schreib- und Leserechte automatisch auf www gesetzt. Das heißt, nur mein Provider kann dann die Zugriffsrechte ändern. Ich selber kann mit chmod nichts mehr machen. :(

Wer kann helfen ? Wo muß ich im Script etwas ändern. Oder liegt es an der Betriebsart des Servers ( Apache ) ?

Gruß Thomas
http://www.thomas-lpz.de


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Permissions...
PostPosted: 14 Apr 2003, 17:14 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
> wenn ich im CMS-Modul Verzeichnisse auf dem Server
> anlegen, werden die Schreib- und Leserechte
> automatisch auf www gesetzt. Das heißt, nur mein
> Provider kann dann die Zugriffsrechte ändern. Ich
> selber kann mit chmod nichts mehr machen.
> Wer kann helfen ? Wo muß ich im Script etwas
> ändern. Oder liegt es an der Betriebsart des
> Servers ( Apache ) ?


I will try to answer this in English, as I don't know German. I hope I'm understanding your problem. Sorry for this late answer.

I think you're saying that you cannot change the permissions or ownership of the files of the CMS module.
Well, the CMS module needs permissions to write in its directory (usually "cm/") to create the root directory (usually "cm/root") and the configuration file.

The PHP engine is running as the user of the Apache server (usually "nobody") so that user needs permissions to write in the CMS directory. The easier is to use chown and change the onwership of all the files and directory to "nobody" but you need shell access or you need to ask your hosting provider to do it.

Some hosting providers give you shell access but you cannot use chown. In that case a not-so-safe approach is to change the permissions of the CMS directory (only the directory) to allow read/write access to any user. That can usually be done without shell access, using FTP. However, is unsafe.

Another problem is when the hosting provider is using the safe-mode of PHP. In that case, the only solution is changing the ownership of the directory to "nobody".

Phprojekt also needs permissions to create its config file and to use the upload functions, how did you installed it? Maybe your hosting provider installed it?

Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group