Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 99a346e0decfc4abc667900121b9619d > files > 1

libmtp-0.2.6.1-alt2.src.rpm

--- libmtp-0.2.6.1/examples/hotplug.c.perms	2007-11-11 03:06:28 +0300
+++ libmtp-0.2.6.1/examples/hotplug.c	2008-05-11 16:45:17 +0400
@@ -54,7 +54,7 @@ int main (int argc, char **argv)
   extern int optind;
   extern char *optarg;
   char *udev_action = NULL;
-  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"666\"";
+  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"0660\", OWNER=\"root\", GROUP=\"camera\"";
   char *action; // To hold the action actually used.
   uint16_t last_vendor = 0x0000U;