Bug 78091

Summary: gid bit on directories does not work in tmpfs
Product: [Retired] Red Hat Linux Reporter: Kevin J. Miller <kevin.j.miller>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-30 15:40:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin J. Miller 2002-11-18 23:16:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
If I have a directory in a tmpfs partition, and the gid bit is set, files
created in this directory will still have the user's default group rather than
the group of the directory.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. mkdir /mnt/tmpfs/some_dir
2. chgrp other_group /mnt/tmpfs/some_dir
3. chmod g+s /mnt/tmpfs/some_dir
4. touch /mnt/tmpfs/some_dir/a_file
5. ls -l /mnt/tmpfs/some_dir/a_file

Actual Results:  The /mnt/tmpfs/some_dir/a_file is owned by my_group.

Expected Results:  The /mnt/tmpfs/some_dir/a_file should be owned by other_group.

Additional info:

Comment 1 Bugzilla owner 2004-09-30 15:40:12 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/