[Mono-bugs] [Bug 41999][Nor] New - File.SetAttributes fails on linux

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 27 Apr 2003 21:50:25 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ianm@activestate.com.

http://bugzilla.ximian.com/show_bug.cgi?id=41999

--- shadow/41999	Sun Apr 27 21:50:25 2003
+++ shadow/41999.tmp.14682	Sun Apr 27 21:50:25 2003
@@ -0,0 +1,38 @@
+Bug#: 41999
+Product: Mono/Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: gentoo 1.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ianm@activestate.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: File.SetAttributes fails on linux
+
+Description of Problem:
+The SetAttributes method of the File class throws an unhandled exception 
+
+Steps to reproduce the problem:
+1. 
+string somefile = @"/home/ianm/dev/test/csharp/somefile.cs";
+File.SetAttributes( somefile, FileAttributes.Normal ); 
+
+
+Actual Results:
+unhandled exception :
+Win32 IO returned ERROR_INVALID_FUNCTION
+
+
+Expected Results:
+successfully change the File attributes
+
+How often does this happen? 
+Consistently on linux. Doesn't fail on windows with 0.23 so it could be a
+linux specific thing