]> Pileus Git - ~andy/sunrise/blob - media-libs/libmtp/files/udev-permissions.patch
media-libs/libmtp: Updated Ebuild for libmtp with version independent patch
[~andy/sunrise] / media-libs / libmtp / files / udev-permissions.patch
1 --- examples/hotplug.c.orig     2006-08-22 17:58:31.000000000 -0500
2 +++ examples/hotplug.c  2006-08-22 17:59:56.000000000 -0500
3 @@ -23,7 +23,7 @@
4    extern int optind;
5    extern char *optarg;
6    char *udev_action = NULL;
7 -  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"666\"";
8 +  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", GROUP=\"plugdev\", MODE=\"660\"";
9  
10    while ( (opt = getopt(argc, argv, "ua:")) != -1 ) {
11      switch (opt) {