• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: changing read-only flag from within xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing read-only flag from within xcode


  • Subject: Re: changing read-only flag from within xcode
  • From: Andreas Grosam <email@hidden>
  • Date: Sat, 29 Oct 2005 13:26:48 +0200


On 29.10.2005, at 00:12, Dmitry Markman wrote:

I got answer off-list:
"In the editor window in the upper right hand I have a lock icon. This allows you to change to read only or write with a single click.
To see the icon select from the View menu "Show Navigation Bar"."


indeed it's there bit it's very small
Yes, there is this icon. You can set/clear the file lock attribute and/or the read/write permissions *only* when you are **alowed** to do this, means when the current user is also the owner of the file.

Otherwise, when you are not the owner of the file, you need to use the Finder and the Info Panel (or the terminal) as described in order to change permissions. This requires administrator rights and authentication.

Note that this Lock Symbol is not available in Xcode 1.5

For further info please look also in the documentation "File Permissions", and use man for chmod, chown, chflags.

Regards
Andreas




On Oct 28, 2005, at 7:06 AM, Dmitry Markman wrote:

thanks for the answer
the way you propose I'm using currently
take a look at BBEdit or CodeWarrior
they do allow to change read-only flag and I found it's very convenient
(clearly 1 click is much better then
1. right click
2. moving mouse to the right item
3. command-I (since file is selected)
4. click on the permission menu
5. command-W to close info window
6. click again on xcode window (or command -tab) )


IMHO I think that XCode has usability problem not to allowing to change r/o

thanks again



On Oct 28, 2005, at 4:48 AM, Andreas Grosam wrote:



On 28.10.2005, at 04:06, Dmitry Markman wrote:



Hi
is it possible to change file's permission mode from within the XCode?




You can change file permissions with the Info pane for the file which is two mouse clicks away: in XCode, CTRL-click the file and choose "Reveal in Finder" in the context menu, then in the Finder CTRL-click the file and choose Get Info - then change the permissions.
Alternatively use command chmod in the terminal.


IMHO, there are good reasons not to provide this feature from within any other applications -- since it is good usability style for an operating system not to provide many ways to achieve the same task. I rather recall only one possible method which is actually 2 mouse clicks away than possibly several ways which each are even more mouse clicks away.


Regards Andreas




I mean, if file is read-only xcode will ask me permission to change file's mode flag
currently xcode asks permission to edit the file
but after you save it it still has r/o flag



thanks



Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


Dmitry Markman


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >changing read-only flag from within xcode (From: Dmitry Markman <email@hidden>)
 >Re: changing read-only flag from within xcode (From: Andreas Grosam <email@hidden>)
 >Re: changing read-only flag from within xcode (From: Dmitry Markman <email@hidden>)
 >Re: changing read-only flag from within xcode (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Creating Custom Project Templates
  • Next by Date: Java Projects in Xcode
  • Previous by thread: Re: changing read-only flag from within xcode
  • Next by thread: distributed build limited to 6 CPUs
  • Index(es):
    • Date
    • Thread