Modify

Opened 10 years ago

Closed 10 years ago

#190 closed setup (fixed)

outstanding permissions issue with email2trac

Reported by: stroller Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 1.3.2
Keywords: Cc:

Description

i'm using email2trac with postfix and as per the instructions on the wiki did not use run_email2trac - email2trac is invoked directly by an alias

everything is working except one issue. when i create a ticket from the web with an attachment the attachment dir is owned by www-data:www-data but when a ticket comes from postfix (via email2trac) its owned by nobody:www-data

i want to attach a file to this ticket from the web after the original ticket was created by email2trac but can't due to the permissions described above. i did set ui on the email2trac binary but this didn't help. i also set the sticky bit on the attachments dir but this didn't help either.

any advice would be much appreciated, thx

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by bas

  • Status changed from new to assigned
  • Type changed from defect to setup

I am using run_email2trac which corrects the permission problem you described. Did you follow the instructions on wiki:

If i read it correctly your alias file must be owned by www-data. So postfix will use this user.

what do you mean by this sentence:

did set ui on the email2trac

If it means set userid bit. You must change a kernel parameter. Default the linux kernel will prevent this for scripts. Because this is a bug security risk.

comment:2 Changed 10 years ago by stroller

right - i was confused by the setui nonsense and hadn't set the permissions on the alias.db file correctly. i fixed that and it worked, thx for the support!

comment:3 Changed 10 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.