[Owncloud] Filesystem configuration proposal

Michael Gapczynski mtgap at owncloud.com
Sat Apr 21 20:30:51 UTC 2012


Looks good Robin. Did we decide on how to handle group names conflicting with 
user names?

Are the group files going to be stored in an individual users directory? I'm 
guessing this could be acceptable if we put it in the groups admin directory. 


Michael

On Saturday, April 21, 2012 02:25:41 AM Robin Appelman 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'=>'/f
> oo')); ),
> 	'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'=>ar
> ray('datadir'=>'/shared/music/folder')) ),
> 		'user2'=>array(
> 			
'/$user/files/Music'=>array('class'=>'oc_filestorage_local','options'=>ar
> ray('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