
Hello, I have the latest OTRS running. My webserver belongs to wwwrun, because other applications are served as well. In the moment wwwrun creates a directory for a new ticket under e.g $OTRS_HOME/var/article/2002/08/19/888 the mode is drwxr-sr-x 2 wwwrun nogroup 60 Aug 19 11:42 884 but I think it should be writeable for Group as well. What do UI have to change on my SusSE 7.3 to get this working correctly? Thanks Christoph

Hi Christoph, On Mon, Aug 19, 2002 at 05:08:48PM +0200, Christoph Kaulich wrote:
I have the latest OTRS running. My webserver belongs to wwwrun, because other applications are served as well.
In the moment wwwrun creates a directory for a new ticket under e.g $OTRS_HOME/var/article/2002/08/19/888 the mode is
drwxr-sr-x 2 wwwrun nogroup 60 Aug 19 11:42 884
but I think it should be writeable for Group as well. What do UI have to change on my SusSE 7.3 to get this working correctly?
That`s ok, because the directory means: $OTRS_HOME/var/article/2002/08/19/888 |^^^^^^^^^^ ^^^| Date of cration ArticleID If a article is written to the filesystem, nobody will change this article anymore. It`s just for archiving. -==> Your webserver user (wwwrun) an the otrs user can read and serve the stored article.
Christoph
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- socrate: 1:26pm up 66 days, 13:27, 4 users, load average: 0.06, 0.05, 0.01

Yes, but sometimes I get day directories like this: drwxr-sr-x 5 otrs nogroup 92 Aug 9 15:03 9 and wwwrun can not create new article directories. This result to an erro in the procmail log: procmail: Executing "/opt/OpenTRS//bin/PostMaster.pl" mkdir /opt/OpenTRS/var/article/2002/08/9/835: Permission denied at /opt/OpenTRS/bin/..//Kernel/System/Article.pm line 157 And this results to the '[otrs] hourly new item in the raw-queue' error from the mailing list. Thanks Christoph Martin Edenhofer wrote:
Hi Christoph,
On Mon, Aug 19, 2002 at 05:08:48PM +0200, Christoph Kaulich wrote:
I have the latest OTRS running. My webserver belongs to wwwrun, because other applications are served as well.
In the moment wwwrun creates a directory for a new ticket under e.g $OTRS_HOME/var/article/2002/08/19/888 the mode is
drwxr-sr-x 2 wwwrun nogroup 60 Aug 19 11:42 884
but I think it should be writeable for Group as well. What do UI have to change on my SusSE 7.3 to get this working correctly?
That`s ok, because the directory means:
$OTRS_HOME/var/article/2002/08/19/888 |^^^^^^^^^^ ^^^| Date of cration ArticleID
If a article is written to the filesystem, nobody will change this article anymore. It`s just for archiving.
-==> Your webserver user (wwwrun) an the otrs user can read and serve the stored article.
Christoph
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- socrate: 1:26pm up 66 days, 13:27, 4 users, load average: 0.06, 0.05, 0.01 _______________________________________________ OpenTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
-- Dipl.-Ing. Christoph Kaulich Tel.: ++49 (0) 531 / 2 405 551 GNS mbH Fax : ++49 (0) 531 / 2 405 552 Wilhelmitorwall 3 mailto:kaulich@gns-mbh.com 38118 Braunschweig http://www.gns-mbh.com

Hi Christoph, On Tue, Aug 20, 2002 at 02:33:08PM +0200, Christoph Kaulich wrote:
Yes, but sometimes I get day directories like this:
drwxr-sr-x 5 otrs nogroup 92 Aug 9 15:03 9
and wwwrun can not create new article directories. This result to an erro in the procmail log:
procmail: Executing "/opt/OpenTRS//bin/PostMaster.pl" mkdir /opt/OpenTRS/var/article/2002/08/9/835: Permission denied at /opt/OpenTRS/bin/..//Kernel/System/Article.pm line 157
And this results to the '[otrs] hourly new item in the raw-queue' error from the mailing list.
Oh... now. I got it. I changed the umask. I fixed it in CVS. Download the current Kernel::System::Article module ( http://otrs.org/cgi-bin/cvsweb.cgi/~checkout~/otrs/Kernel/System/Article.pm?... ) save it under /opt/OpenTRS/Kernel/System/Article.pm and restart the webserver. Then it works.
Christoph
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneider
participants (2)
-
Christoph Kaulich
-
Martin Edenhofer