@the-k ah sorry, I guess I didn't pay attention to the paths beyond the /bin/. I wonder if they changed things and some executables are called by different users, which necessitated the change. I can update the PKGBUILD, but it's a good idea to check with upstream first. If they agree that it's a bug, it should be fixed there.
Search Criteria
Package Details: visual-studio-code-bin 1.145.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | visual-studio-code-bin |
| Description: | Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) |
| Upstream URL: | https://code.visualstudio.com/ |
| Licenses: | custom: commercial |
| Conflicts: | code |
| Provides: | code, vscode |
| Submitter: | dcelasun |
| Maintainer: | dcelasun |
| Last Packager: | dcelasun |
| Votes: | 1713 |
| Popularity: | 11.27 |
| First Submitted: | 2017-12-18 19:14 (UTC) |
| Last Updated: | 2026-11-06 17:55 (UTC) |
Dependencies (19)
- alsa-lib
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-fast-optimizedAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libnotify (libnotify-gitAUR)
- libsecret
- libxkbfile
- libxss
- lsof (lsof-gitAUR)
- nss (nss-hgAUR)
- shared-mime-info (shared-mime-info-gitAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR, xdg-utils-gitAUR)
- bubblewrap (bubblewrap-gitAUR, bubblewrap-gitAUR, bubblewrap-ignoresigsAUR) (optional) – Agent host sandboxing
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR) (optional) – Needed for move to trash functionality
- icu69AUR (icu69-binAUR) (optional) – Needed for live share
- libdbusmenu-glib (optional) – Needed for KDE global menu
- org.freedesktop.secrets (pass-secrets-gitAUR, keepassxc-allow-aur-extension-originAUR, keepassxc-allow-aur-extension-origin-binAUR, bitw-gitAUR, dssdAUR, himitsu-secret-serviceAUR, kwallet-gitAUR, gopass-secret-serviceAUR, pass-secret-service-binAUR, mykey-gitAUR, pass-secret-service-runitAUR, pass-secret-serviceAUR, pass-secret-service-gitAUR, chipass-gitAUR, keepassxc-gitAUR, noirpassAUR, gnome-keyring-gitAUR, sonic-frameworks-keyringAUR, rosec-gitAUR, rosec-binAUR, chipass, gnome-keyring, keepassxc, kwallet, oo7) (optional) – Needed for settings sync
- socat (socat-gitAUR) (optional) – Agent host sandboxing
Required by (40)
- azure-sphere-sdk (requires code) (optional)
- claude-workspaces (requires code) (optional)
- code-features (requires code)
- code-features-insiders (requires code)
- code-marketplace (requires code)
- code-nautilus-git (requires code) (optional)
- code-powershell (requires code)
- code-powershell (requires code) (check)
- code-xdg-dir-patch (requires code)
- contextpilot (optional)
- contextpilot-git (optional)
- dokytree (requires code) (optional)
- dokytree-git (requires code) (optional)
- meta-package-manager (requires code) (optional)
- meta-package-manager-git (requires code) (optional)
- nautilus-code (requires code) (optional)
- neopo-git (optional)
- nwscript-code (requires code)
- python-ocp-viewer (requires vscode) (optional)
- python-ocp-viewer-core (requires vscode) (optional)
- Show 20 more...
Sources (4)
dcelasun commented on 2026-10-27 10:28 (UTC)
the-k commented on 2026-10-27 10:11 (UTC)
@dcelasun, I'm not sure what you mean. First of all, the paths in question are directories. Secondly, they have extra writable bits set for the group. That's why their permissions are 775 and not the default 755. My proposal unsets the non-user writable bits on all files and directories.
$ find pkg ! -perm 644 ! -perm 755 reveals that there's actually way more files and directories with permissions that unnecessarily permissive.
dcelasun commented on 2026-10-27 09:40 (UTC)
@callegar, @the-k that change seems like a bugfix to me. These are binaries shipped with the application so it makes sense that they need to be executable.
the-k commented on 2026-10-25 09:47 (UTC)
It's the source package issue. We should add something like chmod -R go-w /usr/share/code.
callegar commented on 2026-10-25 07:36 (UTC)
Recently seeing:
warning: directory permissions differ on /usr/share/code/resources/app/extensions/copilot/node_modules/@github/copilot/sdk/prebuilds/linux-x64/ filesystem: 755 package: 775 warning: directory permissions differ on /usr/share/code/resources/app/extensions/copilot/node_modules/@github/copilot/sdk/tgrep/bin/linux-x64/ filesystem: 755 package: 775
when updating the package. Seems innocuous, but is it expected?
dcelasun commented on 2026-10-07 13:25 (UTC)
Added optdepends for bubblewrap and socat, thanks!
the-k commented on 2026-10-07 13:17 (UTC)
What @gcrtnst is talking about is https://code.visualstudio.com/docs/agents/run/agent-sandboxing#_check-platform-availability, which is new in version 1.141.0.
gcrtnst commented on 2026-10-03 10:03 (UTC)
I propose adding bubblewrap and socat as optional dependencies required for AI agent sandboxing.
dreadedhamish commented on 2026-08-19 21:31 (UTC) (edited on 2026-08-19 21:31 (UTC) by dreadedhamish)
Thanks @Nikolai508
It worked just fine, no errors with build or install.
I've made a note of those instructions for next time!
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2026-06-04 12:33 (UTC) by dcelasun)
FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)
This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the licence difference and branding, there are some proprietary features not available in the open-source version.
This package depends on the official tarball. Please check this page before flagging as out-of-date. If the new version isn't on that page, this package cannot be updated! If you can see the new version there, but the AUR package is still not updated, flag it and give it time. It's usually done within hours.
Sometimes AUR helpers do weird things. Download the tarball and install it manually with
makepkg -si. If that works, report the problem to your AUR helper's upstream, not here.xdg-openuses vscode, not my file manager! How do I fix this?Install
shared-mime-info-gnomegnome-sessionwhich now includes mimemapps.Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.
The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on GitHub.
No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.