diff options
author | Simo Sorce <simo@redhat.com> | 2014-05-28 18:28:14 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-06-04 10:26:34 -0400 |
commit | d5226ac4c37b38c51a1e0de1835488432723995f (patch) | |
tree | 5b8db71939a11bb863df279c48066abce1fdb629 | |
parent | 8fa20c6c81aab558cd00bf1e4ac87ec8ee5a8556 (diff) | |
download | ipsilon-d5226ac4c37b38c51a1e0de1835488432723995f.tar.gz ipsilon-d5226ac4c37b38c51a1e0de1835488432723995f.tar.xz ipsilon-d5226ac4c37b38c51a1e0de1835488432723995f.zip |
Do not make directory unwritable
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>
-rwxr-xr-x | ipsilon/install/ipsilon-server-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install index 430087e..3e9ca10 100755 --- a/ipsilon/install/ipsilon-server-install +++ b/ipsilon/install/ipsilon-server-install @@ -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']]) |