Displaying 2 results from an estimated 2 matches for "index_storage".
2005 Jan 24
2
Problem with incorrect permissions with shared folders
Hi,
I'm seeing strange permissions when using an email client to create a new
sub folder in a shared folder.
This is dovecot-1.0test61
I have a directory /data/mail/shared owner=root
group=shared permissions=2770
I have a file /data/mail/shared/dovecot-shared owner=root
group-shared permissions=2660
User fred in in group shared (in /etc/group)
My understanding
2006 Feb 03
0
rquotad (NFS) quota plugin
...uota;
+ root->pool = quota->pool;
+ root->state = RQUOTAD_UNKNOWN;
+ }
+
+ static struct quota_root_iter *
+ rquotad_quota_root_iter_init(struct quota *quota,
+ struct mailbox *box)
+ {
+ struct rquotad_quota_root_iter *iter;
+ struct statfs statbuf;
+
+ if (statfs(((struct index_storage *)(mailbox_get_storage(box)))->dir, &statbuf) < 0) {
+ return NULL;
+ }
+
+ debugmsg("getting quota for %s (%s)", box->name,
+ mailbox_get_storage(box)->name);
+ iter = i_new(struct rquotad_quota_root_iter, 1);
+ iter->iter.quota = quota;
+ strncpy(iter->b...