Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Permission denied while saving a file in eclipse
Permission denied while saving a file in eclipse [message #1787574] Tue, 29 May 2018 10:13 Go to next message
Sonu Bhati is currently offline Sonu BhatiFriend
Messages: 2
Registered: February 2018
Junior Member
File is created by eclipse terminal plugin with sudo generate command. Now when i am trying to save file, I am getting permission denied error. In place of giving permission denied exception, can't we ask for permissions to edit that file. Like other editors are doing.
Re: Permission denied while saving a file in eclipse [message #1787599 is a reply to message #1787574] Tue, 29 May 2018 20:02 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

DO other editors support this scenario? This doesn't sound like a read-only permission issue as much as the superuser owning the file.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Permission denied while saving a file in eclipse [message #1787614 is a reply to message #1787599] Wed, 30 May 2018 06:08 Go to previous message
Sonu Bhati is currently offline Sonu BhatiFriend
Messages: 2
Registered: February 2018
Junior Member
Yes, they support this scenario. I have attached snapshot of sublime editor. If a file is owned by superuser then they will prompt for password to save that file.
Previous Topic:Starting out with Eclipse...
Next Topic:java.lang.IllegalStateException: Workspace is closed.
Goto Forum:
  


Current Time: Thu Apr 25 16:24:27 GMT 2024

Powered by FUDForum. Page generated in 0.08758 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top