summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-07 01:46:55 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-07 01:46:55 +0000
commit00bdba7d0cee7ec37fb446cfa1fc4b88f9b700a6 (patch)
treeff0622c2fe59fe06e0f76be265624a1650a82597 /app-editors/nano/files
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-00bdba7d0cee7ec37fb446cfa1fc4b88f9b700a6.tar.gz
gentoo-2-00bdba7d0cee7ec37fb446cfa1fc4b88f9b700a6.tar.bz2
gentoo-2-00bdba7d0cee7ec37fb446cfa1fc4b88f9b700a6.zip
umask fix #55780
Diffstat (limited to 'app-editors/nano/files')
-rw-r--r--app-editors/nano/files/1.3-nanopermsfix.patch12
-rw-r--r--app-editors/nano/files/digest-nano-1.3.2-r1 (renamed from app-editors/nano/files/digest-nano-1.3.2)0
-rw-r--r--app-editors/nano/files/digest-nano-1.3.3-r1 (renamed from app-editors/nano/files/digest-nano-1.3.3)0
3 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/nano/files/1.3-nanopermsfix.patch b/app-editors/nano/files/1.3-nanopermsfix.patch
new file mode 100644
index 000000000000..68d9f77104b8
--- /dev/null
+++ b/app-editors/nano/files/1.3-nanopermsfix.patch
@@ -0,0 +1,12 @@
+diff -ur nano-1.3.3/src/files.c nano-1.3.3-fixed/src/files.c
+--- nano-1.3.3/src/files.c 2004-06-21 23:03:00.000000000 -0400
++++ nano-1.3.3-fixed/src/files.c 2004-07-06 09:58:56.000000000 -0400
+@@ -1619,7 +1619,7 @@
+ * is now copied from joe, because wiggy says so *shrug*. */
+ fd = open(realname, O_WRONLY | O_CREAT |
+ (append == 1 ? O_APPEND : (tmp ? O_EXCL : O_TRUNC)),
+- S_IRUSR | S_IWUSR);
++ S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
+
+ /* Put the umask back to the user's original value. */
+ umask(original_umask);
diff --git a/app-editors/nano/files/digest-nano-1.3.2 b/app-editors/nano/files/digest-nano-1.3.2-r1
index 54ccd0c171ed..54ccd0c171ed 100644
--- a/app-editors/nano/files/digest-nano-1.3.2
+++ b/app-editors/nano/files/digest-nano-1.3.2-r1
diff --git a/app-editors/nano/files/digest-nano-1.3.3 b/app-editors/nano/files/digest-nano-1.3.3-r1
index aadcff3edca1..aadcff3edca1 100644
--- a/app-editors/nano/files/digest-nano-1.3.3
+++ b/app-editors/nano/files/digest-nano-1.3.3-r1