Re: Accidentally setting home

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

 



On Sat, May 28, 2011 at 16:23, Michael Schwendt <mschwendt@xxxxxxxxx> wrote:
> On Sat, 28 May 2011 16:02:13 +0300, DC wrote:
>
>> I came across an interesting warning while googling an issue:
>> apparently chowning another user's home directory will change your own
>> home directory? That is what is warned here:
>> http://www.ambience.sk/old/user-account-copy-linux
>> Search that page for commenter hollerith's comments, which another
>> commenter verifies.
>
> Nonsense. Couldn't you have quoted the relevant command-line?
> It uses
>
> Â/home/newuser/.*
>
> which is _not_ "another user's home directory", because the .* also
> includes .., the parent directory, which in this case is /home.
>

It looks to me that the gentleman who wrote the article tried to
address dotfiles with that command without thinking about the . and ..
files. I didn't think about those either until you made it explicit,
and now I understand what the issue it.

Thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux