Displaying 20 results from an estimated 21 matches for "newlock".
2010 Aug 26
1
[PATCH 2/5] ocfs2/dlm: add lockres as parameter to dlm_new_lock()
...dlm_lockstatus *lksb)
+ struct dlm_lockstatus *lksb,
+ struct dlm_lock_resource *res)
{
struct dlm_lock *lock;
int kernel_allocated = 0;
@@ -502,22 +503,6 @@ int dlm_create_lock_handler(struct o2net_msg *msg, u32 len, void *data,
goto leave;
}
- status = DLM_SYSERR;
- newlock = dlm_new_lock(create->requested_type,
- create->node_idx,
- be64_to_cpu(create->cookie), NULL);
- if (!newlock) {
- dlm_error(status);
- goto leave;
- }
-
- lksb = newlock->lksb;
-
- if (be32_to_cpu(create->flags) & LKM_GET_LVB) {
- lksb->flags |= DLM_LKS...
2014 Aug 03
3
permission denied
...I added, so I presume it is reading the file correctly.
Permissions on~jreid/mail is 0700, the existing .subscriptions file is
0640 and .subscriptions.lock file is 0600. all the files are owned by
me and their group is my primary group (not mail).
As for the second error, the dovecot.index.log.newlock file gets created
but no dovecot.index.log file gets created. And dovecot would have
created the directory tree to those files itself...
I'm new to dovecot but not Unix or IMAP so I'm sure this is just some
configuration option I've missed, any help would be most appreciated.
$ /o...
2009 Aug 19
1
fchown() failed
...t help me more...
I have been getting these entries in syslog since upgrading. Today for
instance I got:
**Unmatched Entries**
dovecot: Dovecot v1.2.0 starting up (core dumps disabled): 1 Time(s)
dovecot: IMAP(mark): fchown() failed with file /home/mark/Mail/.imap/INBOX/dovecot.index.log.newlock: Operation not permitted: 1 Time(s)
dovecot: IMAP(mark): fchown() failed with file /home/mark/Mail/.imap/INBOX/dovecot.index.tmp: Operation not permitted: 1 Time(s)
and yesterday I had:
**Unmatched Entries**
dovecot: IMAP(helena): fchown() failed with file /home/wife/mail/.imap/INBOX/dov...
2009 Oct 23
2
New error messages
I was glancing at my logwatch report when I noticed:
dovecot: IMAP(robinmail):
fchown(/home/robinmail/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
10(wheel)) failed: Operation not permitted (egid=100(users), group based on
/var/mail/robinmail): 1 Time(s)
dovecot: IMAP(robinmail):
fchown(/home/robinmail/mail/.imap/INBOX/dovecot.index.tmp, -1, 10(wheel))
failed: Operation not permitted (egid=100(users), group based on
/var/mail/ro...
2013 Nov 27
2
Permissions problems
...on closed bytes=17/340
Nov 24 17:34:27 proliant-1 dovecot: [ID 583609 mail.info] imap-login: Login:
user=<mark>, method=PLAIN, rip=192.168.1.69, lip=192.168.1.72, mpid=18822
Nov 24 17:34:27 proliant-1 dovecot: [ID 583609 mail.error] imap(mark): Error:
rename(/mpool/mail/mark/dovecot.index.log.newlock,
/mpool/mail/mark/dovecot.index.log) failed: Permission denied
Nov 24 17:34:27 proliant-1 dovecot: [ID 583609 mail.error] imap(mark): Error:
rename(/mpool/mail/mark/dovecot-uidlist.tmp, /mpool/mail/mark/dovecot-uidlist)
failed: Permission denied
Nov 24 17:34:27 proliant-1 dovecot: [ID 583609 mail.e...
2007 Mar 15
2
flock problems with index files and passwd-file
While experimenting a bit, I found that for some reason, locking indexes
with flock is problematic, but only if user is taken from passwd-file.
The host system is openbsd 3.9, dovecot's configuration is added at the
bottom.
Authentication is from two places - first from mentioned passwd-file,
then from passwd file using bsdauth (in this case, there're no problems
with flock). So, if
2009 Aug 04
2
1.2.3 - fchown failed messages
Hello,
I installed 1.2.3 and we are seeing a few messages in the log files such
as:
---
Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file
/home/john/.imap/INBOX/dovecot.index.log.newlock: Operation not permitted
Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file
/home/john/.imap/INBOX/dovecot.index.tmp: Operation not permitted
---
dovecot -n:
# 1.2.3: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.20.1 i686 CentOS release 4.7 (Final)
protocols: imap imaps pop3 pop3s...
2013 Jul 29
2
Maildir permissions and Solr re-indexing
...was trying several things to get my use case to work.)
Unfortunately, I can't seem to get re-indexing to work. When I do
"doveadm fts rescan -A" as root, I get the following error for each of my
subgroups:
doveadm(md5i): Error: fchown(/home/md5i/Maildir/.mail.test/dovecot.index.log.newlock, group=8(mail)) failed: Operation not permitted (egid=1000(md5i), group based on /home/md5i/Maildir/.mail.test - see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
After this, each directory has a dovecot.index.log with md5i:md5i 600
permissions.
I've read the mentioned page, and played around...
2010 Feb 13
2
deliver and cloning file permissions
...ever, deliver tries to copy the filesystem permissions of the
mail-spool-files to the user's index files, which doesn't work, since
the files in /var/mail/ belong to the group 'mail'.
Feb 13 00:21:19 leo-x61 dovecot: deliver(leo):
fchown(/home/leo/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
12(mail)) failed: Operation not permitted (egid=100(users), group based
on /var/mail/leo)
I know that dovecot tries to clone the mailbox permissions in order to
support shared folders but it would be nice if there was an option to
disable this (or to just try it and ignore the fchown error)....
2010 Mar 09
1
fchown error upgrading from 0.99 to 1.2
Hi there,
after upgrading from 0.99 to 1.2, the following errors appear in the error
log:
Mar 09 15:50:23 POP3(cwchbodega): Error:
fchown(/home/cwchbodega/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
12(mail)) failed: Operation not permitted (egid=653(cwchbodega), group based
on /var/mail/cwchbodega)
Mar 09 15:50:53 POP3(cwchbodega): Error:
fchown(/home/cwchbodega/mail/.imap/INBOX/dovecot.index.tmp, -1, 12(mail))
failed: Operation not permitted (egid=653(cwchbodega), group based on
/var/ma...
2010 Nov 10
3
Occasional fchown errors?
Hi:
I get the occasional error below. Is there something I don't have
configured correctly? Or should I just ignore this? It is not always
this file, sometimes it is the cache.lock file or the log.newlock file.
I have a mail client running on my computer and my phone at the same
time, could that have something to do with it?
Nov 10 08:32:59 rabbitbrush dovecot: IMAP(bob):
fchown(/home/bob/mail/.imap/INBOX/dovecot.index.tmp, -1, 8(mail))
failed: Operation not permitted (egid=1000(bob), group b...
2009 Sep 07
1
high imap load on large folders
...SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0},
0xbfb08518) = 0
fstat64(8, {st_mode=S_IFREG|0600, st_size=32812, ...}) = 0
umask(066) = 077
time(NULL) = 1252311837
lstat64("/var/spool/indexes/ingoiwt/.wx-dev/dovecot.index.log.newlock",
0xbfb081c0) = -1 ENOENT (No such file or directory)
open("/var/spool/indexes/ingoiwt/.wx-dev/dovecot.index.log.newlock",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 7
fstat64(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
umask(077) = 066
stat64("...
2014 Aug 04
0
permission denied
...; $ doveadm log errors
> [...]
> Aug 03 16:47:02 imap(jreid): Error:
> rename(/home/jreid/mail/.subscriptions.lock, /home/jreid/mail/.subscriptions)
> failed: Permission denied
> Aug 03 16:52:49 imap(jreid): Error:
> rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock,
> /home/jreid/mail/2012/.imap/Received/dovecot.index.log) failed: Permission
> denied
Who owns /home/jreid/mail, .subscriptions.lock file and
/home/jreid/mail/2012/.imap/Received ?
Please send a ls -la of /home/jreid/mail.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: Gn...
2011 Sep 29
0
Error message
...essage in my log;
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.cache.lock, -1,
8(mail)) failed: Operation not permitted (egid=1000(knute), group based
on /var/mail/knute): 1 Time(s)
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
8(mail)) failed: Operation not permitted (egid=1000(knute), group based
on /var/mail/knute): 2 Time(s)
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.tmp, -1, 8(mail))
failed: Operation not permitted (egid=1000(knute), group based on
/var/mail/knute): 4 Time(...
2011 Sep 30
1
Error message in log
...essage in my log;
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.cache.lock, -1,
8(mail)) failed: Operation not permitted (egid=1000(knute), group based
on /var/mail/knute): 1 Time(s)
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
8(mail)) failed: Operation not permitted (egid=1000(knute), group based
on /var/mail/knute): 2 Time(s)
dovecot: IMAP(knute):
fchown(/home/knute/mail/.imap/INBOX/dovecot.index.tmp, -1, 8(mail))
failed: Operation not permitted (egid=1000(knute), group based on
/var/mail/knute): 4 Time(...
2011 Apr 07
2
Permission Denied - cannot create inbox
I cant figure out permissions with Dovecot. I am new with this program and
have tried setting the mail group to "mail" which is the group of my
mailboxes which are located in /var/spool/mail.
Here's the error I get.
fs1 dovecot: imap(tl511insight): Error:
chown(/home/tl511insight/mail/.imap/INBOX, -1, 12(mail)) failed: Operation
not permitted (egid=504(tl511insight), group based
2012 Sep 09
1
ChgrpNoPerm issue
I have dovecot version 2.0.9
I am confused about this article
http://wiki2.dovecot.org/Errors/ChgrpNoPerm
my mail_location =
mbox:~/mymail:INBOX=/var/mail/%u
So my inbox is at var/mail/ and my
imap folder is /home/user/mymail
The problem is /var/mail (Owner is
useraccount and the group us mail) , and here comes the problem
Dovecot
keeps trying to chown the imap folder inside the
2004 Dec 17
1
Cygwin and index code
As I can currently only work with windows (eek) I thought I'd try
dovecot there. I already sent a patch to make dovecot compile under
cygwin, but it still doesn't really work, here's part of a session that
I started while my maildir was totally empty (only cur/new/tmp in ~/Maildir)
$ ./imap.exe
* PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND
UNSELECT LITERAL+
2015 Aug 24
1
Fedora 9 -> Centos 7 upgrade Dovecot problem
...at ollie2 home]#
Aug 24 16:42:31 ollie2 dovecot: pop3-login: Login: user=<tdegg>, method=PLAIN,
rip=127.0.0.1, lip=127.0.0.1, mpid=130939, secured,
session=<K7wxdxAefQB/AAAB>
Aug 24 16:42:31 ollie2 dovecot: pop3(tdegg): Error:
fchown(/home/tdegg/mail/.imap/INBOX/dovecot.index.log.newlock, group=12
(mail)) failed: Operation not permitted (egid=2046(tdegg), group based
on /var/mail/tdegg - see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
Aug 24 16:42:31 ollie2 dovecot: pop3(tdegg): Error:
fchown(/home/tdegg/mail/.imap/INBOX/dovecot.index.cache.lock, group=12(mail))
failed: Operati...
2007 May 23
2
Courier migrating issues: indexes, maildirsize, update query
Hi,
(my first post to the list)
I'm in the process of testing Dovecot to see whether it meets our needs
to replace our current Courier setup which serves well over 100.000
mailboxes (pop3 and imap: mysql with NFS)
So far dovecot seems pretty straight forward; however I ran into a
couple of things that I'm curious about.
1. What's the deal with