>Number:         156092
>Category:       misc
>Synopsis:       pw user flag -m does not respect custom home directory 
>locations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 14:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Lance Leger
>Release:        8.1-RELEASE-p2
>Organization:
>Environment:
>Description:
I've got an installation running from mfsroot with custom home directory 
locations on a seperate ufs filesystem and when I attempt to issue a "pw user 
mod <username> -m" command, pw gives me the following error:

pw: mkdir '/home': Read-only file system

Two issues here:

1) /home does not even exist on my system
2) the users custom home directory location is clearly defined in /etc/passwd

Now if I re-mount my mfsroot filesystem read-write, issue mkdir /home, then 
attempt to issue same command again it creates my users custom home directory 
(i.e. /d/home/user)

Another observation. If I leave the /home directory in place, re-mount my 
mfsroot filesystem read-only again, then attempt to issue the same command 
again it works (even though it has a reason now to complain that /home is 
read-only)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to