--- rpms/e-smith-ibays/sme10/e-smith-ibays-2.6.0-create_var_cache_and_fix_sess.patch 2016/06/26 16:30:04 1.1 +++ rpms/e-smith-ibays/sme10/e-smith-ibays-2.6.0-create_var_cache_and_fix_sess.patch 2016/06/26 17:43:08 1.2 @@ -46,7 +46,7 @@ diff -Nur e-smith-ibays-2.6.0.old/root/e + #we test the condition if ibay folder exists + unless (-d $path ) { - mkdir $path, 0700 or warn "Could not create dir $path: $!"; + mkdir $path, 0600 or warn "Could not create dir $path: $!"; chown $uid, $gid, $path or warn "Could not chown dir $path: $!"; } - #we test the condition if /session exists or if it is disabled in the Ibay @@ -56,7 +56,7 @@ diff -Nur e-smith-ibays-2.6.0.old/root/e + #we test the condition if /tmp exists + unless (-d $path) + { -+ mkdir $path, 0700 or warn "Could not create dir $path: $!"; ++ mkdir $path, 0600 or warn "Could not create dir $path: $!"; + chown $uid, $gid, $path or warn "Could not chown dir $path: $!"; + } + @@ -64,5 +64,5 @@ diff -Nur e-smith-ibays-2.6.0.old/root/e + #we test the condition if /session exists + unless (-d $path) { - mkdir $path, 0700 or warn "Could not create dir $path: $!"; + mkdir $path, 0600 or warn "Could not create dir $path: $!"; chown $uid, $gid, $path or warn "Could not chown dir $path: $!";