<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Hello,</div>
<div><br>
</div>
<div>I found this tool - I have not tested all functionality (only file upload with admin masquerading) but it also has the set_quota option:</div>
<div><br>
</div>
<a href="http://forum.owncloud.org/viewtopic.php?t=8684">http://forum.owncloud.org/viewtopic.php?t=8684</a>
<div><br>
</div>
<div>kuba</div>
<div><br>
</div>
<div>--</div>
<div><br>
<div>
<div>On Sep 28, 2013, at 12:18 AM, Stefan Vollmar <<a href="mailto:vollmar@nf.mpg.de">vollmar@nf.mpg.de</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Dear CJ Keist,<br>
<br>
On 27.09.2013, at 22:28, CJ Keist <<a href="mailto:cj.keist@colostate.edu">cj.keist@colostate.edu</a>> wrote:<br>
<br>
<blockquote type="cite">The web interface doesn't look to have the ability to list thousands of users on my owncloud system. So there is no way for me to set custom disk quotas for users that are not displayed on the web interface. I have tried the search
function on the page but that doesn't work.<br>
So I tried to see where disk quota settings are stored on the mysql database but have not had any luck finding where that value is set per user account. Could someone direct me on how I can set default disk quota for users on my system?<br>
</blockquote>
<br>
I am not sure that this is the "official" way of doing things but I would suggest a different approach: if you use the MySQL backend, it seems to be pretty straightforward to set all sorts of parameters with a few lines of SQL code. In fact, this is similar
to our own automated method of creating a large number of users in OwnCloud and sending automatically generated E-mails with activation links (tokens).<br>
<br>
With OwnCloud 5, you can look up user data in the oc_user table (here: "aeinstein" is the "uid" of "Albert Einstein"), you can then set a quota of 10 GB like this:<br>
<br>
INSERT INTO `oc_preferences` VALUES <br>
('aeinstein','files','quota','10 GB');<br>
<br>
If you have a list of uids it is very easy to repeat that line as often as required.<br>
<br>
Warm regards,<br>
Stefan<br>
<br>
<blockquote type="cite"><br>
<br>
-- <br>
C. J. Keist Email: <a href="mailto:cj.keist@colostate.edu">cj.keist@colostate.edu</a><br>
Systems Group Manager Solaris 10 OS (SAI)<br>
Engineering Network Services Phone: 970-491-0630<br>
College of Engineering, CSU Fax: 970-491-5569<br>
Ft. Collins, CO 80523-1301<br>
<br>
All I want is a chance to prove 'Money can't buy happiness'<br>
<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
https://mail.kde.org/mailman/listinfo/owncloud<br>
</blockquote>
<br>
-- <br>
Dr. Stefan Vollmar, Dipl.-Phys.<br>
Head of IT group<br>
Max-Planck-Institut für neurologische Forschung<br>
Gleueler Str. 50, 50931 Köln, Germany<br>
Tel.: +49-221-4726-213 FAX +49-221-4726-298<br>
Tel.: +49-221-478-5713 Mobile: 0160-93874279<br>
E-Mail: <a href="mailto:vollmar@nf.mpg.de">vollmar@nf.mpg.de</a> <a href="http://www.nf.mpg.de">http://www.nf.mpg.de</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
https://mail.kde.org/mailman/listinfo/owncloud<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>