summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-07-08 10:39:52 +0200
committerMartin Väth <martin@mvath.de>2016-07-08 10:39:52 +0200
commit500f2baa99b27f005da41b93790dc507bbbdad58 (patch)
tree00210384629d17e589c1603c9db677fcd347e351 /app-cdr/xcdroast/files/suid-perms.patch
parentwww-plugins/classic-theme-restorer: Version bump (diff)
downloadmv-500f2baa99b27f005da41b93790dc507bbbdad58.tar.gz
mv-500f2baa99b27f005da41b93790dc507bbbdad58.tar.bz2
mv-500f2baa99b27f005da41b93790dc507bbbdad58.zip
app-cdr/xcdroast: Bump changes from main gentoo repository
Diffstat (limited to 'app-cdr/xcdroast/files/suid-perms.patch')
-rw-r--r--app-cdr/xcdroast/files/suid-perms.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-cdr/xcdroast/files/suid-perms.patch b/app-cdr/xcdroast/files/suid-perms.patch
new file mode 100644
index 00000000..1c804bc1
--- /dev/null
+++ b/app-cdr/xcdroast/files/suid-perms.patch
@@ -0,0 +1,36 @@
+diff -Naurd xcdroast-0.98alpha16.orig/doc/README.nonroot xcdroast-0.98alpha16/doc/README.nonroot
+--- xcdroast-0.98alpha16.orig/doc/README.nonroot 2003-10-27 23:37:40.000000000 +0300
++++ xcdroast-0.98alpha16/doc/README.nonroot 2016-07-07 21:32:35.006587826 +0300
+@@ -72,7 +72,7 @@
+ Please change now to the corresponding directory and enter:
+
+ chown root xcdrwrap
+- chmod 4755 xcdrwrap
++ chmod 4711 xcdrwrap
+
+
+ Usage of the non-root-mode
+diff -Naurd xcdroast-0.98alpha16.orig/src/init.c xcdroast-0.98alpha16/src/init.c
+--- xcdroast-0.98alpha16.orig/src/init.c 2008-08-20 20:20:23.000000000 +0400
++++ xcdroast-0.98alpha16/src/init.c 2016-07-07 21:32:35.006587826 +0300
+@@ -670,7 +670,7 @@
+
+ /* check file mode of wrapper */
+ if (stat(tmp,&buf) == 0) {
+- if (buf.st_mode != 0104755) {
++ if (buf.st_mode != 0104711) {
+ dodebug(3,"Note: %s wrong modes set (0%o)\n", tmp, buf.st_mode);
+ nofail = 0;
+ }
+diff -Naurd xcdroast-0.98alpha16.orig/src/io.c xcdroast-0.98alpha16/src/io.c
+--- xcdroast-0.98alpha16.orig/src/io.c 2008-08-21 17:11:40.000000000 +0400
++++ xcdroast-0.98alpha16/src/io.c 2016-07-07 21:32:35.003587931 +0300
+@@ -10380,7 +10380,7 @@
+ strcat(ret,tmp);
+ #endif
+ /* old nonroot mode - 2755 */
+- g_snprintf(tmp,MAXLINE,"%s 4755 %s\n", cmd_chmod, bin);
++ g_snprintf(tmp,MAXLINE,"%s 4711 %s\n", cmd_chmod, bin);
+ strcat(ret,tmp);
+
+