Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#13 remote credentials

open
nobody
None
5
2003-05-09
2003-05-09
Antonio Borneo
No

Dear all,
there are at least two cases in which lufs is unable to
load
credentails from the remote machine:
a) remote auth is done through NIS/YP, so /etc/passwd and
/etc/group do not contain account data;
b) ftp server "chroot"s to user home, so /etc/passwd
and /etc/group
are not visible.

Case a) could be solved in sshfs, but not in ftpfs.
Case b) could be workarounded, if you have write
permission, by
putting simple /etc/passwd and /etc/group files in the
user home.

On 2003-01-24 "vgough" sent a patch to use local
credentials
as remote ones, supposing they are the same.

The patch I propose, adds three new options to mount,
that are
"rgroup", "ruid" and "rgid" that are used to specify remote
credentials. These values are overwritten by the real
remote
values if they are readable. e.g.

lufsmount ftpfs://borneoa@srv1 ~/x
-orgroup=tester,ruid=514,rgid=130

-borneoa

Discussion