diff options
author | Ajay Garg <ajay@activitycentral.com> | 2012-12-04 12:58:19 (GMT) |
---|---|---|
committer | Santiago Collazo <scollazo@activitycentral.com> | 2012-12-06 16:37:54 (GMT) |
commit | 29424c6697b5a2b0367b64c2de97def2afd3fceb (patch) | |
tree | 4ee62f6eee3d4389b3d19baf9337f3ed7eeffcd1 | |
parent | 7b4cf6ac2682551491d79660f863d5605a7e9778 (diff) |
sdxo#2745: OOB changes, to make the Peer-to-Peer sharing work.
-rw-r--r-- | modules/x11/kspost.90.tweaks.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/x11/kspost.90.tweaks.inc b/modules/x11/kspost.90.tweaks.inc index 2b70c1b..efa2cec 100644 --- a/modules/x11/kspost.90.tweaks.inc +++ b/modules/x11/kspost.90.tweaks.inc @@ -108,6 +108,12 @@ SearchAndReplaceRegex $filename "<CAPS> = 66;" "<CAPS> = 133;" mkdir -p /var/www/web1/web/.Sugar-Metadata chmod -R 0777 /var/www/web1/ +# From Fedora-18 onwards, we also need to specify a "lock"-file, to be used +# by "DavLockDB" directive in httpd-virtualhost(s). +mkdir -p /var/www/lock +touch /var/www/lock/lock_file +chmod -R 0777 /var/www/lock + # Some necessary tweaks in "httpd" service. # rm /etc/httpd/logs -f @@ -120,7 +126,7 @@ mkdir /etc/httpd/logs -p # However, a new unique pair will be generated per XO, once the user # creates her sugar-profile (on first startup of the XO). mkdir -p /home/olpc/.sugar/default -openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /home/olpc/.sugar/default/ssl.key -out /home/olpc/.sugar/default/ssl.key +openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /home/olpc/.sugar/default/ssl.key -out /home/olpc/.sugar/default/ssl.crt # Replace the key- and crt-path in conf-file, so that secure-transfer may be enabled. # @@ -146,6 +152,7 @@ cat << EOF >> /etc/httpd/conf.d/ssl.conf </Directory> Alias /webdav /var/www/web1/web + DavLockDB /var/www/lock/lock_file <Location /webdav> DAV On |