'\" -*- coding: utf-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH x2gomountdirs 8 "Nov 2018" "Version 4.1.0.3" "X2Go Server Tool" .SH NAME x2gomountdirs \- Share Client-Side Folder with X2Go Session .SH SYNOPSIS 'nh .fi .ad l x2gomountdirs [ [ [...]]] .SH DESCRIPTION \fBx2gomountdirs\fR mounts client\-side folders or devices onto mountpoints that are accessible from within your remote X2Go session. .PP \fBx2gomountdirs\fR is run with X2Go user privileges and normally issued by an X2Go client application. .SH ARGUMENTS .TP \*(T<\fB\\fR\*(T> If the mount type is set to ,,dir'' then the client-side mount target is interpreted as a folder. If other, it is interpreted as a device. .TP \*(T<\fB\\fR\*(T> The is the unique identifier of the X2Go session that this command is run for. .TP \*(T<\fB\\fR\*(T> The owner of session is given as the argument. .TP \*(T<\fB\\fR\*(T> Location of a temporary private SSH key file (only valid for this command execution). .TP \*(T<\fB\ [ [ [...]]]\fR\*(T> A list of client-side folders or device mount points that shall be mounted for X2Go session . .PP .SH PERMISSIONS X2Go uses the fuse-based SSH filesystem (SSHFS) for sharing client\-side file resources with X2Go sessions. Users that shall use X2Go folder sharing must be members of the X2Go server's ,,fuse'' POSIX group. .SH RETURN VALUES \fBx2gomountdirs\fR returns some mount point information to stdout if the mounting process has been successful. The mount results are printed line\-by\-line. The individual lines must be interpreted as shown below: line 01: dirs:__REVERSESSH_PORT__ line 02: ssh port: line 03: Host: line 04: User: line 05: inserted, sshfs \-o \\ "@:"" \\ "" \-p line 06: mount ok line 07: fname: .PP If mounting of a client folder fails, either of the errors is returned (on stdout): error 01: mounting of failed error 02: insertion of failed (already mounted?), not mounting .PP As exitcode \fBx2gomoundirs\fR always returns 0. .SH SEE ALSO x2goumount-session(8) .SH AUTHOR This manual has been written by Mike Gabriel for the X2Go project (https://www.x2go.org).