Give access to Sql developer to Documents Folder - oracle-sqldeveloper

Firstable, i don't know if this is the best place to ask this.
I made a clean Catalina OSX (10.15.7) install, and i'm trying to access to Document Folder using Sql Developer, but i don't know what is the problem.
If you see the image, this is the error:
I'm using java version "11.0.9" 2020-10-20 LTS
What is wrong?
Folder permissions
Best regards
UPDATE:
The same error with other folders

Go to System Preferences → Security & Privacy → Privacy → Full Disk Access.
Click add ([+]) and grant access to /bin/bash.

Yes, same Error here.
Installed Java 11 and SQL-Developer "20.2..." on a fresh macOS Big Sur (also tested it with a fresh install of macOS Catalina).
Can't access my desktop-, documents-, downloads-directory and /home through the import/open-dialog of SQL-Dev. Other directories can be accessed.
In the macOS-privacy-settings I granted Java 11 to full access my drive.
Starting the SQL-Developer manuell via sudo "solves" the problem.

Related

Cannot install latest version of moodle4mac on Catalina

I'm trying to install moodle4mac on Catalina via a .dmg file. The .dmg file mounts okay. However, when I try to drag the MAMP folder to the Applications folder, I get the message "The operation can’t be completed because you don’t have permission to access some of the items."
When install dialog is showing 4 folders;
.DocumentRevisions-V100
.TemporaryItems
.Trashes
.fseventsd
The first three have no go signs on the folders suggesting that these are the problematic ones. I have checked the read/write permissions of the Applications folder, which looks fine. I have also run sudo spctl --master-disable which gives me the opportunity to download apps from anywhere, but this does not make any difference.
Any pointers greatly welcome!
Okay. It turns out the culprit was Sophos Home Antivirus. There was no indication in any of the error messages that Sophos was blocking this, hence I did not put two and two together. However, a warning message about the mounted volume popped up this morning, and I was able to trace this back to Sophos. It would be great if Sophos / MacOS could provide more detailed messages regarding such errors in future.

After I update to MacOs Catalina MAMP stop working

I have a folder on my Desktop named work where I keep all my php projects. I use MAMP and all projects are set to work on virtual hosts, for example, if I have a project named test I access this project on this URL http://test.dev.
Everything went ok until I updated to macOS Catalina when I started to have this error.
(1)Operation not permitted: Can't open directory for index: /Users/username/Desktop/work/php/development/projectname.
I set the permissions to the work folder and all subfolders to be read & write for my user and staff group, I tried all the terminal permission
commands: chmod 777, 755, etc.
I had the same problem like you, and I spent many days to solve it by doing:
stop MAMP, then open terminal and type
sudo /Applications/MAMP/bin/startApache.sh -> then Enter
and then type your admin password to give apache full privileges to start apache. (this way can let MAMP read any files on your Mac, include external drives)
now you can open MAMP and see that Apache is started, then click Start on MAMP app to start MySql too.
I've solved doing the following operations:
Quit MAMP and all the applications that are using mySql and Apache Server (stop all the instances)
Go to System Preferences, Systema & Privacy, Full Disk Access Tab
Click "add" and go to /Applications/MAMP/Library/bin and add apachectl
Run this command from the terminal: sudo /Applications/MAMP/bin/startApache.sh\
Open MAMP and press the Start Servers button
now you should be able to start your localhost app
This could be due to wrong permission given by the new MacOS Catalina permission manager. A possible way to solve this issue is to check if the folder in which the project is stored can be accessed by your Application.
To do this you have to:
Go to System Preferences
Go to System & Privacy
Go to Files and Folders
Be sure that the folder of your project is checked in the subsection concerning your Application
I hope this could solve your problem.
Prior to the steps below I added Full disk access to MAMP under the Security and Privacy Folder.
The steps I did after:
Stop MAMP
Open terminal
Then type: /Applications/MAMP/bin/startApache.sh
Start MAMP
Incase it wont work, try on the terminal: /Applications/MAMP/bin/stopApache.sh and then /Applications/MAMP/bin/startApache.sh
I had a similar problem with XAMPP. Apache just lost access to my external drive, which I included via a symlink. Even giving "Full Disk Access" to the httpd webserver didn't help.
The final solution was to start Apache with the sudo command:
sudo Applications/XAMPP/bin/apachectl start
did the job for me. Please note that
sudo apachectl start
would start the Apache that comes with macOS and thus wouldn't be used with XAMPP (and MAMP as well, I guess).

notepad++ unable to install or update plugins with the new plugin admin

I installed notepad++ recently which came with the new plugin admin. After that I am unable to install new or update existing plugins.
Any idea what the issue could be? I tried "Run as administrator"and also pasting the dll directly to C:\ProgramData\Notepad++\plugins but nothing works.
Here are the app details.
Notepad++ v7.6.1 (64-bit)
Build time : Dec 12 2018 - 01:22:05
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll
1) to install plugins manually copy the dlls in folder \Plugins\ but stored in individual folders (having same name than file.dll)
note. plugin Admin place for plugins is C:\ProgramData\Notepad++\plugins
2)Plugin Admin, if you can see this entry in Menu, I understand you have the Setup version and during installation "Don't use %APPDATA%" checkbox was disabled.
You have to:
Tick the checkboxes of plugins to install
Click "Install"
Click "YES" when asking about restart the app
if this doesn't work, are you receiving any message?
I was able to get this working with a 32-bit version. I was trying to install a 32-bit compatible plugin and that did not work with a 64-bit version.
I had to manually copy the dll to C:\ProgramData\Notepad++\plugins.
I had similar problems, mine were caused by my company introducing WIndows 10 (64bit) and enforcing UAC.
Problem was, that proxy-information was not persisted in NPP, I also couldn't specify my proxy-credentials in the Updater-Proxy-dialog.
Solution was not using %APPDATA% during installation, then run NPP in administrator-mode (now proxy-credentials are persisted).
After restarting NPP in non-administrative mode, Plugin-Admin worked like charm.
Did a quick write-up here how to remedy this:
https://blog.2smart4u.de/2019/07/notepad-windows-10-uac-plugin-nightmare.html
the default plugin folder has the dll. if you get it installed on another machine and can create the plug can copy the folder from that location, go back to old location, close the program then drop the folder in the default location then open up u should now see the plug in.

Service 'MongoDB Server' (MongoDB) failed to start

I'm trying to install mongo DB on my local machine with the installer from the official website. But I'm continuously getting this message, can someone help?
I've tried the solution provided here but didn't help.
I suggest doing the following:
Hit Win+R to open up you run.exe then inside of it enter services.msc to open up services. Try locating the service under the name of MongoDB Server and set the Startup Type manually to Automatic - [In addition to that, you could set the username and password manually. If you get a message saying the user was granted login as a service right, try hitting retry on the MSI dialog and see if it starts].
Important:
Don't forget to save and close everything (services.msc) before continuing.
Also very important, you should (must) check your .NET framework version and update it to version 4.5 and above. You could download a software like eg Driver Booster to update all of your drivers and additional components that are outdated.
I ran into the same issue. My problem was the installation location. I was trying to install under C:\MongoDB. I resolved it by installing in the default MongoDb location which is C:\Program Files\MongoDB.
For me this is usually an issue with the configuration file %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
At some time there was an invalid option "snmp" enabled (only valid in enterprise version).
Nowadays, although the installer asks for directories for data and logs it doesn't ALWAYS seem to use these, but defaults to %MONGO_DATA_PATH% or %MONGO_LOG_PATH%, respectively. I don't know where these should be defined, but the server fails at accessing c:\data\db (which doesn't exist). So you have to correct the paths.
I also faced this kind of error. But I just change the Network service to Local system in Log On As tab.
Follow my step-by-step below to resolve it:
Press Win+R, type: services.msc, then looking for MongoDB Server (MongoDB)
Double click on MongoDB Server (MongoDB).
Then it will open properties tab. On that tab click on Log On
After that check two items i.e. Local System account and Allow service to interact with desktop
After that press Apply and OK button. That's it, cheers!!
Open command prompt and copy the following command:-
"C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
NOTE: This Tricks is work on my Windows 8.1 PC.
Comment out string with mp: in configuration file: %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
Like this:
...
#snmp:
#mp:
Click Windows+r, type lusemgr.msc , Go to Groups and double click Administrators, Click Add, Click Advanced and click Find Now. Double click in Network Service (in bottom list) and click OK.
It worked for me.
Installing in the other locations other than the windows directory caused me this error. Reinstalling the setup with the recommended method of "complete" fixed it.
The problem occurs if you have Windows version previous to Windows 10.
Install the following update before installing MongoDB. Click on the link below.
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
It worked for me.
The problem occurs if you have Windows version previous to Windows 7. Install the following update by going to below link you have to download
Windows6.1-KB2999226-x64.msu
#You have to download and install then go to servies.msu and start MongoDB server by Start also go into log on and set to #local machine
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

making Eclipse work in Fedora

i would like to use Eclipse on Fedora. When i run a simple program i get "permission denied"
Any hints, links to tutorials to setup/configure Eclipse on Fedora 14 would be appreciated. No luck with Google "configure eclipse fedora".
I am fairly new to Fedora/Linux.
thank you
You need permissions on the eclipse directory as well as on the workspace directory.
A quick google search lead me to here :
http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/
Try changing permissions of the directory using
#chmod 777 directorylocation
Or
#chown user directorylocation
#chmod 755 directorylocation
For only user specific use