Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Read Only files when owner has not rw but owner isn't eclipse user group is!
Read Only files when owner has not rw but owner isn't eclipse user group is! [message #1771204] Tue, 22 August 2017 21:32 Go to next message
robin hook is currently offline robin hookFriend
Messages: 4
Registered: August 2017
Junior Member
Hi,
I've strange behavior only with eclipse pdt oxygen on centos 7.3 uptodate.
Scite, gedit can write files, eclipse not.

This files have rights set like -r--rw---- (460) with umask 0002.
owner is "apache" that is not involved in eclipse instance credentials or in GUI.
group is "users" that is a optional group of my GUI current user.

Why eclipse set file editing to read-only like scite or others editors does not?

Thanks to eclipse gurus, but it's too late i've a headhache :)
Re: Read Only files when owner has not rw but owner isn't eclipse user group is! [message #1771513 is a reply to message #1771204] Fri, 25 August 2017 22:23 Go to previous messageGo to next message
robin hook is currently offline robin hookFriend
Messages: 4
Registered: August 2017
Junior Member
I've recreated an empty project, added my existing sources files, click on "Finish".
But no luck this time i've an error message "An internal error occurred during: "Modifying Include Path".
java.lang.NullPointerException" and my sources files are still read-only when other editors can edit and write changes ...
Re: Read Only files when owner has not rw but owner isn't eclipse user group is! [message #1771514 is a reply to message #1771513] Fri, 25 August 2017 22:47 Go to previous messageGo to next message
robin hook is currently offline robin hookFriend
Messages: 4
Registered: August 2017
Junior Member
I've try another approach, starting eclipse in root (pkexec way).
So now eclipse proposes to me to make my files writable after a modifiation, when i click "yes" it put the write flags on the owner of the file that is apache user.
So it works, but it is unsatisfaying this weacken my security to authorize apache to write in script file, as a computer that is world-wide accessible it is unacceptable even for a dev server.
Re: Read Only files when owner has not rw but owner isn't eclipse user group is! [message #1771515 is a reply to message #1771514] Sat, 26 August 2017 00:34 Go to previous messageGo to next message
robin hook is currently offline robin hookFriend
Messages: 4
Registered: August 2017
Junior Member
Switch to netbeans IDE solve my problems.
Frankly for php project netbeans seems to rocks!
Re: Read Only files when owner has not rw but owner isn't eclipse user group is! [message #1779811 is a reply to message #1771204] Sat, 13 January 2018 07:16 Go to previous message
Jesus Bertrand is currently offline Jesus BertrandFriend
Messages: 4
Registered: January 2018
Junior Member
I had used both net beans and eclipse platform. I feels net beans platform is better for handling. You can switch to this platform if you don't mind.
Previous Topic:PHPUnit timeout
Next Topic:False positive TROJAN warning?
Goto Forum:
  


Current Time: Mon Jan 22 16:32:46 GMT 2018

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

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