I have a patch I created a while back that addresses a problem I was having 
where mounting my mail folders over AFS caused it to look like they didn't 
belong to me.

I've fixed it to apply against 1.1-RC3
It's small enough that I've attached it here.
I've removed a piece of code that I'm not sure why it's there.
Any comments?  What are the chances of getting it added to nmh?


diff -u -r nmh/sbr/folder_read.c nmh-new/sbr/folder_read.c
--- nmh/sbr/folder_read.c       Fri Oct 24 16:17:23 2003
+++ nmh-new/sbr/folder_read.c   Mon Feb  9 23:24:37 2004
@@ -57,7 +57,7 @@
     mp->numsel = 0;
     mp->nummsg = 0;
 
-    if (access (name, W_OK) == -1 || st.st_uid != getuid())
+    if (access (name, W_OK) == -1)
        set_readonly (mp);
     prefix_len = strlen(BACKUP_PREFIX);
 
_______________________________________________
Nmh-workers mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to