-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icloudpd 1.17.3: Failed to execv() /tmp/staticx-kJmNbp/icloud-1.17.3-linux-amd64.dynamic: Permission denied #788
Comments
see #764 |
Thanks for the reply, but I see there is no current fix for it? I've tried the |
IIUC Root cause is that Synology has limited permissions on tmp folder compared to other systems. icloudpd is distributed as binary executable, which unpacks at start using tmp folder. As a workaround, there may be way to force source code installation - I haven't checked it though. |
Okay, I’ll give that a go over the weekend and will report back. Thanks!
|
Just tried this, but I don't understand what I'm doing wrong. Usage: --no-binary option requires 1 argument |
A little update for this issue: I've removed (does that count as uninstall?) the icloudpd-venv directories, rebooted DSM and installed again, so basically a fresh install right? Weirdly, I have another useraccount that I backup that originates from the same install dir (so same icloudpd command except for username), and that still works fine... |
An update regarding this issue: I've seem to fixed it using @Dylqn method, but slightly different. From SSH terminal on my NAS I ran So the TL;DR is two 'issues':
|
Your TL;DR second bullet solved this same issue for me as well. Each time it went to run, a new temp folder was created, giving the permission denied error. I ran your line, and all worked just as it should. |
added a note to FAQ |
Overview
6 months a go I have installed iCloudpd on my Synology NAS using this guide: https://www.reddit.com/r/synology/comments/10hw71g/comment/j5f8bd8/.
Since about two weeks my MFA token for iCloud expired so I needed to login again. That did not work (can't remember the error code), so I decided to upgrade pip and iCloudpd to the latest version. Since then, I get the error message:
Failed to execv() /tmp/staticx-kJmNbp/icloud-1.17.3-linux-amd64.dynamic: Permission denied.
Where the part 'kJmNbp' is random.This happens with all the arguments. List, login to iCloud to store MFA token in keyring, etc.
I use the command
/var/services/homes/tbalder/icloudpd-venv/bin/python /var/services/homes/installfolder/icloudpd-venv/bin/icloudpd -d "/volume1//foldername/foldername/" -u my@email --auto-delete --threads-num 3 --log-level info
Steps to Reproduce
# Login to iCloud and store password in keyring /var/services/homes/installfolder/icloudpd-venv/bin/icloud --username "my@email"
or
# Test connection by listing albums. This may prompt for 2-factor authentication the first time you run it. /var/services/homes/installfolder/icloudpd-venv/bin/icloudpd -u "my@email" -l
Expected Behavior
Actual Behavior
I receive an error message:
Failed to execv() /tmp/staticx-kJmNbp/icloud-1.17.3-linux-amd64.dynamic: Permission denied.
Where the part 'kJmNbp' is random.Context
I have upgraded all the packages, and also reinstalled icloudPD using
/var/services/homes/installfolder/icloudpd-venv/bin/pip3 install icloudpd
, but that did not change the outcome.It also happens with a different iCloud account.
The text was updated successfully, but these errors were encountered: