Hallo,
probieren Sie mal alles ab Cache dem Benutzer/Gruppe Apache zu übergeben.

Sprich chown -R apache:apache /opt/otrs/var/tmp/Cache/

Den Ordner "Cache" selbst aber wieder dem OTRS-Benutzer zu ordnen.

Gruß
Marcel

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von 
Thomas Wittmann
Gesendet: Friday, November 19, 2010 11:58 AM
An: User questions and discussions about OTRS.org in German
Betreff: [otrs-de] Permission Problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo Zusammen,

ich glaube ich habe hier ein "Admin zu Dumm" Fehler. Ich bekomme ständig 
Permission Denied in folgender Art:

"OTRS-otrs.PostMaster.pl-10[30749]:
[Error][Kernel::System::Main::FileWrite][Line:444]: Can't write
'/opt/otrs/var/tmp/CacheFileStorable//CacheInternalTicket/c1383b54cxxxxxxxc7c87':
Permission denied"

Folgendes Setup:
OS: Centos 5.5 aktueller Patchlevel
Otrs: 3.0.2 aus tarball
Installation: /opt/otrs-3.0.2 verlinkt nach /opt/otrs
        lrwxrwxrwx  1 root root      10 Nov 18 17:47 otrs -> otrs-3.0.2

Apache User: uid=48(apache) gid=48(apache) groups=48(apache) Otrs User: 
uid=500(otrs) gid=501(otrs) groups=501(otrs),48(apache)

Nach der Installation otrs.SetPermissions.pl --otrs-user=otrs
- --web-user=apache --otrs-group=otrs --web-group=apache /opt/otrs aufgerufen.

Dann habe ich folgende Permissions:

tmp/
|-- [drwxrwsr-x otrs     apache  ]  Cache
|-- [drwxrwsr-x otrs     apache  ]  CacheFileStorable
|   |-- [drwxrwsr-x otrs     apache  ]  CacheInternalGroup
|   |   |-- [-rw-rw-r-- otrs     apache  ]  001aebaf94e...
...
|   |-- [drwxrwsr-x otrs     apache  ]  CacheInternalLinkObject
|   |   |-- [-rw-rw-r-- otrs     apache  ]  41c5e89...
...
|   |-- [drwxrwsr-x otrs     apache  ]  CacheInternalLoader
|   |   |-- [-rw-rw-r-- otrs     apache  ]  037775e961...
usw.

Hin und wieder sind auch solche Files dabei:

|   |   |-- [-rw-rw-r-- apache   apache  ]  c5d4f9267...

Inzwischen hab ich schon einiges an Permissions ausprobiert, allerdings hat 
keine Anpassung gefruchtet. Kann mir jemand einen Tipp geben, was es sein 
könnte? Bzw. einfach mal steif und fest behaupten welche Permissions korrekt 
sind?

Danke!

- --
Thomas Wittmann

Do not judge a man until you have walked a mile in his shoes.
After that, who cares? You are a mile away and you've got his shoes!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzmWDMACgkQeD5ZxkjPkXrWUwCfStAj1hqHbRUIjY0tddY/3eml
GvIAnREohf7dKmENxWXq8YytNVUBKRBq
=yd61
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

Antwort per Email an