Unable to write to home directory on Windows --------------------------------------------
Key: VFS-130 URL: https://issues.apache.org/jira/browse/VFS-130 Project: Commons VFS Issue Type: Bug Affects Versions: 1.0 Environment: Windows XP Pro SP2, JRE 1.4.2 Reporter: Matt Casters 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]