[otrs] file-atttribute-problems with ArticleStorageFS

Alexander Scholler alexander.scholler at augsburg.de
Thu May 11 09:06:38 CEST 2006


Hi,

my OTRS v2.0.4 runs with
* OTRS-user
uid=556(otrs) gid=1003(otrs)
Gruppen=1003(otrs),42(trusted),65533(nobody),65534(nogroup)
* and Web-user
id apache
uid=1003(apache) gid=65533(nobody) Gruppen=65533(nobody)
* both with umask 0077
* we use ArticleStorageFS

The problem is that the backup.pl-script doesn't work

tar: var/article/2006/05/10/3246: Cannot savedir: Permission denied
tar: var/article/2006/05/10/3254: Cannot savedir: Permission denied
tar: Error exit delayed from previous errors

due to wrong set owner and rights on only a few stored articles, e.g.:

~/var/article/2006/05/10> l
insgesamt 0
drwxrwsr-x  11 otrs   nobody 264 2006-05-10 23:50 ./
drwxrwsr-x  13 otrs   nobody 312 2006-05-11 00:00 ../
drwxrwsr-x   2 otrs   nobody 128 2006-05-10 08:32 3245/
drwx--s--x   2 apache nobody  80 2006-05-10 08:57 3246/
drwxrwsr-x   2 apache nobody  80 2006-05-10 09:03 3248/
drwxrwsr-x   2 apache nobody  80 2006-05-10 09:37 3249/
drwxrwsr-x   2 apache nobody  80 2006-05-10 09:43 3251/
drwx--s--x   2 apache nobody  80 2006-05-10 09:47 3254/
drwxrwsr-x   2 otrs   nobody  80 2006-05-10 10:28 3255/
drwxrwsr-x   2 otrs   nobody  80 2006-05-10 12:58 3262/
drwxrwsr-x   2 otrs   nobody  80 2006-05-10 18:20 3271/

Both articles are of type email-external written by an agent. It's a
pretty normal text-mail without any attachments.
The otrs-logging don't give any information helpful on this issue.

I used SetPermissions.sh to reset the owner/rights.
Then backup.pl runs correct, but a few days later another new articles
are stored with incorrect file-attributes.
I have no idea why this only occurs to a minor number of articles.

(I use UTF-8 and had to use the workaround described under
http://bugs.otrs.org/show_bug.cgi?id=942)

Please help.

Bye, Alex



More information about the otrs mailing list