[Owncloud] Filesystem configuration proposal
Frank Karlitschek
frank at owncloud.org
Sat Apr 21 08:50:12 UTC 2012
Hi Robin,
I think it makes a lot of sense to have a configuration like this in a config file.
An additional GUI on top of this file would be oven better but I´m not sure if we can make it before the feature freeze.
Frank
On 21.04.2012, at 02:25, Robin Appelman <icewind at owncloud.com> wrote:
> Hi,
>
> I've been thinking about a good format for the configuration of mounts in the filesystem,
> my idea is to have 3 types of mounts, global mounts, group mounts (mounted for all users in a group) and user mounts
>
> Below is an example configuration that will hopefully make my idea clear
>
> array(
> 'global'=>array(
> '/'=>array('class'=>'oc_filestorage_local','options'=>array('datadir'=>'/foo'));
> ),
> 'group'=>array(
> 'salesdepartment'=>array(
> '/$user/files/SalesData'=>array('class'=>'oc_filestorage_local','options'=>array('datadir'=>'/bar/sales'))
> ),
> ),
> 'user'=>array(
> 'all'=>array(
> '/$user/files/Pictures'=>array('class'=>'oc_filestorage_webdav','options'=>array('host'=>'picturehost.com','user'=>'$user','password'=>'$password')),
> ),
> 'user1'=>array(
> '/$user/files/Music'=>array('class'=>'oc_filestorage_local','options'=>array('datadir'=>'/shared/music/folder'))
> ),
> 'user2'=>array(
> '/$user/files/Music'=>array('class'=>'oc_filestorage_local','options'=>array('datadir'=>'/shared/music/folder'))
> )
>
> )
> )
>
> $user/$password is replaced by the username/password of the current user
>
> Any feedback or other ideas how to configure mounting
>
> - Robin Appelman
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list