Search found 19 matches

by Rumik
10 Aug 2015, 09:38
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

It was the original line, but I had been running the scripts on a Windows machine previous to the QNAP, so I guess they just needed re-saving with Unix line endings. Whatever it was, I'm happy now :)
by Rumik
10 Aug 2015, 09:28
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

I've just updated the scripts to contain that line and it's working now with the Unix line endings, so no worries :)

Thanks!
by Rumik
10 Aug 2015, 09:07
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

FANTASTIC! That worked :D

Bloody Windows Line endings!

Thanks mate, really appreciate it!
by Rumik
10 Aug 2015, 08:39
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

I've tried Sublime Text and Wordpad. Both give the same result. The script's first line is #!/usr/bin python, which gives me Permission Denied errors. If I change this line to anything else then I get No such file or directory errors, which tells me the first line is right, but something is wrong wi...
by Rumik
10 Aug 2015, 08:29
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

Yeah, looks like it:
Python 2.7.9 (default, Mar 24 2015, 00:42:24)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
by Rumik
10 Aug 2015, 08:21
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

If I change it to that I get "No such file or directory" errors.

I've found out the actual Python installation path, which is /share/CACHEDEV1_DATA/.qpkg/Python/bin/python, but if I change the script to that it gives me "No such file or directory" errors.
by Rumik
10 Aug 2015, 08:17
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

If I point it anywhere else I get "No such file or directory" errors. If I point it to /usr/bin python I get "Permission denied" errors.
by Rumik
10 Aug 2015, 08:01
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

-sh: /share/Download/NZBGetScripts/NotifyXBMC.py: /usr/bin: bad interpreter: Permission denied
by Rumik
10 Aug 2015, 06:22
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

I'm not sure how :(
by Rumik
09 Aug 2015, 08:08
Forum: Support
Topic: permission denied - HELP!
Replies: 24
Views: 10394

Re: permission denied - HELP!

didn't actually see the option for scripts in the QNAP OS where you set folder permissions. Though I did try chmod 755 on the .py file itself but that didn't make any difference. Though perhaps I did it wrong!