unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting File Execution Permission
@ 2009-10-14 13:19 Nordlöw
  2009-10-14 15:22 ` Pascal J. Bourguignon
  2009-10-14 15:30 ` Richard Riley
  0 siblings, 2 replies; 4+ messages in thread
From: Nordlöw @ 2009-10-14 13:19 UTC (permalink / raw)
  To: help-gnu-emacs

How do I set execution permission on a file in emacs lisp?

/Nordlöw


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting File Execution Permission
  2009-10-14 13:19 Setting File Execution Permission Nordlöw
@ 2009-10-14 15:22 ` Pascal J. Bourguignon
  2009-10-14 15:30 ` Richard Riley
  1 sibling, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2009-10-14 15:22 UTC (permalink / raw)
  To: help-gnu-emacs

Nordlöw <per.nordlow@gmail.com> writes:

> How do I set execution permission on a file in emacs lisp?

In unix, it would be chmod(2).
In emacs, you could try M-x apropos RET mode RET
Perhaps set-file-modes would do?


-- 
__Pascal Bourguignon__


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting File Execution Permission
  2009-10-14 13:19 Setting File Execution Permission Nordlöw
  2009-10-14 15:22 ` Pascal J. Bourguignon
@ 2009-10-14 15:30 ` Richard Riley
  2009-10-14 16:04   ` Drew Adams
  1 sibling, 1 reply; 4+ messages in thread
From: Richard Riley @ 2009-10-14 15:30 UTC (permalink / raw)
  To: help-gnu-emacs


Nordlöw <per.nordlow@gmail.com> writes:

> How do I set execution permission on a file in emacs lisp?
>
> /Nordlöw

M-x chmod



^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Setting File Execution Permission
  2009-10-14 15:30 ` Richard Riley
@ 2009-10-14 16:04   ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-10-14 16:04 UTC (permalink / raw)
  To: help-gnu-emacs

> > How do I set execution permission on a file in emacs lisp?

> In unix, it would be chmod(2).
> In emacs, you could try M-x apropos RET mode RET
> Perhaps set-file-modes would do?
 
> M-x chmod
 
Use Dired (dired-aux.el): `M'

Mark any files or subdirectories you want to change, then hit `M', then type the
new chmod value you want.

You can also use Wdired, and just edit the permissions directly. But I recommend
the Dired `M' command (`dired-do-chmod').





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-14 16:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 13:19 Setting File Execution Permission Nordlöw
2009-10-14 15:22 ` Pascal J. Bourguignon
2009-10-14 15:30 ` Richard Riley
2009-10-14 16:04   ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).