aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-28 23:20:54 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-28 23:20:54 +0100
commit8d1c5e5537281947c9f253547fdab411acc93d5b (patch)
tree539ac9c81798bfdb070c14ab0020d6294ac4da9c /src
parentsat-atcompat will be written (diff)
downloadsat-8d1c5e5537281947c9f253547fdab411acc93d5b.tar.gz
sat-8d1c5e5537281947c9f253547fdab411acc93d5b.tar.bz2
sat-8d1c5e5537281947c9f253547fdab411acc93d5b.tar.xz
how silly, I did not remove the line when I adapted it (whence I copied it) to leave the current user the owner
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r--src/satd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/satd.c b/src/satd.c
index 42a2074..f7b6360 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -90,7 +90,6 @@ create_socket(struct sockaddr_un *address)
does_not_exist:
t ((fd = socket(PF_UNIX, SOCK_STREAM, 0)) == -1);
t (fchmod(fd, S_IRWXU) == -1);
- t (fchown(fd, getuid(), getgid()) == -1);
t (bind(fd, (struct sockaddr *)address, sizeof(*address)) == -1);
/* EADDRINUSE just means that the file already exists, not that it is actually used. */
bound = 1;