Re: Fresh install Fedora 10 X86_64 problems

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

 



Jim wrote:
Jeff Voskamp wrote:
Jim wrote:
Jeff Voskamp wrote:
cd /home
for x in *; do
chown -R $x:$x $x
done

That doesn't seem to work for what I'm doing.

What I'm trying to do is change all directories/files in a /home/user, from one owner/group to another owner/group.

When I installed FC10, fresh install and format the / partition and left the /home partition from the old fedora 8 install
in place.
FC10 for some reason change all the directories/files to another user on box into a /home/user. I know this sounds confusing but the point, /home/molly has the wrong owner/group on her files. I have got to get them back to molly:molly in /home/molly.

Thanks again

Thanks for your help

You saved /home on the re-install and re-created all the accounts and now they don't line up? The above script will change /home/joe (and subdirectories) to be user joe and group joe, /home/fred to user fred and group fred, etc. If you haven't re-created the accounts yet then that's a different problem.

Jeff

Are you saying ?

chown -R molly:molly  $x      , what is the $x suppose to represent ?


A variable. Yes your command above should do it. Include the path to files though.

chown -R molly:molly /path/to/files

Probably /home/molly


--
"Any fool can know. The point is to understand" --Albert Einstein

Bored??
http://fiction.wikia.com/wiki/Fuqwit1.0

http://fiction.wikia.com/wiki/Coding_the_Magic_into_the_Eight_Ball

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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