JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 17.12.2020, 19:38
randomtask randomtask is offline
Modem User
 
Join Date: Dec 2020
Posts: 2
Default Umask owner execution bit determines if auto extraction works

Hi,

first of all thanks a lot for this wonderful piece of software and the efforts you put into it.

I'm using JDownloader for years on my Windows machine and also installed it on a Linux system using docker (jlesage image). Now I wanted to restrict the permissions as much as possible and by doing so I noticed that auto extraction doesn't work when I use UMASK 117 (auto extraction is also greyed out when I select an archive in the download list). When I change it to 017 auto extraction is working again and it's not greyed out anymore.

Is this the expected behavior? I don't see an obvious reason for that since usually an archive doesn't need the execution bit for being extracted properly.

Sorry if I posted it in the wrong section or if the issue is related to the Docker image and not to JDownloader itself.
Reply With Quote
  #2  
Old 18.12.2020, 11:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

I would say that the missing umask execution bit prevents JDownloader/Java to create new tmp folder for extracting/loading the native extraction library. Please create a log, see https://support.jdownloader.org/Know...d-session-logs
and post logID here. create log with umask 117(when it fails)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 18.12.2020, 11:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
The basic rule is: files are never given execute permission through the umask setting.
Quote:
You have to intentionally give the files execute permission with the chmoc command. They will not get it simply based on your umask setting.
networkworld.com/article/3145868/making-umask-work-for-you.html
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 19.12.2020, 12:38
randomtask randomtask is offline
Modem User
 
Join Date: Dec 2020
Posts: 2
Default

Thanks a lot for your help! I'm sorry for wasting your time. It turned out that permissions of jdownloader input folder weren't set correctly.
However, it is true that it's not possible to use auto extraction feature without execution bit set in UMASK for owner, but it doesn't matter anymore for my use-case.
Reply With Quote
  #5  
Old 21.12.2020, 09:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Nothing to be sorry for! umask is just for folders, not for files. If you want I can look deeper into it but I need logs with non working umask set.
Thanks for the feedback!
__________________
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 23:04.
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 - 2024, Jelsoft Enterprises Ltd.