Re: usermod not moving home directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>On fresh install of FC6
>
>usermod -d /home/subdir/[accountname] -m [username]
>
>seems to execute without error, but neither creates the directory 
>/home/subdir/[accountname], nor moves any of the files from the original 
>location of /home/[accountname]. It does change the account's settings 
>to point to /home/subdir/[accountname] as the location of the account's 
>home directory. So, it seems like the -d switch is working, and it is 
>the -m switch that is not performing properly.
>
>FYI, the /home/subdir directory already exists, and I've tried creating 
>the directory /home/subdir/[accountname], and then executing usermod as 
>above, all with the same results.
>

Agreed. As far as I can tell, usermod behaves exactly as you describe.
Looks like a bug.

Terry.

>Am I misunderstanding use of the -m switch? Any ideas? Thanks.
>
>-- 
>fedora-list mailing list
>fedora-list@xxxxxxxxxx
>To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux