Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0
-
None
-
None
-
Windows XP Pro SP2, JRE 1.4.2
Description
When we try to create a file in the home directory on Windows (My Documents, Mijn Documents or any other name in any other locale) we get an exception:
/** SNIPPED */
Caused by: org.apache.commons.vfs.FileSystemException: Could not write to "file:///C:/Documents and Settings/Matt/Mijn documenten/aaa.ktr" because it is read-only.
at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1199)
at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1180)
at org.apache.commons.vfs.provider.AbstractFileObject.createFile(AbstractFileObject.java:787)
... 14 more
Checked with Cygwin and the home directory is flagged as read-only by default. The system then assumes that the user has all possible rights because it is the user directory or something because using any other tool you can write to the directory, delete files, etc. Doing a "chmod a+w" on that directory fixes it, but without cygwin installed I didn't find a workaround on Windows yet.
References:
http://forums.pentaho.org/showthread.php?p=160267
http://jira.pentaho.org:8080/browse/PDI-4
Attachments
Issue Links
- is part of
-
VFS-210 Wrapper-Mode VFS
- Open