chmod-group

Adjust Unix group permissions on directory trees with recursive and path-only modes.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/KangOxford/auto-quant-research --skill chmod-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chmod-group
Source: https://github.com/KangOxford/auto-quant-research/tree/main/execution-layer/skills/chmod-group
Command: npx skills add https://github.com/KangOxford/auto-quant-research --skill chmod-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps teams safely share directory contents by adjusting Unix group permissions to provide traversal or read access, without exposing unrelated files.

Core Features & Use Cases

  • Recursive mode: add g+rx to directories and g+r,g-x to files to enable group access to entire trees.
  • Path-only mode: add g+x to specified directories to allow group traversal without listing contents.
  • Best practice: preserve setgid and verify access with stat/ls; support demonstration through the included scripts.

Quick Start

Use the chmod-group skill to recursively grant group read and execute permissions to the checkpoints directory.

Frequently Asked Questions about chmod-group

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I grant group access to a shared directory tree without exposing unrelated files?

You can grant group access to a shared directory tree by recursively applying g+rx to directories and g+r to files, allowing traversal and readability while keeping unrelated file permissions intact.

What is the best way to allow group traversal of Unix directories without listing contents?

Group traversal of Unix directories without listing contents is achieved by applying path-only mode, which adds g+x exclusively to specified directories, enabling traversal while preventing directory content listing.

How does chmod-group handle setgid bits when adjusting directory permissions?

The chmod-group approach handles setgid bits by implementing safe defaults that preserve the setgid bit during permission adjustments, ensuring directory security is maintained during recursive group access modification.

Can I use shell scripts to automate group permission changes across selective paths?

Yes, you can use shell scripts to automate group permission changes across selective paths, supporting both recursive and path-only modes to execute validation steps and adjust access control safely.

When should I use recursive mode versus path-only mode for directory security?

Use recursive mode to enable complete group access to entire directory trees by adding read and execute permissions, and path-only mode to allow traversal of specific directories without listing their contents.

How do I verify group access changes to shared data directories in Unix-like systems?

You can verify group access changes to shared data directories in Unix-like systems by using stat or ls commands to check directory permissions and ensure setgid preservation and access control rules are correctly applied.