Author: pebender
Date: Tue Jan 20 19:12:32 2009
New Revision: 4296

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/web
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/web.pm

Log:
- Stopped changing the gid of the directory tree /srv/www to httpd as it
   is not needed (group and other have the same access) and it causes the
   files to be copied from read-only branch to read-write branch of the
   unionfs union.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Tue Jan 20  
19:12:32 2009
@@ -71,6 +71,10 @@
        root file system is not a squahsfs image.
      - Modified the 'dist' url expansion to that it expands to empty when  
the
        root file system is not a squashfs image.
+    - Stopped changing the gid of the directory tree /srv/www to httpd as  
it
+      is not needed (group and other have the same access) and it causes  
the
+      files to be copied from read-only branch to read-write branch of the
+      unionfs union.

  Modified udev
      - Renamed 06-minimyth-mythtv.rules to 07-minimyth-mythtv.rules.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/web
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/web
       
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/web
       
Tue Jan 20 19:12:32 2009
@@ -7,8 +7,6 @@
  start() {
      mm_message_output info "starting web server ..."

-    /bin/chown -Rh root:httpd /srv/www
-
      # Web page.
      /usr/bin/webfsd -s -u httpd -g httpd -4 -p 80 -j -r /srv/www -x  
/cgi-bin -f index.html


Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/web.pm
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/web.pm
         
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/web.pm
         
Tue Jan 20 19:12:32 2009
@@ -16,17 +16,6 @@

      $minimyth->message_output('info', "starting web server ...");

-    my $uid = getpwnam('root');
-    my $gid = getgrnam('httpd');
-    File::Find::finddepth(
-        sub
-        {
-            # Silence spurious warning caused by $File::Find::name being  
used only once.
-            no warnings 'File::Find';
-            chown($uid, $gid, $File::Find::name);
-        },
-        '/srv/www');
-
      # Web page.
      system(qq(/usr/bin/webfsd -s -u httpd -g httpd -4 -p 80 -j -r /srv/www  
-x /cgi-bin -f index.html));


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to