#8160 Permission error
Closed: invalid by rcritten. Opened by inakisanchez.

Request for enhancement

As an admin , I want to have same permissions from different distros.

Issue

I have a server ipa in a CentOS 7 distro, a file server in a CentOS 7 distro and two hosts: one CentOS 7 and the other Fedora 27.
The two hosts are in the same group.
I create an automount location of the share of the file server in all host by nfs. When I log in with user inaki in Fedora host and I create a file in automount location is like this:
-rw-rw---- 1 inaki net_users 0 Dec 23 13:01 test
But when i log in with user inaki in CentOS host and I create a file in automount location, is like that:
-rw-r----- 1 inaki net_users 0 Dec 23 13:03 test.centos

Anyone knows why the same user in different host generate files with differents permissions?

Thank you,
I


different umask?

No, it's the same, 0022.

Hi,

More info about the issue, it seems to be an autofs bug in CentOS 7.

I installed a new host with CentOS 8, then I added this new host to the domain and when I log in with user inaki, and then I create a file in automount location, the file has the correct permissions: -rw-rw----.

Do you know how to fix autofs in CentOS 7 without installing CentOS 8?

I'd start by filing a bug against autofs with your findings. There was a rebase between 7 and 8 (5.0.7 -> 5.1.4) so perhaps something was fixed and could be backported.

Closing as not an issue in IPA itself.

Metadata Update from @rcritten:
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

Metadata