i'm having trouble creating the device 'log' (/dev/log). it should have the
permissions srw-rw-rw- , but how do i get the 's'-permission ???
thanx in advance,
Harry
i'm having trouble creating the device 'log' (/dev/log). it should have the
permissions srw-rw-rw- , but how do i get the 's'-permission ???
thanx in advance,
Harry
So don't.Quote:>i'm having trouble creating the device 'log' (/dev/log).
If you are not *writing* a program that listens to a named socket thenQuote:> it should have the
>permissions srw-rw-rw- , but how do i get the 's'-permission ???
FYI here is the releavant bit of an strace of syslogd to show how it's
actually done:
unlink("/dev/log") = 0
socket(PF_UNIX, SOCK_STREAM, , 0) = 0
bind(0, {sun_family=AF_UNIX, sun_path="/dev/log"}, 10) = 0
chmod("/dev/log", 0666) = 0
listen(0, 5) = 0
--
. _\\__[oo from | Phones: +44 121 471 3789 (home)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
1. What does "srw-rw-rw-" mean?
I feel ignorant. I can't believe I've been using FreeBSD all this time and
I don't know what
srw-rw-rw- 1 root wheel 0 May 17 15:05 log
^--that
means. What does it mean? I know if that char is a dash, it indicates a
regular file. A 'd' means a directory, an 'l' means a link, but what the
heck does an 's' mean? And how would one create such a mode?
Thanks, Art
3. Summary: ftpd from SunOS 4.1.3 creates files with rw-rw-rw
4. 3 Questions... AUTH, 2000 & 2049 (plus 1)
5. ftpd from SunOS 4.1.3 creates files with rw-rw-rw
6. Still keyboard problems in X under 0.998alpha
7. I want FTP default to be -rwxrwxrwx files, NOT system default like -rw-rw-rw- files !
8. Kerio mail server and cell phone email
9. A SIMPLE SHELL PROGRAM CHANGE /etc/passwd mode to -rw-rw-rw-
10. File permission set to -rw-rw-rw-?by Apache/CGI?
11. flexlm on HPs requires rw-rw-rw- on /dev/lan0
12. I want FTP default to be -rwxrwxrwx files, NOT system default like -rw-rw-rw- files !
13. vi (Re: =-> Is /tmp: -rw-rw-rw- root system" a risc?)