JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #21  
Old 04.06.2018, 19:00
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,452
Default

I changed the permissions as you asked, but now I have a serious problem because of this, I damaged some data :(

---------------------------
Windows security
---------------------------
Stop propagating permission settings leads to an inconsistency state in which some objects have settings and others do not. If the change was made in error, you must immediately apply the correct change to achieve a consistent state.
---------------------------
OKAY
---------------------------
Reply With Quote
  #22  
Old 04.06.2018, 19:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

I don't know what you did or how you did that As I said, it's not our job to support permission settings of your system/windows.
The most easiest solutino would be to download into a subfolder but it seems you simply don't want that and WANT to download into root.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 04.06.2018, 19:16
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,452
Default

Solution, use the script:

Step by Step:
1. PATH: C:\JD\JDownloader.jar <=== Take Ownership (UAC)
2.

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"Position"="middle"

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant *S-1-3-4:F /c /l"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant *S-1-3-4:F /c /l"



[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"AppliesTo"="NOT (System.ItemPathDisplay:="C:\\Users" OR System.ItemPathDisplay:="C:\\ProgramData" OR System.ItemPathDisplay:="C:\\Windows" OR System.ItemPathDisplay:="C:\\Windows\\System32" OR System.ItemPathDisplay:="C:\\Program Files" OR System.ItemPathDisplay:="C:\\Program Files (x86)")"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"Position"="middle"

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant *S-1-3-4:F /t /c /l /q"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant *S-1-3-4:F /t /c /l /q"



[-HKEY_CLASSES_ROOT\dllfile\shell\runas]

[HKEY_CLASSES_ROOT\dllfile\shell\runas]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"Position"="middle"

[HKEY_CLASSES_ROOT\dllfile\shell\runas\command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant *S-1-3-4:F /c /l"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant *S-1-3-4:F /c /l"



[-HKEY_CLASSES_ROOT\Drive\shell\runas]

[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="Take Ownership"
"AppliesTo"="NOT C:"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"Position"="middle"

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant *S-1-5-32-544:F /t /c /l /q"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant *S-1-3-4:F /t /c /l /q"




[-HKEY_CLASSES_ROOT\exefile\shell\runas]

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@=""%1" %*"
"IsolatedCommand"=""%1" %*"
Reply With Quote
  #24  
Old 04.06.2018, 19:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Solution would be to simply follow the guidelines as intended by Microsoft and not write into the root of a device that is protected by permissions that normal users cannot do that.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #25  
Old 04.06.2018, 19:28
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,452
Default

You're wrong. Of course, for an ordinary user, manual ownership of JDownloader can be cumbersome and incomprehensible.
You could say that the JDownloader.jar file should be take overnership, and not change anything on the partition because it was pointless!
Now I can write to any partition without any problem.
The script does not belong to Microsoft only to another author, it has been improved because there is another script that does not work properly with UAC enabled.

Save to:
Z:\
Reply With Quote
  #26  
Old 04.06.2018, 19:38
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,452
Default

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #27  
Old 05.06.2018, 09:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

It's your computer, your choice. We're done here
__________________
JD-Dev & Server-Admin
Reply With Quote
  #28  
Old 12.06.2018, 08:02
HieuDo's Avatar
HieuDo HieuDo is offline
Fibre Channel User
 
Join Date: Nov 2014
Posts: 120
Default

Quote:
Originally Posted by Jiaz View Post
Your destination drive/folder has IO error
java.io.IOException: Input/output error

This is caused by local system and has nothing to do with JDownloader.
Quote:
Originally Posted by Jiaz View Post
You can google for it,
for example, github.com/astrada/google-drive-ocamlfuse/issues/304
looke like issues with google drive
12.06.18 00.40.03 <--> 12.06.18 02.15.12 jdlog://7245954433151/

Yeah it is Google Drive issue.
Anyway, can JD2 bypass the error automatically? Right now, I have to click the Resume function on the error links in JD2 manually for solving the problem.

Screen Capture: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Last edited by HieuDo; 12.06.2018 at 08:13.
Reply With Quote
  #29  
Old 15.06.2018, 16:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

I will try to workaround/fix this as soon as I find time


Maybe it helps to reduce the number of downloads?
Or there is some setting in GoogleDrive to avoid upload when the file is opened? To avoid sync problems?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #30  
Old 19.06.2018, 06:34
HieuDo's Avatar
HieuDo HieuDo is offline
Fibre Channel User
 
Join Date: Nov 2014
Posts: 120
Default





19.06.18 17.51.48 <--> 20.06.18 06.51.14 jdlog://4178954433151/

Last edited by HieuDo; 20.06.2018 at 12:49.
Reply With Quote
  #31  
Old 19.06.2018, 10:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Thanks for the feedback. I guess it's a os limitation that google drive can't stop sync of open files
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:10.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.