Re: Attribute copying problem with "useradd"

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

 



Once upon a time, Chris Tyler <chris@xxxxxxxxxxx> said:
> One of my students showed up with an intriguing issue yesterday. They
> added a /home filesystem to their F13 installation, and now "useradd"
> fails to completely copy /etc/skel for new users -- it stops copying
> with an error on setting attributes on ~/.gnome2

They probably didn't set the mount options after creating the
filesystem.  These can't be set with mkfs, only with tune2fs.  The
standard options can be set with (on an unmounted FS on /dev/foo):

# tune2fs -o user_xattr,acl /dev/foo

"user_xattr" is required to have extended attributes set.

Also, the default for Fedora is to set the fsck times to zero as well;
you can do that as well with:

# tune2fs -o user_xattr,acl -c 0 -i 0 /dev/foo

However, it would be good to file this as a bug against shadow-utils as
well; it should handle filesystems that don't support extended
attributes.

-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
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