
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

Hi We need to have one manager see other's users tickets under "Company Tickets" in the Customer interface. This was set up based on the good examples in the documentation by adding a field to the customer_users table and by adding the data below to the Config.pm file. This works well but we now have a problem because the CustomerID's field will only allow 60 charaters to be added. E.g. users is numbered [CustomerID] ZXY001.1, ZXY001.2 etc. The manager's CustomerIDs field will then look like this "ZXC001.1;ZXC001.2;ZXC001.3" - allowing him to see the tickets created by ZXC001.1 and ZXC001.2 and ZXC001.3. I have already tested and know that I can add more than 60 characters to the database field customer_users.customer_ids. BUT I cannot add more than 60 characters to this field via the user interface AND OTRS will not display the tickets of all users added via the direct to database field way. Can someone please point me in the correct direction? ######from Config.pm################ # CustomerUser # (customer user database backend and settings) $Self->{CustomerUser} = { Name => 'Database Backend', Module => 'Kernel::System::CustomerUser::DB', Params => { # if you want to use an external database, add the # required settings # DSN => 'DBI:odbc:yourdsn', # DSN => 'DBI:mysql:database=customerdb;host=customerdbhost', # User => '', # Password => '', Table => 'customer_user', }, # customer uniq id CustomerKey => 'login', # customer # CustomerID => 'customer_id', CustomerValid => 'valid_id', CustomerUserListFields => ['first_name', 'last_name', 'email'], # CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'], CustomerUserSearchFields => ['login', 'last_name', 'customer_id'], CustomerUserSearchPrefix => '', CustomerUserSearchSuffix => '*', CustomerUserSearchListLimit => 250, CustomerUserPostMasterSearchFields => ['email'], CustomerUserNameFields => ['salutation', 'first_name', 'last_name'], CustomerUserEmailUniqCheck => 1, # # show now own tickets in customer panel, CompanyTickets # CustomerUserExcludePrimaryCustomerID => 0, # # generate auto logins # AutoLoginCreation => 0, # AutoLoginCreationPrefix => 'auto', # # admin can change customer preferences # AdminSetPreferences => 1, # # just a read only source # ReadOnly => 1, Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var', '', 0 ], [ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var', '', 0 ], [ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var', '', 0 ], [ 'UserLogin', 'Username', 'login', 1, 1, 'var', '', 0 ], [ 'UserPassword', 'Password', 'pw', 0, 1, 'var', '', 0 ], [ 'UserEmail', 'Email', 'email', 0, 1, 'var', '', 0 ], # [ 'UserEmail', 'Email', 'email', 1, 1, 'var', '$Env{"CGIHandle"}?Action=AgentTicketCompose&ResponseID=1&TicketID=$Data{"Ti cketID"}&ArticleID=$Data{"ArticleID"}', 0 ], [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var', '', 0 ], [ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var', '', 0 ], [ 'UserComment', 'Comment', 'comments', 1, 0, 'var', '', 0 ], [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int', '', 0 ], ], # default selections Selections => { # UserSalutation => { # 'Mr.' => 'Mr.', # 'Mrs.' => 'Mrs.', # }, }, }; Theuns Smuts www.itblue.co.za Your preferred IT partner Confidentiality Notice: The information in this document and attachments is confidential and may be legally privileged. It is intended only for the use of the named recipient. Internet communications are not secure and therefore ITBlue does not accept legal responsibility for the contents of this message. If you are not the intended recipient, please notify us immediately by return email and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful.
participants (2)
-
Alexander Scholler
-
Theuns Smuts