Add a New Comment (Rich Markup)
This comment has been made anonymously so we may never get a reply, but anyway ... How did you trace this to perm_copy_file()? Are you sure this is not about copying the selinux labels? Can you show how this looks in ltrace? Note that it's normal to get an error message if some permission information cannot be preserved here; only if no information is lost will there be no error.
> It looks like the code in perm_copy_file.c is not checking for > ENOTSUP if acl_delete_def_file() fails, unlike the > acl_set_file() call.
This is after acl_set_file() has succeeded, in which case we can safely assume that acl_delete_def_file() will be supported as well.
> (The error checks after the chmod() call after acl_set_file() > fails are a bit off too - the ret value from chmod() isn't > checked, and saved_errno should be checked.)
Thanks, this should indeed be fixed.
Hi - I'm running current Fedora 13 with libacl-2.2.49-6 When I run adduser, I get this failure: adduser: preserving permissions for /home/tool/.mozilla: Operation not supported It looks like the code in perm_copy_file.c is not checking for ENOTSUP if acl_delete_def_file() fails, unlike the acl_set_file() call. (The error checks after the chmod() call after acl_set_file() fails are a bit off too - the ret value from chmod() isn't checked, and saved_errno should be checked.) I was originally running with selinux enabled, but it's now disabled, plus my /home directory was not modified by my recent install of Fedora 13. So, I assume my /etc/skel files have some sort of acl, but those aren't supported under /home.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12