FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Editing ReadOnly Files

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
ssmusoke



Joined: 01 Jul 2009
Posts: 2

PostPosted: Wed Jul 01, 2009 4:24 pm    Post subject: Editing ReadOnly Files Reply with 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
View user's profile Send private message Send e-mail
Filip Zamboj
Posted via mailing list.





PostPosted: Wed Jul 01, 2009 8:40 pm    Post subject: Editing ReadOnly Files Reply with quote

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

PostPosted: Thu Jul 02, 2009 5:30 am    Post subject: Editing a Readonly File Reply with 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
View user's profile Send private message Send e-mail
Petr Jiricka
Posted via mailing list.





PostPosted: Thu Jul 02, 2009 1:18 pm    Post subject: Editing ReadOnly Files Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB