Discussion:
[RCU] update
mick crane
2018-10-28 05:02:47 UTC
Permalink
excuse ignorance.
using 1.3.5 with managesieve and enigma plugins.
Is there a script that will update to 1.3.8 if I tell it where 1.3.5 is
installed or do I need to go through everything from start ?

mick
--
Key ID 4BFEBB31
A.L.E.C
2018-10-28 06:38:04 UTC
Permalink
Post by mick crane
excuse ignorance.
using 1.3.5 with managesieve and enigma plugins.
Is there a script that will update to 1.3.8 if I tell it where 1.3.5 is installed or do I
need to go through everything from start ?
https://github.com/roundcube/roundcubemail/blob/release-1.3/UPGRADING
--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer [http://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
mick crane
2018-10-28 08:15:54 UTC
Permalink
Post by A.L.E.C
Post by mick crane
excuse ignorance.
using 1.3.5 with managesieve and enigma plugins.
Is there a script that will update to 1.3.8 if I tell it where 1.3.5 is installed or do I
need to go through everything from start ?
https://github.com/roundcube/roundcubemail/blob/release-1.3/UPGRADING
cheers, seems easy enough.

mick
--
Key ID 4BFEBB31
mick crane
2018-10-28 08:54:55 UTC
Permalink
Post by A.L.E.C
Post by mick crane
excuse ignorance.
using 1.3.5 with managesieve and enigma plugins.
Is there a script that will update to 1.3.8 if I tell it where 1.3.5 is installed or do I
need to go through everything from start ?
https://github.com/roundcube/roundcubemail/blob/release-1.3/UPGRADING
OK it seems to be working

after running script I get loads of files owned by me.
I do
#!/bin/bash
find /usr/share/roundcubemail-1.3.8 -type d -exec chmod 755 {} \;
find /usr/share/roundcubemail-1.3.8 -type f -exec chmod 644 {} \;
chown -R www-data /usr/share/roundcubemail-1.3.8/*;
chgrp -R www-data /usr/share/roundcubemail-1.3.8/*;

I guess that is OK

but what is composer.phar
php composer.phar update --no-dev

I haven't got it
have composer.json

I don't do this very often.

mick
--
Key ID 4BFEBB31
Michael Orlitzky
2018-10-28 15:58:29 UTC
Permalink
Post by mick crane
find /usr/share/roundcubemail-1.3.8 -type f -exec chmod 644 {} \;
Chances are, you don't want your database credentials to be world-readable.
mick crane
2018-10-28 16:34:48 UTC
Permalink
Post by Michael Orlitzky
Post by mick crane
find /usr/share/roundcubemail-1.3.8 -type f -exec chmod 644 {} \;
Chances are, you don't want your database credentials to be
world-readable.
what then 640 ?

_______________________________________________
Post by Michael Orlitzky
Roundcube Users mailing list
http://lists.roundcube.net/mailman/listinfo/users
--
Key ID 4BFEBB31
mick crane
2018-10-28 17:18:11 UTC
Permalink
Post by Michael Orlitzky
Post by mick crane
find /usr/share/roundcubemail-1.3.8 -type f -exec chmod 644 {} \;
Chances are, you don't want your database credentials to be
world-readable.
what then 640?
surely, and not owned by the webserver, basic security principals
normaly stuff should be owned by root and read-only for the webserver
group, folers 750, files 640
Ok I do that. This is not internet facing stuff but guess do it safely

cheers

mcik
--
Key ID 4BFEBB31
mick crane
2018-10-30 06:15:37 UTC
Permalink
Post by Michael Orlitzky
Post by mick crane
find /usr/share/roundcubemail-1.3.8 -type f -exec chmod 644 {} \;
Chances are, you don't want your database credentials to be
world-readable.
what then 640?
surely, and not owned by the webserver, basic security principals
normaly stuff should be owned by root and read-only for the webserver
group, folers 750, files 640
If I change all the permissions to 750 for the roundcubemail directories
and 640 for the files
and all the ownerships to root.root it don't work after restart apache
ownerships www-data.www-data it works.
probably it is particular files need to be different but I don't know
which ones.
[sigh]

mick
--
Key ID 4BFEBB31
Michael Orlitzky
2018-10-30 13:31:26 UTC
Permalink
Post by mick crane
normaly stuff should be owned by root and read-only for the webserver
group, folers 750, files 640
If I change all the permissions to 750 for the roundcubemail directories
and 640 for the files
The owner should be root but the group "www-data" (in this case) for the
permission modes 750 or 640 to allow read access to the web server.
mick crane
2018-10-30 13:53:41 UTC
Permalink
Post by Michael Orlitzky
Post by mick crane
normaly stuff should be owned by root and read-only for the webserver
group, folers 750, files 640
If I change all the permissions to 750 for the roundcubemail
directories
and 640 for the files
The owner should be root but the group "www-data" (in this case) for the
permission modes 750 or 640 to allow read access to the web server.
_______________________________________________
cheers
--
Key ID 4BFEBB31
Loading...