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 <[email protected]> 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 > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
