# Unix shared directory permissions: GUID and umask

DevFeed: [Unix shared directory permissions: GUID and umask](<https://devfeed.tech/articles/unix-shared-directory-permissions-guid-and-umask-35483.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/unix-shared-directory-permissions-guid-and-umask/>)

Author: Graham King

Published: 2009-06-10T19:11:26Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [Unix](<https://devfeed.tech/topics/unix.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Users](<https://devfeed.tech/topics/users.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [collaboration](<https://devfeed.tech/tags/collaboration.md>), [commit](<https://devfeed.tech/tags/commit.md>), [debian](<https://devfeed.tech/tags/debian.md>), [guide](<https://devfeed.tech/tags/guide.md>), [mercurial](<https://devfeed.tech/tags/mercurial.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [repository](<https://devfeed.tech/tags/repository.md>), [software](<https://devfeed.tech/tags/software.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [unix](<https://devfeed.tech/tags/unix.md>)

## AI overview

A tutorial explains how to configure shared directory permissions for a Mercurial repository using group ownership, the GUID bit, and umask settings. It notes that changing the global umask works on Debian and Ubuntu but is not an ideal directory-specific solution.

## Source excerpt

Mastering Mercurial: A step-by-step guide to group-based repository setup.