]> git.marmaro.de Git - mmh/blobdiff - sbr/folder_read.c
fix a bug affecting AFS where nmh was setting the READONLY flag for a
[mmh] / sbr / folder_read.c
index 2e67917257f57944b649045848b76a4a33f32a11..6cd0d109305dc180398c4fdf392b722950fa0bb7 100644 (file)
@@ -57,7 +57,7 @@ folder_read (char *name)
     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);