To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75446





------- Additional comments from [email protected] Thu Oct  1 12:56:39 +0000 
2009 -------
I have tried to get the access rights with passing the
GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS option to the 'gnome_vfs_get_file_info'
call and then using the GNOME_VFS_PERM_ACCESS_WRITABLE permission flag to
determine if the document is read only . But I haven't a clue why this doesn't
work with sftp://. (fileInfo->valid_flags doesn't have the
GNOME_VFS_FILE_INFO_FIELDS_ACCESS flag).

If anyone has an idea please give me a hint. Otherwise i will change the
behavior form eager permission check to open all documents in write mode and
check permission on save to fix this issue.

@rlfebrero: I cannot reproduce the behavior your described. Working with the
~/.gvfs/ directory works for me. Using sftp:// gives me read-only documents.
Both on Ubuntu 9.04.






---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to