diff -Nur -x '*.orig' -x '*.rej' e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays mezzanine_patched_e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays --- e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays 2003-07-02 13:11:13.000000000 -0500 +++ mezzanine_patched_e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays 2013-09-30 21:58:54.148036446 -0500 @@ -26,31 +26,9 @@ use Errno; use esmith::util; -#------------------------------------------------------------ -# Now create the /home/e-smith subdirectories. An upgrade from -# the original e-smith 3.0 can sometimes corrupt this structure, -# so make sure every single directory is there. -# -# Before we start, remember if there was a /home/e-smith directory. -# If so, we will do a factory reset afterward to make sure there -# is a reasonable default configuration. -#------------------------------------------------------------ - -my $files = "/home/e-smith/files"; - -unless (-l "$files/primary") -{ - if (-d "$files/primary") - { - rename("$files/primary", "$files/ibays/Primary") - or warn("Could not rename primary i-bay: $!"); - } - symlink("$files/ibays/Primary", "$files/primary") - or warn("Could not create primary legacy symlink: $!"); -} - # Populate pre-defined Primary i-bay # Start with top level owner/permissions +my $files = "/home/e-smith/files"; my $perms = 0755; my $owner = 'root'; my $group = 'root';