[vox-tech] Dealing with different UIDs and GIDs - UNRESOLVED
Richard Crawford
rscrawford at mossroot.com
Fri Dec 16 10:09:05 PST 2005
Still working on this.
Funny story. After mounting our home directory on the local mountpoint, and
experiencing great frustration in trying to get this working, I decided to
chmod the permissions on the mountpoint to 777. Something must have misfired
in my brain, because I didn't realize that this would actually change the
permissions on my home directory on the server; I only figured it would
affect the mountpoint itself locally (I was sick that day -- that's my
excuse). Then I went and forgot about having done that. Then my hosting
service suddenly stopped sending e-mail for several hours, and I finally
wrote to customer service, who informed me that the mail server will not send
mail to an account if the permissions on that account's home directory are
not properly set.
Anyway. Thanks for all the suggestions. I did try adding the 'nobody'
account to the 'pairuser' group as suggested by Jan. This is the command I
used:
# usermod -G nobody,pairuser nobody
but the message returned was:
"Unknown group 'nobody'"
...even though the 'nobody' group was listed in /etc/group.
And yeah, it is a cool toy. I used it pretty extensively on my own computer
before I discovered the fish protocol in KDE, which I love.
On Wednesday 14 December 2005 16:44, Richard Crawford wrote:
> My wife has frequently talked about using our webhost as a place to store
> her personal files in the event that both her computer and our server here
> fail. Today I downloaded FUSE and SSHFS-FUSE and installed them both. I
> was able to mount our account on our webhost to a directory in our shared
> account on our local server, like this:
>
> sshfs user at host.pair.com: /mountpoint
>
> /mountpoint is a subdirectory in /shared, which is shared out via Samba so
> that we can get to it through either Windows or Linux.
>
> When moving around via the command line, I can get to that mounted
> directory and look around just fine. However, the GID and UID are 3187 and
> 1000, respectively, which I assume are the GID and UID of our account on
> Pair's server. I tried creating a user on our local account with the UID
> 3187 and a group called pairuser with the GID 1000, and added both my
> wife's and my accounts to that group.
>
> Now, if I'm logged in to the server, I can cd to the mountpoint just fine
> and browse around. However, I can't cd to it from the command line on my
> own Linux box, and I certainly can't see it through Windows.
>
> I suspect I'm missing something very simple. Any ideas, anyone?
--
Richard S. Crawford
http://www.mossroot.com
AIM: Buffalo2K Yahoo: rscrawford
"Whatever does not kill me makes me stranger."
--Llewellyn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ns1.livepenguin.com/pipermail/vox-tech/attachments/20051216/a4b0bc55/attachment.pgp
More information about the vox-tech
mailing list