Tagged Questions
1
vote
3answers
86 views
Taking away a User's Read/Write/Execute Permission
So I have a user that is able to go in /etc and read files like httpd.conf.
I would like to deny that user access to any critical locations such as /etc, /var and so on.
What would be the best way ...
0
votes
1answer
56 views
Setting permissions with FTP
I'm having some issues setting up permissions for FTP. Read another thread on here regarding it, but I wasn't sure if it really matched what I needed.
Essentially, right now I've got the client's FTP ...
2
votes
1answer
190 views
Properly Set Permission to /home/user folder for webserver
I'm currently setting up my own Linux server running CentOs 6. To test the security on my server I wrote a PHP script that acts like a sort of "navigator". I can go one directory up, open the files, ...
3
votes
1answer
184 views
CentOS file owner changed on editing
I have the following problem. On Unix server (CentOS 5.5) a number of users belonging to the same group have access to the same files (via ssh). After one particular user (let's say usera A) has ...
1
vote
1answer
103 views
security concern around adding cron user to web application group
I have a permissions issue on my CentOS 5.6 machine with regards to the cron user.
On my test/staging environment my cron user (picco-cron) is a member of one group - picco-cron, as below:
...
0
votes
1answer
197 views
Remove noexec from Home folder
I trying to deploy an rails application into /home/app/myapp, but when application tries to connect to Mysql, I get this error:
** [out :: 192.168.110.50] ...
0
votes
4answers
272 views
umask is not working for directories
I have an odd problem with umask.
My current setting is:
$ umask
0022
$ umask -S
u=rwx,g=rx,o=rx
This only works for files though and not directories:
$ touch abc
$ ll abc
0 -rw-rw-rw- 1 user1 ...
-1
votes
1answer
240 views
How do I repair a broken drupal install? [closed]
I'm trying to set up an unmanaged VPS to test uploading drupal.
All I ever get is a 403 forbidden error when trying to access my URL.
Because the VPS is unmanaged, I installed webmin and ...
2
votes
1answer
1k views
CentOS 6 VSFTP 553 Could not create file
I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error:
553 Could not create file
After ...
2
votes
0answers
349 views
Owner & Group setting for OpenCart install on CentOS 6.3
I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
1
vote
2answers
227 views
SMB Mount To Windows Server Appears to Lock up. Any Ideas?
We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue)
The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
1
vote
3answers
710 views
Root permission - username ALL=(ALL) ALL does not work
I'm a beginner.
I'm trying to give my user root permissions, so I edited the sudoers file like this:
black ALL=(ALL) ALL
"black" is my username.
But I still don't have root permissions, and ...
1
vote
2answers
141 views
How to maintain file ownership when running 'yum update'
I'm running CentOS 6.2 and installed nginx as root. After the install I changed the owner and group of the install to it's own user and group to keep thing a bit more secure.
I logged in as root and ...
0
votes
1answer
1k views
Giving apache user same permissions as root only on specific folders
Not sure if this is possible but is there a way to grant the Apache user same level of permissions (ownership) as root only on specific folder(s).
Why I need this:
We have a CentOS 6.2 server with ...
3
votes
3answers
608 views
Recursively list files with file names, folder names and permission in CentOS
Is there anyway I can list files by typing a command in the shell which lists all the file names, folder names and their permissions in CentOS?
4
votes
2answers
440 views
/etc/crontab permissions
The /etc/crontab file has the permissions:
-rw-r--r--
I understand that this file is for system cron jobs and other users should not have permission to modify it. The current permissions allows all ...
3
votes
3answers
9k views
“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6
I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files:
[root@localhost html]# ls -l
total 4
-rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html
...
