Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

[ext storage] Document the $user feature #307

Closed
PVince81 opened this issue Mar 26, 2014 · 6 comments
Closed

[ext storage] Document the $user feature #307

PVince81 opened this issue Mar 26, 2014 · 6 comments
Labels

Comments

@PVince81
Copy link
Contributor

There is a neat hidden feature in external storages: you can use "$user" in any option and it will be replaced by the current user.

For example:

  1. create SFTP mount and make it point to some server
  2. set "/home/$user/" as root path
  3. select "all users"

It will resolve the root path to the current user's user name when mounting.

Documentation is missing for that (I just saw it in the code)

@vgezer
Copy link
Contributor

vgezer commented Apr 12, 2014

@PVince81 Do you think this should be added here or also user documentation?
http://doc.owncloud.org/server/6.0/admin_manual/apps/files_external/index.html

@PVince81
Copy link
Contributor Author

@wakeup I guess putting it only in the admin doc makes more sense, because the $user part doesn't make sense for a single user.

MorrisJobke added a commit that referenced this issue May 4, 2014
Documenting $user feature in external mount. Fixes: #307
@vgezer vgezer closed this as completed May 10, 2014
@vgezer
Copy link
Contributor

vgezer commented Jun 27, 2014

@PVince81 Any idea what happened to this commit and the file?

@PVince81
Copy link
Contributor Author

Looks like you submitted it as PR #335
According to its last comment it needs to be forwarded ported to master (or stable7 if the branch was made).

Can you make another PR for that ?

@vgezer
Copy link
Contributor

vgezer commented Jun 28, 2014

I cannot find the file mentioned there. Can we just add it somewhere in external mount topic?

@PVince81
Copy link
Contributor Author

Maybe the page structure has changed since stable6 ?
If you think so, then like you said the message could be put in the most relevant page.
Can you submit a PR for that ?
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants