Bug 91441

Summary: Owner and Group issues after account creation
Product: [Retired] Red Hat Linux Reporter: Crawford Rainwater <crawford.rainwater>
Component: redhat-config-usersAssignee: Brent Fox <bfox>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: crawford.rainwater
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-22 20:27:45 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 Crawford Rainwater 2003-05-22 17:11:11 UTC
Description of problem:
While in the RH 133 class, added a few users, noticed that the owner and group
by default was "root" (for both user and group).  Tried to change the ownership
and group, response was Operation not permitted.

Tried commands independent of the GUI redhat-config-users using "useradd" and
"adduser", same results.  Suspect the GUI is functioning properly, this is more
at the actual used command level.

Version-Release number of selected component (if applicable):
RedHat 9.0, Kernel 2.4.20-13.9 #1, all recent updates.

How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Brent Fox 2003-05-22 19:15:57 UTC
I'm not sure I understand what you mean.  Are you saying that you created a user
and then the owner and group of that user's home directory is root?

Comment 2 Crawford Rainwater 2003-05-22 19:42:53 UTC
Correct (reference to comment trying to understand the complaint).  Additional,
all the hidden files were also owned and grouped with "root" as well.

Also tried (with Ralph Rodriguez here) to chattr the /home/"user" directory as
well, cannot access it as well.

Comment 3 Brent Fox 2003-05-22 19:55:26 UTC
Hmm, that is not the behavior that I see on any of my test machines.  When I
create user 'foo' with either redhat-config-users or useradd, the owner and the
group for /home/foo is 'foo' for the owner and 'foo' for the group.  Same for
all the files inside the /home/foo directory.

I can't explain how you could be seeing behavior different from that.

Comment 4 Crawford Rainwater 2003-05-22 20:04:57 UTC
I think I might see a possible issue.  What is the file system on the test
machines?  The /home directory I noticed is vfat for this machine where I
noticed the error.  Works on a different machine where /home is ext3.

Comment 5 Brent Fox 2003-05-22 20:27:45 UTC
All my machines are ext3.  Making /home a vfat partition is a supported
operation.  The main reason being that the vfat filesystem doesn't understand
anything about file permissions.  So that would explain the whole issue.  

In fact, the installer prevents you from trying to make /usr be a vfat
partition.  When I try to make a /usr partition be vfat, an error dialog appears
and says "This mount point must be on a linux file system."

Closing as 'notabug'.