Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 396647

Summary: app-backup/spideroak-bin should install inotify_dir_watcher with exe permission
Product: Gentoo Linux Reporter: Shuai WANG <Etrnls>
Component: Current packagesAssignee: Dennis Schridde <dschridde+gentoobugs>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, naota
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 398313    
Attachments: patch

Description Shuai WANG 2012-01-01 02:50:48 UTC
The inotify_dir_watcher in /opt/SpiderOak is currently installed without exe permission, causing the software not able to monitor the dirs and the following line in the log files (~/.SpiderOak/spider_*.log)

ERROR    fs_notify            Error starting notifier: /opt/SpiderOak/inotify_dir_watcher: Permission denied
Comment 1 Dennis Schridde 2012-01-10 00:19:58 UTC
Created attachment 298431 [details, diff]
patch

While I was at it I also made the py executable executable. No idea what it is used for, though... Patch attached.
Comment 2 Anthony Basile gentoo-dev 2012-01-10 17:17:28 UTC
(In reply to comment #1)
> Created attachment 298431 [details, diff] [details, diff]
> patch
> 
> While I was at it I also made the py executable executable. No idea what it is
> used for, though... Patch attached.

Actually even this misses SpiderOak/library.zip.  I the bumped ebuild (see bug #398313), I'm suggesting we use

   cp -pPR usr/lib/SpiderOak "${ED}"/opt/

Not ideal but it preserves the permissions.  This should ease future maintenance if permissions are changed on other files --- the unfortunate downside of prebundled binaries and libraries.
Comment 3 Anthony Basile gentoo-dev 2012-01-26 17:41:08 UTC
This is fixed in spideroak-bin-4.2.9913.ebuild and should be carried forward. 
See bug #398313