| View previous topic :: View next topic |
| Author |
Message |
ssmusoke
Joined: 01 Jul 2009 Posts: 2
|
Posted: Wed Jul 01, 2009 4:24 pm Post subject: Editing ReadOnly Files |
|
|
How can I edit a readonly file, I have some files checked out using Zend Studio for Eclipse, however they are marked as readonly.
I do not want to keep going to the file system to chaneg the readonly bit marker.
Is there a plugin to do this?
Why is it like this anyway? |
|
| Back to top |
|
 |
Filip Zamboj Posted via mailing list.
|
Posted: Wed Jul 01, 2009 8:40 pm Post subject: Editing ReadOnly Files |
|
|
File is readonly if you don't have permission to change it, usually.
Change user permissions on files (chown -R myself:myself) or change file
attributes. If you want to edit file using netbeans you have to run
netbeans as a user that have permission to access it. I doubt there is a
plugin that would allow you to change files you don't have permissions
to (and if you find it then let me know;) ). It's matter of your OS and
security.
Good Luck!
-------------
Filip Zamboj
Sun Microsystems
http://www.netbeans.org/community/issues.html
http://qa.netbeans.org
ssmusoke wrote:
| Quote: | How can I edit a readonly file, I have some files checked out using Zend Studio for Eclipse, however they are marked as readonly.
I do not want to keep going to the file system to chaneg the readonly bit marker.
Is there a plugin to do this?
Why is it like this anyway?
|
|
|
| Back to top |
|
 |
ssmusoke
Joined: 01 Jul 2009 Posts: 2
|
Posted: Thu Jul 02, 2009 5:30 am Post subject: Editing a Readonly File |
|
|
I am currently running Netbeans on Windows, and I have permissions to edit the files which are on a shared drive.
However I use Eclipse to synchronize with CVS, and once I complete a commit or update, the file is marked readonly. In Eclipse, the IDE would send a edit notification to CVS, and change the readonly attribute to edit the file.
However in Netbeans, I have to go to the file system to change the attribute. This is especially tedious during refactoring which changes multiple files.
Thanks in advance |
|
| Back to top |
|
 |
Petr Jiricka Posted via mailing list.
|
Posted: Thu Jul 02, 2009 1:18 pm Post subject: Editing ReadOnly Files |
|
|
One thing you may want to try is to use NetBeans to synchronize with
CVS. I think NetBeans checks out files from CVS as read-write.
Petr
On Jul 2, 2009, at 7:30 AM, ssmusoke wrote:
| Quote: | I am currently running Netbeans on Windows, and I have permissions
to edit the files which are on a shared drive.
However I use Eclipse to synchronize with CVS, and once I complete a
commit or update, the file is marked readonly. In Eclipse, the IDE
would send a edit notification to CVS, and change the readonly
attribute to edit the file.
However in Netbeans, I have to go to the file system to change the
attribute. This is especially tedious during refactoring which
changes multiple files.
Thanks in advance
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|