Skip to main content

All Questions

Tagged with
21 votes
2 answers
87k views

How to chown directory for multiple users?

Specs: Running Centos 6 64 Bit I am trying to chown a directory for all users on the VPS, aswell as for apache. But for some reason I can only have either apache, or just the users. I tried doing ...
Travis's user avatar
  • 383
7 votes
2 answers
7k views

Group member cannot create files/directories in folder

I'm trying to set up my Linux server and I managed to get stuck at this point: I created a group called 'gitusers' and added a user to it (let's call him 'foo') I created a folder called 'website' I ...
MrSoundless's user avatar
5 votes
0 answers
450 views

Files being created with the wrong owner

I'm using AWS sagemaker and today I went to commit some files and got this error: Bad owner or permissions on /home/sagemaker-user/.ssh/config fatal: Could not read from remote repository. Please ...
Gonzalo Hernandez's user avatar
5 votes
0 answers
8k views

Failed to adjust OOM score of renderer with pid X: Permission denied

I'm not sure what exactly causing, but I'm getting following error: Apr 11 12:30:00 X alacarte-made-2.desktop: [1712:1735:0411/123000:ERROR:zygote_host_impl_linux.cc(162)] Failed to adjust OOM score ...
alexus's user avatar
  • 2,890
4 votes
1 answer
651 views

What does chmod 7760 <directory> do in CentOS 7 bash?

I typed the command chmod 7760 by accident. I meant to type chmod 770 and now I'm curious what the first command did exactly. After typing chmod 7760 , I typed ls -Al and the directory name was ...
Jamal McTravis's user avatar
3 votes
3 answers
18k views

Root Can't Delete Folder It Owns

Platform: CentOS 6.2 Shell: tcsh EDIT Brian Swift has pointed out a workable solution. He points out that if the home directory is served via NFS, root on a client may not have the same permissions. ...
Jason R. Mick's user avatar
2 votes
3 answers
9k views

How give the permission to access subfolders in /root?

I need give the permission to read/write in this folder, which are subfolder of /root directory to mike.jackson (for some reason someone crete this folder inside /root) : /root/Products/Metadata/...
Valter Silva's user avatar
  • 1,381
2 votes
1 answer
2k views

Centos Sftp Ssh - How always create files with rwx-rwx-r-x and always owned by a certain group

I have a user myuser, which is only allowed to connect to ssh via sftp. I'd like this user to always create files with rwx-rwx-r-x and always owned by the group apache. I've tried to accomplish the ...
Jojo Coana's user avatar
2 votes
1 answer
12k views

logrotate failing to rotate, permission denied as root user

I'm having a problem that I cannot wrap my head around. I've setup logrotate on a centos 7 server to rotate my app logs. This file is in /etc/cron.daily (i even added a whoami to verify it's running ...
Erich's user avatar
  • 141
2 votes
2 answers
7k views

Unable to write files on CentOS

I have a VPS running on CentOS 6 and apache2 as webserver. I have several PHP scripts running in my server, and everything goes smooth, except to file writing. For some reason, my PHP scripts are ...
aborted's user avatar
  • 91
2 votes
2 answers
5k views

Restore default permissions to "/var" to CentOS installation

So I accidentally ran chmod -R 0777 /var and I need to revert that (let alone allow chmod the correct ssh directory so I can log back into it). I'm feeling screwed, can anyone help? The sooner the ...
Steven Pease's user avatar
2 votes
3 answers
3k views

"chmod -R 777 /" for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...
rastaboym's user avatar
2 votes
1 answer
2k views

Restrict a user from accessing everything but a folder

I have a VPS running on CentOS 6. The parts inside the VPS are spread in different folders. My websites are in /var/www/html and some other key parts for my VPS are in /home/. Could someone give me ...
aborted's user avatar
  • 91
2 votes
1 answer
436 views

Create new SSH user and give him permission to an existing directory

Im trying to create new user called svecias and give him permission to connect via SFTP only to existing directory and deeper (/usr/share/nginx/itsupply). Currently directory is owned by nginx in ...
Mantas's user avatar
  • 21
2 votes
1 answer
5k views

Getting error: "Error constructing proxy for org.gnome... Could not connect: Connection refused" when running gnome-terminal

I am getting the error: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection refused" when I try to run gnome-terminal. I am running CentOS 7. I ...
Rabee's user avatar
  • 123

15 30 50 per page