Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>chmodNew to Visual Studio Code? Get it now.
chmod

chmod

David Lechner

|
20,378 installs
| (8) | Free
Set and clears the executable bits of a file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

chmod README

This is a super-simple extension that provides commands equivalent to chmod +x and chmod -x.

Usage

This extension adds a context menu item for setting or clearing the executable bits on an individual file. Which context menu depends on your operating system.

Windows

On Windows, use the file context menu in the Source Control Activity View.

To clear the executable bits, hold down Alt or Shift when right-clicking.

NOTE: Since Windows doesn't have the notion of POSIX file permissions, git is used to add and remove the executable bits. As a side-effect, an untracked file must be added to the git index in order to set the executable bits.

macOS / Linux

On other operating systems, use the file context menu in the Explorer Activity View. File system permissions are modified just as if running chmod in a terminal.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft