[samba-tng] msrpc status

Michael Ju. Tokarev mjt at tls.msk.ru
Fri Dec 17 12:45:39 GMT 1999


Luke Kenneth Casson Leighton wrote:
> 
> > > 2) msrpc loop-back interface, aka "ncalrpc" in dce/rpc terminology.
> >
> > > /tmp/.msrpc 0777
> > > /tmp/.msrpc/PIPE_name 0770 (or any other permissions)
> > > /tmp/.msrpc/PIPE_name/socket 1777 - this is the actual unix socket.
> >
> > first off, it should be in /usr/local/samba/var (or equivalent) not
> > /tmp. Secondly, it should be permission 0600 and be a single level
> > (ie. no directory at all).
> 
> some unixes do not allow you to chmod sockets, e.g solaris (which has a
> VFS and someone probably forgot to implement chmod for the unix socket
> VFS).

Oops! I have:

$ uname -a
SunOS paltus.tls.msk.ru 5.6 Generic_105182-13 i86pc i386 i86pc
$ ls -l
srwxrwx---   1 mjt   staff            0 Nov 30 14:37 socket
$ chmod g-rwx,o+rw socket
$ ls -l
srwx---rw-   1 mjt   staff            0 Nov 30 14:37 socket
$ su someuser
$ cat socket
cat: Permission denied.
$ _

So you probably mistaked here.


More information about the samba-technical mailing list