All Questions
Tagged with rhel permissions
82
questions
2
votes
2
answers
44
views
Why is the group permissions rwx for folder but read for newly created files within it?
On Rocky 8 (Redhat), I have a site running under Apache (httpd). I have the permissions set as follows including setguid so files created within the uploads folder inherit the group:
[root@myserver ~]#...
1
vote
0
answers
255
views
I get permission denied for a command in an sh script, but same command works from terminal
I have a service run by systemctl in RedHat 8.8. The service itself is relatively simple:
cat /etc/systemd/system/myservice.service
[Unit]
Description=My service
After=network-online.target
[Service]...
0
votes
0
answers
57
views
Can't access file even though I am the user, I have permissions, I have chowned/chmod'd the entire directory structure, selinux off
Sorry for the copy/paste, doing this over a remote screen share:
I am on Rocky Linux and I am at a total loss as to what is going on here. I can't cat/vim this file but as you can see, I am the owner,...
0
votes
0
answers
164
views
nfs4 ACL won't allow group names with spaces
I configure red hat 8.7 to work with active directory and NFS4.1 ACL.
When I am trying to add permissions to folder/file with command:
nfs4_setfacl -R -a A:g:domain [email protected]:rx imex_home/
Do I ...
0
votes
1
answer
961
views
rsync error: Operation not permitted (1)
I'm running into a strange issue that I've tried to research but could find a working solution.
I'm archiving some directories in /var on my RHEL satellite server as it has abundant space to do just ...
0
votes
1
answer
616
views
Permission denied for user in group (group has directory write permissions)
I'm getting Permission Denied when attempting to create/touch files in a directory with group ownership permissions.
touch /data/www/acoder.txt
[acoder@box]$ touch /data/www/acoder.txt
touch: cannot ...
0
votes
1
answer
915
views
How to prevent root user to access certain files
Is there any way that I create and modify a file/directory from a user user1, and prevent all other users including the root user from accessing/modifying the file(s)/directories?
0
votes
0
answers
128
views
Owner permission on parent directory
Can someone please explain how is user "saad" able to delete the files/folders created in /project directory by root user. Saad user is the owner of folder /project. The owner and group ...
2
votes
1
answer
2k
views
Can i change the uid of a user in /etc/passwd file
I have an issue running RabbitMQ docker container as it needs uid:gid (999:999) however chrony NTP service is already running with that gid(999) and is conflicting.
Can I change the gid from /etc/...
0
votes
1
answer
50
views
Change audit directory permission to another user beside root
I want to grant permision to another user for audit directory.
[user_audit@crox log]$ cd audit
bash: cd: audit: Permission denied
[user_audit@crox log]$ ls -lrt | grep audit
drwx------. 2 root ...
0
votes
1
answer
1k
views
How to set default permissions for a directory
I am using some webpages in my remote server(RHEL 8) and the directory is var/www/html/project. In the project files I have a charts folder and the .js files inside that folder will be update time to ...
0
votes
1
answer
510
views
/var/log/httpd permissions reset from 705 to 700 after reboot
After a reboot /var/log/httpd permissions reset from 705 to 700.
Could this be a SELinux issue?
OS is RHEL 8.
0
votes
1
answer
80
views
How do you read all the ACLs on a particular host and change the name of a group when present?
I am trying to read all of the ACLs on a particular host using the following command:
getfacl -R /
What I want to do is look for groupA in each ACL and if groupA is present, change it to groupB, ...
0
votes
1
answer
277
views
Can "umask" variable include a number greater than "7"?
I understand we use "umask" for setting different security levels:
umask value
Security level
Effective permission (directory)
022
Permissive
755
026
Moderate
751
027
Moderate
750
077
...
0
votes
1
answer
753
views
Setgid on a directory is not giving execute permission on the file within directory
I have created directory as following:
root@host [~]# mkdir mydir
root@host [~]# ls -ld mydir
drwxrwxr-x 2 test test 4096 Mar 2 19:36 mydir
root@host [~]#
Then I have changed the group ownership ...