#permissions

22 solutions

Make a Script Executable with chmod +x
macOSpermissionsTerminalscripts

Fix 'Permission denied' when running a shell script on macOS by adding the execute permission with chmod.

Low risk ✓ 2026-09-19
Copy with cp -a to preserve everything (archive mode)
Linuxbackupcopypermissions

Archive copy files and directories keeping ownership, permissions, symlinks and timestamps intact on Linux.

Low risk ✓ 2026-09-17
Fix "Permissions too open" on SSH Private Keys
Linuxchmodsshpermissions

Set owner-only permissions on your SSH private key with chmod 600 so ssh will use it and other users can't read it.

Medium risk ✓ 2026-09-18
Grant and revoke NTFS permissions with icacls
WindowsFilespermissionssecurity

The CLI behind the Security tab — add or strip ACEs on files and folders without opening Explorer.

High risk ✓ 2026-09-17
Reset Privacy Permissions with tccutil
macOStccutilpermissionsprivacy

Clear mistakenly denied camera, microphone, or automation permissions so macOS asks again.

Low risk ✓ 2026-09-17
Lock a File Down to Your User with chmod 600
macOSchmodpermissionsprivacy

Make sensitive files readable only by you, and scripts executable, using octal permission modes.

Medium risk ✓ 2026-09-19
Show your current user, groups, and privileges with whoami
WindowspermissionssecurityDiagnostics

The fastest way to see which privileges your token actually holds — most are listed but disabled until something enables them.

Low risk ✓ 2026-09-17
Reset App Privacy Permissions with tccutil
macOStccutilpermissionsprivacy

tccutil resets the TCC privacy database entries — the fix for apps that can no longer ask for camera, microphone, or screen-recording consent.

Medium risk ✓ 2026-09-17
List a user's group memberships with groups
Linuxgroupspermissions

Check which groups grant a user their sudo, docker, or file permissions — the first diagnostic for 'permission denied'.

Low risk ✓ 2026-09-17
View and change NTFS file permissions on Windows (icacls)
WindowsFilespermissionsacl

Dump the ACL of any file or folder with icacls, then grant, deny or reset permissions with inheritance control.

Medium risk ✓ 2026-09-17
Reset NTFS Permissions to Inherited Defaults with icacls /reset
Windowscmdpermissionsacl

Undo broken or chaotic NTFS permissions on a folder tree by making every file inherit fresh ACLs from its parent with icacls /reset /t.

Medium risk ✓ 2026-09-18
View and set the default file permission umask on Linux
Linuxumaskdefaultpermissions

The forgotten octal that decides how open every new file is — run `umask` to see it, `umask 027` to tighten it for this shell.

Low risk ✓ 2026-09-17