Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Permissions for files and folders?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Permissions for files and folders? (Read 3906 times)
jesusto
Jr. Member
Posts: 68
Permissions for files and folders?
«
on:
December 28, 2013, 19:43:47 »
Hi,
Whitch is the best configuration of permissions for files and folders in an elxis 4.1 installation with iosr?
Thanks a lot
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Permissions for files and folders?
«
Reply #1 on:
December 28, 2013, 20:24:18 »
We have so many times analysed this subject. Permissions are strongly related to the owner of the files, there are no global perfect values. Each server/site is a special case. A loose recommendation is the following:
Files:
644
Folders:
755
Writeable files:
644
or
666
(depends on your php setup)
Writeable folders:
755
or
777
(depends on your php setup)
Off course other permissions may apply to strengthen security like 600 or even 400 on files
but NEVER set such permissions unless you know very well what they mean
. There is a lot of documentation for Linux servers on this subject on the internet
like this
.
«
Last Edit: December 28, 2013, 20:32:42 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jesusto
Jr. Member
Posts: 68
Re: Permissions for files and folders?
«
Reply #2 on:
December 28, 2013, 23:57:53 »
Thanks Datahell,
Could you please list the files and folders that must be writable for both elxis cms and iosr, please?
Thanks a lot in advance
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Permissions for files and folders?
«
Reply #3 on:
December 29, 2013, 19:49:55 »
The answer is too obvious, just see the Elxis filesystem and you will understand.
If you want to upload an
article image
make sure folder
media/images/articles/
to be writeable.
All Elxis images are under
media/images/
folder.
If you want to upload a hotel image make sure folder
components/com_reservations/gallery/s1/hotels/
to be writeable.
All IOSR images are under
components/com_reservations/gallery/s1/
folder ("s2" for the second multi-site, "s3" for the third, etc..).
All modules are located in folder modules/
All templates are located in folder templates/
etc...
More on Elxis file-system structure
.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Permissions for files and folders?