English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Permission issues when creating slave sites
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Permission issues when creating slave sites
*
#3760
Permission issues when creating slave sites 14 Years, 1 Month ago Karma: 0
Hi Edwin,

In my JMS-implemetation I've bumped into a new issue. The new created slave sites directories don't have the correct permissions.

In my JMS template I have the following 2 issues:

1) The "cache" directory has the only available option "mkdir: Create folder". This directory is created as read-only, but I want it to be writable. Is that something I can control via JMS?

2) I gave the "image" directory the option "special copy". The original images-directory has (recursive) 777 permissions. When I create my slave site the permissions have changed to 755 for newly created image-directory and its subdirectories. In the JMS-file "multisites.cfg.php" we've put the option "define( 'MULTISITES_DIR_RIGHTS', 0777);" but this not seem to work. Any idea's?

Thanks in advance,
Tom
ludder
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3768
Re: Permission issues when creating slave sites 14 Years, 1 Month ago Karma: 54
The "MULTISITES_DIR_RIGHTS" is used to create the "parent" directory and the "/multiisites" directory.
Not for the other directories.

I will notice that as a new requirements.

If you want to change the permission, the only solution that I see is using the "front-end" website functionality that allow execute addition PHP code when creating a website.
In this case, you need to buy website quota to customize and execute additional script.
So you could add a "chmod" dynamically.

See the front-end website creation "menu" and the "deploy ok" field.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla