Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:07:21 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Manual Module: wrong rights on data  (Read 651 times)
spida

Offline Offline

Posts: 203


« on: November 30, 2007, 05:05:48 PM »

Hi,

I installed the manual module today and I like it - thanks to all of the guys developing and improving it (yes, I did read the old thread wink ).

I am experiencing one annoying problem. My hoster does not allow octal rights on data, thus 777 and 775 are not permitted. Yet, whenever I create a new chapter or edit an existing chapter, the saving process seems to involve a chmod. I have to ftp the data and chmod the files back to something like 755 or even 644.

Since this isn't very useful when someone without ftp access has to edit the manual, I'd like to know where the chmod is done in the modules file. I looked quite a bit through the code but couldn't find any hint.

Thanks in advance for some help,
regards,
Ayshe
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: December 01, 2007, 12:21:44 PM »

Hello,

first read on our help page the article about files and permissions. After done this i hope you recognize, that the full functionalty of wb can only be reached if WB (php scripts/wwwrun-user) has write permissions on some folders of wb. If your hoster didn't allow this you will not get WB fully working.

Matthias
Logged
spida

Offline Offline

Posts: 203


« Reply #2 on: December 03, 2007, 05:17:58 PM »

Hello Matthias,

thank you for your suggestions. I know the information about rights quite well, having installed WB for several customers successfully. So far everything always works. I am not a newbie to server setups either  wink

Yet, the problem I am adressing seems to be caused by the manual modul. I am able to set writing permission (as 755, which should be both, safe and sufficient). The main problem is that the pages' rights are overwritten again after changing them. This is not done by the server i.m.h.o. since 755 is allowed and never ever changed on other data, neither on WB data nor on other stuff on the webspace.

Are you sure there anything in the modul's process?

Best regards,
Ayshe
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #3 on: December 03, 2007, 05:58:38 PM »

Hello,

not shure if this is in event calendar the case (don't have the time to look in code) but some modules look at instal or first sart in pages folder if required subfolders are there, then delete them and create them with needed rightd new. Look at install.php or modify.php of the modul.

Matthias
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!