Do not make directory unwritable
authorSimo Sorce <simo@redhat.com>
Wed, 28 May 2014 22:28:14 +0000 (18:28 -0400)
committerSimo Sorce <simo@redhat.com>
Wed, 4 Jun 2014 14:26:34 +0000 (10:26 -0400)
This does not stop the user, but makes it hard to deal wit the directory
in testing.
Let file fixing use the default 700 permissions.

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/install/ipsilon-server-install

index 430087e..3e9ca10 100755 (executable)
@@ -143,7 +143,7 @@ def install(plugins, args):
         plugin.configure(args)
 
     # Fixup permissions so only the ipsilon user can read these files
-    files.fix_user_dirs(instance_conf, opts['system_user'], mode=0500)
+    files.fix_user_dirs(instance_conf, opts['system_user'])
     files.fix_user_dirs(args['data_dir'], opts['system_user'])
     try:
         subprocess.call(['/usr/sbin/restorecon', '-R', args['data_dir']])