All Questions
27
questions with no upvoted or accepted answers
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 ...
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 ...
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 ...
1
vote
0
answers
4k
views
Permission denied when systemd-sysctl service starts and tries to write to file in /proc/sys/user/
I am trying to enable user namespaces on Docker. This of course requires user namespaces to be enabled in the kernel.
One of the steps to enable user namespaces in RHEL/CentOS is to:
echo "user....
1
vote
0
answers
45
views
Moving files from an SFTP directory
I have followed this tutorial to configure a Centos 7 server using sftp. The tutorial includes hardening the sftp target directory and user.
The sftpuser is able to sftp files to /var/sftp/uploads
...
1
vote
0
answers
355
views
unable to create file in directory even it has group permission
i've created a group call "perm" and it has user apache & ruey.
[root@xxx ~]# groups apache
apache : apache perm
[root@xxx ~]# groups ruey
ruey : ruey perm
i've set group "perm" into my web ...
1
vote
1
answer
437
views
Centos 7 Serial Port Permissions in VMWare Player
Ok, what am i missing.
TLDR; I've done all I'm supposed to with permissions, lock directory, compiling, etc of Kermit and I still get the "Sorry, write access to UUCP lockfile directory denied."
...
1
vote
0
answers
853
views
PostgreSQL and database cluster ownership on shared storage
For my research, I am using an always on virtual machine for the primary analysis of my data. In doing this I need (or, I suppose, would like to) create and store the data in a PostgreSQL database. ...
1
vote
1
answer
1k
views
How to give apache ownership rights when creating a new file? [Centos 6]
So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
1
vote
1
answer
170
views
Able to copy folders but not files to directory
I am currently using CentOS 6.5 and trying to share files over a samba share. On the other machine is Windows 8 x64. I am able to transfer folders from Windows to CentOS over without issues but ...
1
vote
0
answers
1k
views
More secure way to configure Centos/Apache for Multiple Users
I have a public Linux server running CentOS, Apache/PHP/MySQL. This server currently hosts multiple WordPress Blogs and Websites I am developing.
Currently, I have "userdir" enabled, and set up ...
1
vote
1
answer
312
views
Have only read access to Samba
Hi I've been struggling a lot with Samba on Centos 5.5 lately.
I develop in Windows 7 and send files through scp (ant task), but it's to slow and wanted to setup thoroughly samba.
After installing ...
0
votes
0
answers
223
views
Issue with add Multiple user account and SSH key using Bash script
As per our requirement we provided our devloper group: devs:r-x to /var/log/httpd directory.
What is the best way to create a user account (in my case Dev User) in a Group using bash scrip, with the ...
0
votes
0
answers
280
views
Create an SSH user who has permission to access root directory but limited commands
I want to constrain the user to only have permissions for specific commands in Centos but he need to access root directory.
I want to prevent user from removing, restart, shut down
But he should be ...
0
votes
0
answers
43
views
Linux create a new user that shares everything of another user
A little background first, since I know this question seems very random.
I am using vagrant to help orchestrate a RedHat virtual machine. Vagrant is great in just about every way, however it forces ...