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

David Caldwell <[email protected]> Wed, 13 Sep 2006 10:19:23 -0700
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
On 9/13/06 7:03 PM +0300 Jaakko Niemi wrote:

> On Wed, 13 Sep 2006, David Caldwell wrote:
>> Is there anything anyone can suggest I look into?
>
>  Sorry to be brief, am in a bit of hurry.

No problem, I appreciate the time!

>  Permissions:
>
> $ sudo ls -al /var/lib/sfs/sockets/
> drwxr-x--- 2 sfs  sfs 4096 2006-08-18 22:22 .
> drwxr-xr-x 5 sfs  sfs 4096 2005-02-10 13:56 ..
> srw-rw---- 1 root sfs    0 2006-08-18 22:22 agent.sock
> srw-rw---- 1 root sfs    0 2006-08-18 22:22 authd.sock
> srw-rw---- 1 root sfs    0 2006-08-18 22:22 sfsrwcd_1.sock
>
>  Especially on the Mac box..

Thanks, but that looks good so far:

Mac client:

$ sudo ls -al /var/sfs/sockets/
total 0
drwxr-x---    4 sfs      sfs           136 Sep 13 03:15 .
drwxr-xr-x    4 sfs      sfs           136 Sep 13 00:47 ..
srw-rw----    1 root     sfs             0 Sep 13 03:15 agent.sock
srw-rw----    1 root     sfs             0 Sep 13 03:15 sfsrwcd_1.sock

Linux Server:

$ sudo ls -al /var/lib/sfs/sockets/
total 8
drwxr-x--- 2 sfs  sfs 4096 Sep 13 03:15 .
drwxr-xr-x 5 sfs  sfs 4096 Feb  5  2006 ..
srw-rw---- 1 root sfs    0 Sep 13 03:15 authd.sock

I did another test and got some more info. I was able to login to the 
server from another Debian client. So it looks like the server is working 
after all.

Now I'm guessing that there's either some interaction between the 2 
versions of software (do they have to be absolutely identical or is it 
backwards/forwards compatible?) or just a misconfiguration on the client 
side. On the Linux client I only get a "permission denied" error if I try 
to cd to the directory without logging in. Which is what I want, really. 
The Mac client *always* says "permission denied" even if I've logged in and 
have received my key from the server (verified with "sfskey list"). So now 
I'm guessing that there's something wrong with the Mac client 
authentication, but I don't know where to go from here.

Thanks again,
  David