[Mono-bugs] [Bug 44977][Nor] New - File.SettAttribute fails in linux

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 17 Jun 2003 06:50:43 -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 lluis@ideary.com.

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

--- shadow/44977	Tue Jun 17 06:50:41 2003
+++ shadow/44977.tmp.19991	Tue Jun 17 06:50:42 2003
@@ -0,0 +1,46 @@
+Bug#: 44977
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: dick@ximian.com                            
+ReportedBy: lluis@ideary.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: File.SettAttribute fails in linux
+
+Description of Problem:
+
+Attempt to set a file attribute always fail in linux.
+
+Steps to reproduce the problem:
+1. Run this:
+
+using System.IO;
+ 
+class Class1
+{
+        public static void Main (string[] args)
+        {
+                File.SetAttributes ("an existing file", FileAttributes.Hidden);
+        }
+}
+
+Actual Results:
+
+  Throws an exception
+
+Expected Results:
+
+  Hide the file
+
+How often does this happen? 
+
+  Allways