summaryrefslogtreecommitdiffstats
path: root/sesman/env.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-05-19 05:04:24 +0000
committerjsorg71 <jsorg71>2009-05-19 05:04:24 +0000
commitd9ba6c30ca0044de8663e46c4de2467d049f18e8 (patch)
treef9f690b8db3fa2d2f1d63029888cef89820176fa /sesman/env.c
parent23ffdb0c5fe0315d9d237f168e7d72abe0ba422c (diff)
downloadxrdp-proprietary-d9ba6c30ca0044de8663e46c4de2467d049f18e8.tar.gz
xrdp-proprietary-d9ba6c30ca0044de8663e46c4de2467d049f18e8.zip
remove g_set_file_rights since g_file_open sets the bits right
Diffstat (limited to 'sesman/env.c')
-rw-r--r--sesman/env.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 066277d7..d9c35dba 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -54,7 +54,6 @@ env_check_password_file(char* filename, char* password)
}
g_file_write(fd, encryptedPasswd, 8);
g_file_close(fd);
- g_set_file_rights(filename, 1, 1); /* set read and write flags */
return 0;
}