Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • fs
  • 9p
  • vfs_inode.c
Find file BlameHistoryPermalink
  • Harsh Prateek Bora's avatar
    fs/9p: mkdir fix for setting S_ISGID bit as per parent directory · 7c7298cf
    Harsh Prateek Bora authored Aug 18, 2010
    
    
    The current implementation of 9p client mkdir function does not
    set the S_ISGID mode bit for the directory being created if the
    parent directory has this bit set. This patch fixes this problem
    so that the newly created directory inherits the gid from parent
    directory and not from the process creating this directory, when
    the S_ISGID bit is set in parent directory.
    
    Signed-off-by: default avatarHarsh Prateek Bora <harsh@linux.vnet.ibm.com>
    Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
    7c7298cf