Raging Goblin

25 February 2011

Mount real filesystem in Egroupware filemanager

Filed under: Egroupware — Raging Goblin @ 22:53

This is a really cool feature of the Egroupware filemanager. When you are running Egroupware on a system where you want to access the files of a particular system user, you can mount the real filesystem in the Egroupware filemanager. On a command line type:

{path to Egroupware filemanager/cli.php} mount ‘filesystem://root_{username of Egroupware header manager}:{password of Egroupware header manager}@default{directory on real filesystem}?user={Egroupware username}’ {path in Egroupware filemanager}

E.g. on a Linux system with a Egroupware header manager named admin and a password set to adminpassword, a system user named raging and a Egroupware user named goblin, the following command will mount a (read-only) directory in the filesystem under /home/goblin/raging:

/srv/www/htdocs/egroupware/filemanager/cli.php mount ‘filesystem://root_admin:adminpassword@default/home/raging?user=goblin’ /home/raging/raging

See this thread for more info about it.

edit 19-05-2012 The command for Egw 1.8004 should be:
/srv/www/htdocs/egroupware/filemanager/cli.php mount –user root_admin –password adminpassword ‘filesystem://:@default/home/raging?user=goblin’ /home/raging/raging

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: