[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Setting File Execution Permission
From: |
Drew Adams |
Subject: |
RE: Setting File Execution Permission |
Date: |
Wed, 14 Oct 2009 09:04:45 -0700 |
> > 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').