Giter VIP home page Giter VIP logo

Comments (14)

sigoden avatar sigoden commented on September 28, 2024

cloud you post the log?

from dufs.

sigoden avatar sigoden commented on September 28, 2024

Closing this issue due to lack of information. If anyone else encounters the same problem, welcome to reopen this issue。

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

As far as I can tell from your logger.rs file you only log to stdout, so here you go:

Listening on:
  http://127.0.0.1:5000/
  http://172.17.0.1:5000/
  http://192.168.178.180:5000/
  http://[::1]:5000/
  http://[2003:cf:af3b:2500:1131:9987:7c10:32e9]:5000/
  http://[2003:cf:af3b:2500:1743:830c:e9fb:2204]:5000/

2022-06-30T10:15:13+02:00 INFO - 127.0.0.1 "GET /airbnbirgit/?zip" - 200

Are you writing to a logfile I can attach?

EDIT: issue persists in 0.23.0

from dufs.

sigoden avatar sigoden commented on September 28, 2024

Is the zip format incompatible with mac? I have test linux and macos, No problem found。

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

Well, I am on ubuntu 22.04 and tested with ff and chromium. Can't access MacOS to test.

from dufs.

sigoden avatar sigoden commented on September 28, 2024

Cloud you zip some unimportant files to reproduce the problem, then upload that zip file to this github issue?

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

The original zip-file was filled with images, and my image viewer simply stated "Failed to open input stream for reading" when attempting to unzip it, which, to me, sounded like a zipping issue.

I tried to reproduce the issue with text files, but my text editor states that it's a permissions issue, because it doesn't have the permission to open the files!

I'm not sure where the permissions get mixed up however. I start the dufs binary without sudo, from my standard user account with dufs -A (just testing, everything on localhost), so dufs should be running as the standard user. Are any permissions changed, or maybe transfered incorrectly, during the upload process or zipping?

from dufs.

sigoden avatar sigoden commented on September 28, 2024

The user:group of files created by dufs is same to user:group that runs dufs. dufs won't mixup permissions.

The permissions of the unzipped files are controlled by the unzip tool and the user:group runs the tool.

Your may try online unzip tool like https://m.ezyzip.com/unzip-files-online.html

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

The online tools works perfectly, no issue with extracting the files.

Using unzip from the terminal also results in the same issue. Very strange. No idea where to go from here, honestly.

from dufs.

sigoden avatar sigoden commented on September 28, 2024

Could you post the version information of your unzip tool?

run unzip -v to print version info

from dufs.

sigoden avatar sigoden commented on September 28, 2024

I found the problem, the mode of the files in the zip file are all been set to 000. So there will are permission problems in linux.

Your unzip tool is fine.

from dufs.

sigoden avatar sigoden commented on September 28, 2024

Thank you for helping me find the problem

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

No problem, thank you, too. Let me know when it's fixed, I'll test the new release ASAP.

from dufs.

juliangaal avatar juliangaal commented on September 28, 2024

works like a charm! Thanks for the quick response

from dufs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.