diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 23:20:54 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 23:20:54 +0100 |
commit | 8d1c5e5537281947c9f253547fdab411acc93d5b (patch) | |
tree | 539ac9c81798bfdb070c14ab0020d6294ac4da9c /src | |
parent | sat-atcompat will be written (diff) | |
download | sat-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |