diff options
author | Mike Kelly <mike@pair.com> | 2011-12-16 14:52:21 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2011-12-20 15:33:58 +0100 |
commit | 301cc5218b36cb6f15602191eb2394877cdc930c (patch) | |
tree | 00a95aaf6fbcf146edcc1d31d45206eab4261206 /sshfs.1 | |
parent | d666318c7adae3c9a773844a74ec9cec3fba79b8 (diff) | |
download | sshfs-301cc5218b36cb6f15602191eb2394877cdc930c.tar sshfs-301cc5218b36cb6f15602191eb2394877cdc930c.tar.gz sshfs-301cc5218b36cb6f15602191eb2394877cdc930c.tar.bz2 sshfs-301cc5218b36cb6f15602191eb2394877cdc930c.zip |
Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILE
These options allow you to create a pair of local files, with
username:uid/groupname:gid pairs, one per line. Alternatively, files can
be in standard /etc/passwd / /etc/group format.
The uid/gids are for the remote server, their local counterparts are
looked up with a local getpwnam/getgrnam call. Any stat() calls will
show with the remapped local uid/gid, and any chown() calls will be
remapped back to the remote uid/gid.
Diffstat (limited to 'sshfs.1')
-rw-r--r-- | sshfs.1 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -102,6 +102,18 @@ no translation of the ID space (default) .TP user only translate UID of connecting user +.TP +file +translate UIDs/GIDs based upon the contents of \fBuidfile \fR and +\fBgidfile\fR +.RE +.TP +\fB\-o\fR uidfile=FILE +file containing username:uid mappings for \fBidmap=file\fR +.RE +.TP +\fB\-o\fR gidfile=FILE +file containing groupname:gid mappings for \fBidmap=file\fR .RE .TP \fB\-o\fR ssh_command=CMD |