Giter Site home page Giter Site logo

Comments (5)

Kevin-Shiuan avatar Kevin-Shiuan commented on July 1, 2024

I have this problem too!

from rars.

jeannly avatar jeannly commented on July 1, 2024

Could you give more details regarding your system info? Unfortunately you haven't provided enough info to figure out how to recreate the bug, figure out the cause, and fix it. Particularly, your:

OS version
Architecture/chip (M1/M2 or x86?)
Java version

I'm on Monterey with M1, and I'm not seeing the same issue.

A screen/window recording of what happens would be great as well - from starting up RARS to attempting to open the file.

from rars.

andsanv avatar andsanv commented on July 1, 2024

sorry for the very late answer.
anyway:

  • OS version: Monterey
  • M1 chip
  • java version: 1.8.0_341

i tried recording the screen but GitHub policies do not allow me to upload a video longer than 10 MB (which are around 6 seconds in screen recording time, impossible if i want to show useful informations).
anyway, rars executable on my 2020 macbook air is stored in a OneDrive folder (nothing changes if i put it outside), and looks like it doesn't have permits to access some folders such as desktop. looks like it cannot see ".asm" files (and all the other files that are not folders, sometimes even folders) even though they are there. it can save files tho, just it cannot reopen them after saving.

one more info that i think can be useful is that rars uses "hsperfdata_{my_user}" as default folder for the "open file" option. don't think it's supposed to.

hope this helps to fix the issue.

from rars.

Verblutet avatar Verblutet commented on July 1, 2024

I think the rars doesn’t get permissions to open files by default. I fixed it by giving the „JavaLauncher.app“ Full Disk Access.

To give Full Disk Access to JAR files on macOS:

  1. Go to System Preferences.
  2. Click on Security and Privacy.
  3. Search for 'Full Disk Access'.
  4. Click on the lock at the bottom left to be able to make changes.
  5. Click on the '+' icon at the bottom left of the FDA panel and a Finder prompt will appear.
  6. Go to System/Library/CoreServices/JavaLauncher.app
  7. Select the JavaLauncher.app and click 'Open'

Now you should be able to access files through your Java application.

from rars.

andsanv avatar andsanv commented on July 1, 2024

@Verblutet you are the man. of course i knew the nature of the problem was that rars did not have enough rights to do certain things, but i never dove deeper. thanks for the short guide on how to solve the problem (it did infact solve it). have a great day!

from rars.

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.