ls: cannot open directory .: Permission denied
I get the following results
total 4 drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Desktop drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Documents drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Downloads drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Music drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Pictures drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Public drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Templates drwxr-xr-x 2 mraj mraj 6 Mar 30 12:08 Videos -rw-r--r-- 1 mraj mraj 3095 Feb 25 12:28 error_log drwxr-xr-t 2 mraj mraj 6 Mar 30 12:08 thinclient_drives
Harish
See ending with .local, .config, etc.. these files of the permissions that indicates there’s an SELinux context included. You require to get that right for your user to be authorized to list the contents of the directory.
Note: The (-Z) option shows the SELinux contexts.