Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse linux permission(Eclipse cannot write file)
icon8.gif  Eclipse linux permission [message #1522728] Mon, 22 December 2014 13:50 Go to next message
Wiryono Lauw is currently offline Wiryono LauwFriend
Messages: 2
Registered: December 2014
Junior Member
Hi I'm using Eclipse Luna for my php development, my environment is Linux Mint 17

I install by extracting compressed eclipse to my home folder.

My project folder is PHP/project

To secure my webserver I create a developer group and include my user in it
Then for every project folder I give a owner www-data:developer and a permission of 570.
For upload and cache folder I gave them 770 permission.

It work flawlessly the web can be access normally and I can edit the file using "Vim" or normal "Text Editor" like the built in or Geany

But when editing using Eclipse it stated that the file is Read-only and when editing it will prompt me "File is read only you want to make it writable ?" when I answer yes, nothing happern

I use git for versioning . the .git folder also has the same permission as above and no problem when doing push or pull or commit.

Try remove and reimport the project but it still the same

Re: Eclipse linux permission [message #1522756 is a reply to message #1522728] Mon, 22 December 2014 14:11 Go to previous message
Wiryono Lauw is currently offline Wiryono LauwFriend
Messages: 2
Registered: December 2014
Junior Member
It seems Eclipse doesn't check the file group permission

owner : group owner |user : group : other
www-data : developer | r-x : rwx : --- > Eclipse cannot write
www-data : developer | rwx : rwx : --- > Eclipse cannot write
eclipseuser : www-data | rwx : r-x : --- > Eclipse can write

Note : eclipseuser is belong to the developer group

so It is possible to make eclipse check if he belong to the group ?

[Updated on: Mon, 22 December 2014 14:12]

Report message to a moderator

Previous Topic:Eclipse PDT Hangs
Next Topic:debug doesn't stop
Goto Forum:
  


Current Time: Fri Apr 26 09:31:00 GMT 2024

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

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

Back to the top