Re: Permission Denied on "cd /sfs/server..."

Jaakko Niemi <[email protected]> Thu, 14 Sep 2006 21:05:41 +0300
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
On Thu, 14 Sep 2006, David Caldwell wrote:
> David Caldwell <david <at> porkrind.org> writes:
> 
> > I'm guessing that there's something wrong with the Mac client 
> > authentication, but I don't know where to go from here.
> 
> So after poking around for a couple hours tonight I discovered a large
> installation problem and have since had some measure of success. On my Mac
> client I used gnu "stow" to manage my /usr/local direrctory. I gave myself write
> access to the stow dir so I wouldn't have to be root to to "make install".
> However, tonight I discovered sfs uses suidconnect to get its gid correct. Since
> I was installing as my self the g+s bit was not being set on the suidconnect
> program, nor was its group being changed to the sfs group. Installing as root
> fixed that, and I was finally able to connect up to my linux server and poke
> around. Yay!
 
 Cool.

> However, it's still not completely smooth. I'm getting an error when I do
> "sfskey login":
> 
> $ sfskey login me@myserver
> Passphrase for me@myserver/1024:  
> SFS Login as me@myserver
> sfskey: fatal: agent: RPC: Unable to receive
> 
> At that point I *am* authenticated because I can poke around in the filesystem
> and I can't before I log in (I get permission denied). But I cannot run "sfskey
> list" and, more importantly, the handy "myserver" symlink isn't being created in
> /sfs.
> 
> The portmapper seems to be running. I don't know much about RPC. Any ideas?

 Is portmap listening to localhost? What does rpcinfo -p 127.0.0.1 show?

 		--j