! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Orage is unable to process foreign files with read-only filesystem permissions.
Status:
CLOSED: FIXED

Comments

Description Praveen Bhamidipati 2011-11-08 14:37:28 CET
User-Agent:       Opera/9.80 (X11; Linux i686; U; en) Presto/2.9.168 Version/11.52
Build Identifier: Orage 4.8.1

Foreign files feature works for me just fine when I have the 'Read only' option ticked on, if the external .ics have read-write filesystem permissions. However, keeping everything else same, when the filesystem permissions of the external .ics files are changed to read-only (via chmod -W), the events of the external files are not being loaded into the orage calendar.

Reproducible: Always

Steps to Reproduce:
1. Have an external .ics file as read-only using the chmod -w command.
2. Add that external .ics file in the 'Exchange Data' window, keeping the orage option 'Read only' turned on.
3. The events of that .ics file wouldn't show up in Orage.
Actual Results:  
Orage was unable to import the events from the read-only external .ics files.

Expected Results:  
Given that I had the option 'Read only' ticked on in the orage 'Exchange Data' window, I was under the impression that the filesystem level permissions should not matter at all. Hence, I expected the foreign files feature to work irrespective of the external file having read-write or read-only permissions.

I was just being extra cautious with my .ics files. If you guys can confirm that with the Orage option 'Read only' turned on, Orage wouldn't touch the external .ics files, then I guess this bug wouldn't be that high priority.
Comment 1 juha editbugs 2011-11-09 09:21:51 CET
Yes, I can reproduce this. It seems like libical really does not support read-only, but I need to check more.

Anyway, Orage will not modify that file. (Errors from the modify/delete will only be logged to log file though, so it looks like the modification worked, which is not nice.)
Comment 2 juha editbugs 2011-11-26 08:00:01 CET
This is fixed now in GIT in version 4.8.2.5.
(libical had read only file open call after all.)
Comment 3 juha editbugs 2012-01-09 08:31:34 CET
Fixed in 4.8.3.

Bug #8121

Reported by:
Praveen Bhamidipati
Reported on: 2011-11-08
Last modified on: 2012-01-09

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information