Skip to content

turn off overwriting preferences.txt in portable folder #5668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hanabanana opened this issue Dec 2, 2016 · 2 comments
Closed

turn off overwriting preferences.txt in portable folder #5668

hanabanana opened this issue Dec 2, 2016 · 2 comments
Milestone

Comments

@hanabanana
Copy link

Using the portable folder inside IDE folder, it is nice that we are able to to make all IDE files self-contained in one location instead of having files scattered around many places. To share the same IDE across multiple machines(same OS), we need to put the IDE folder on a network drive, which only have read permission for normal users. Now, the IDE can no longer open because it tries to overwrite the preferences.txt in the portable folder and fails with a permission issue. We are forced to go back to the scattered IDE option, which makes it harder to share across multiple machines.

Is there a way to make IDE not overwriting the preferences.txt in portable folder by either turning it off or setting it to write the txt somewhere else?

@cmaglie
Copy link
Member

cmaglie commented Aug 10, 2018

@hanabanana
is the --preference-file an option for you?

  --preferences-file filename
    Read and store preferences from the specified filename instead of the default one.

using this option you can make the IDE write the file in any arbitraty path.

@hanabanana
Copy link
Author

Thanks for the pull request. I tried the patch and it worked well in our read-only network drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants