diff options
author | Mike Kelly <mike@pair.com> | 2011-12-16 14:52:21 -0500 |
---|---|---|
committer | Benjamin Fleischer <fleiben@gmail.com> | 2012-01-22 11:19:29 +0100 |
commit | a6b6b5c820228fe2376705db711d486e9ec866a1 (patch) | |
tree | 8de5c0ad0c86fb7b74e621ceaed9cca2c27358dd /sshfs.1 | |
parent | a306a80b6ea9ca986a444b722acf0ed09beac7bc (diff) | |
download | sshfs-a6b6b5c820228fe2376705db711d486e9ec866a1.tar sshfs-a6b6b5c820228fe2376705db711d486e9ec866a1.tar.gz sshfs-a6b6b5c820228fe2376705db711d486e9ec866a1.tar.bz2 sshfs-a6b6b5c820228fe2376705db711d486e9ec866a1.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 |