Modify ↓
Opened 18 years ago
Closed 18 years ago
#802 closed defect (fixed)
Email attachments to trac - no attachments added in trac ticket
Reported by: | Owned by: | Bas van der Vlies | |
---|---|---|---|
Priority: | highest | Component: | EmailtoTracScript |
Severity: | critical | Keywords: | attachments |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
When emailing a request to the trac email with an attachment, the email goes to trac database but there is no attachments.
[root@localhost ~]# tail /var/log/messages Oct 12 16:38:02 localhost su(pam_unix)[4512]: session closed for user trac Oct 12 16:38:02 localhost crond(pam_unix)[4509]: session closed for user root Oct 12 16:38:02 localhost email2trac: Traceback (most recent call last): Oct 12 16:38:02 localhost email2trac: File "/usr/local/bin/email2trac", line 831, in ? tktparser.parse(sys.stdin) Oct 12 16:38:02 localhost email2trac: File "/usr/local/bin/email2trac", line 494, in parse self.new_ticket(m) Oct 12 16:38:02 localhost email2trac: File "/usr/local/bin/email2trac", line 452, in new_ticket n = self.attachments(msg, tkt) Oct 12 16:38:02 localhost email2trac: File "/usr/local/bin/email2trac", line 698, in attachments att.insert(url_filename, fd, filesize) Oct 12 16:38:02 localhost email2trac: File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 180, in insert os.makedirs(self.path) Oct 12 16:38:02 localhost email2trac: File "/usr/lib/python2.3/os.py", line 154, in makedirs mkdir(name, mode) Oct 12 16:38:02 localhost email2trac: OSError: [Errno 13] Permission denied: '/trac/test/attachments/ticket/66
Is it really a permission problem or something else? How can it be resolved?
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
resolved - added permission
Note: See
TracTickets for help on using
tickets.
Fixing formatting