0
votes
0answers
14 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT [duplicate]

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
0
votes
1answer
47 views

How to connect to CentOS after killing permissions?

So I will try to keep this short and simple. For our dev server at work, I was trying to add a new user last friday and I think instead of changing his file permissions I ended up changing group ...
0
votes
1answer
28 views

How do I ascertain correct user for exim log error?

Am I correct in thinking that this line 2014-05-28 13:22:50 failed to open /etc/backupmxhosts for linear search: Permission denied (euid=47 egid=12) is telling me that the user that is trying to ...
1
vote
1answer
134 views

Permission denied for root to change inotify max_user_watches, how solve this?

As root in a CentOs 6.4 server I got this error in an application: Fri May 16 01:45:23 2014 Error: Terminating since out of inotify watches. Consider increasing /proc/sys/fs/inotify/max_user_watches ...
1
vote
1answer
54 views

Virtual Host Web Files Not Being Served

I am attempting to serve web files via virtual host, but Apache keep blocking the directory's files. All that will show is the default Apache Welcome page. index.html gets a permissions error, and ...
1
vote
1answer
296 views

sftp gives permission denied only when chrooted?

I have configured sshd_conf on my centos box as below: Match group pilots ChrootDirectory /home/pilots ForceCommand internal-sftp X11Forwarding no AllowTcpForwarding no and the directory ...
1
vote
0answers
27 views

How to write a file from Apache CGI in a user home directory on CentOS

I made a CGI in Python and it works unless I try to write to a file in a user's home. I activated allow_httpd_anon_write and allow_http_sys_script_anon_write to true with graphical tool for ...
1
vote
1answer
110 views

Folder permissions for Apache vhost files on Samba share

In our website development environment, we have a central CentOS server running multiple vhosts via Apache. The vhost files are shared via SMB. Multiple developers in the office connect to this SMB ...
1
vote
1answer
452 views

How do ProFTPD/centOS handle directory permissions for virtual ftp users?

On proftpd/centos I configure the use of virtual user. I can login as a virtual user but I do not have write permission for this users. The proftpd.conf looks like: ServerName ...
1
vote
0answers
61 views

Lost web permission after upgrading CentOS from 5.6 to 5.10

I upgraded CentOS from 5.6 to 5.10 using the following simple commands while logged in as root: yum update yum upgrade Now, I can no longer access web pages. All requests, regardless of type of ...
1
vote
1answer
202 views

Chroot issue, broken pipe

I need to give access to a developer to our server vía ssh. I hosted his web on /home/miuser and some other web applications in /home/... I have this config in my Subsystem sftp internal-sftp Match ...
1
vote
1answer
169 views

How do I restrict created users to a directory and disable SSH for VSFTPD

I've been googling for my answers for a good few hours and I can't seem to get a direct answer to my questions. I have found many tutorials but many are vague. Anyways: I've recently setup VSFTPD on ...
0
votes
1answer
62 views

Make my git user and apache user have read/write/delete access

I am having permission problems on my server. I use user developer to pull my git repository on the server. Then apache uses its own apache user to do write and execute code. I always have the ...
0
votes
1answer
184 views

vsftpd, virtual users and permissions. Avoid using chmod 777?

I am running vsftpd with Virtual Users (managed through a MySQL db). Each users home/default directory is owned by vsftpd:vsftpd. I need to give a user read/write permissions to some website files, ...
0
votes
1answer
115 views

Moving web files to /home/user/ gives permission denied using apache

I recently created some linux users on my machine and their respective directories were created in the following manner /home/my_user so I decided to treat each user as one of my websites. I moved ...
0
votes
1answer
115 views

KVM permission denied on qcow2 disk over NFS

CentOS 6.3 running libvirt 0.10, trying to access/run a vm using a qcow2 on a Windows Server 2008 NFS mount. I tried nfsvers-3 when mounting but not luck, I get permission denied, presumably because ...
1
vote
1answer
86 views

Which way is more secure: apache:admin or folder group owner:apache?

I have been learning in recent days how to set up var/www/ permissions. I understand the common solution is set a group owner of all new folders to apache via sticky bit. How about giving the Apache ...
0
votes
1answer
100 views

FTP: Access to homedir and /var/www

I want a FTP user to have access to homedir and also /var/www directory I have installed vsftpd via yum command and give them access to homedir. To have access to a homedir only, I've set ...
0
votes
1answer
111 views

How To Solve WP-DBManager Permission issue?

I've installed WordPress on a LEMP stack which is powered by CentOS 6.4. I installed WP-DBManager plugin today and it's showing an error which is mentioned below: Your backup folder MIGHT be visible ...
0
votes
2answers
93 views

How can i setup read permission in spool email for root in linux

I am using nagios to read the file /var/spool/mail/root because i have some errors in email then know what is the problem. I have setup the ownership to root:nagios. but any time when root write to ...
0
votes
1answer
40 views

vsftpd upload file error

I am setting up a vsftpd server (in centos) which allows anonymous READ/WRITE.Here is my configuration anonymous_enable=YES local_enable=YES write_enable=YES anon_upload_enable=YES ...
0
votes
1answer
19 views

all file metadata is unset

I was renaming files and I mistakenly moved a directory. When I moved it back to its original name all the file informations was unset. It looked like this: theserver:/web % ls -l site total 0 ...
2
votes
2answers
535 views

Permissions for webserver on Centos 6.3 running Plesk

I'm currently setting up an Opencart Ecom website on a VPS running Centos 6.3 which has Plesk Panel 11. I haven't much experience with servers so trying to get things right from the start. When I FTP ...
-1
votes
1answer
47 views

Files permission issue

I'm using CENTOS 6.4 with the last version of APACHE. I was trying to put some files in the "/var/www/html" directory in case i want to download them for my personal use. I missed with one file's ...
0
votes
1answer
193 views

cannot modify sshd_config as Root (centos)

After looking through several threads on securing SSH on our server and have run into a little trouble when modifying sshd_config. I went through making the relevant changes and when I exit the file ...
0
votes
1answer
584 views

ProFTPd and SELinux: mkdir Permission denied

I have a ProFTPd server on Centos 6.3 with SELinux Enforcing. My users are virtual users in a flat file. The users are chrooted to directories mounted via NFS. I've already set the following ...
1
vote
1answer
68 views

apache user can't stat a path from CGI, but can from shell

Here is a script to demonstrate: #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <sys/stat.h> #include <unistd.h> int ...
2
votes
3answers
237 views

libvirtd: kvm: User Permissions Centos 6

I need to have user access control over how they can use the Virtual machines and what they can do via Virsh on a KVM based hypervisor. So far what I learned from http://wiki.libvirt.org is that I ...
0
votes
1answer
45 views

Two identical files; Apache says one is forbidden

I've got this one file, favicon.ico. It's actually a large group of nested files, but purely for example, just this one. If I do cp favicon.ico favicon2.ico, Apache can read the second one just fine. ...
0
votes
1answer
237 views

Cron permissions?

I have a bash script which if I run manually (as root) performs all of its tasks without issue. The tasks are just a few php scripts and then a "mv" to move the process file to a temporary folder. ...
2
votes
1answer
604 views

wkhtmltopdf call from PHP exec results in exit code 127 failure

Using CentOS 6.3x64. I'm trying to run wkhtmltopdf (from here) from a PHP script. I can successfully call wkhtmltopdf-amd64 directly via SSH. But when calling it from PHP via exec, it always fails ...
0
votes
3answers
2k views

How to setup wordpress upload permissions ?

I'm running wordpress site on shared hosting (CentOS). Uploading through wordpress works only if I set upload directory to 777 which is not secure. The upload directory is owned by user and group ...
1
vote
1answer
519 views

postfix pipe to script: execvp permissions denied error

I am new to postfix and am trying to pipe a message to a particular email address to a bash script. I am running CentOS 6 in case that matters. My script has 777 permission (for testing), and when I ...
0
votes
1answer
43 views

Should getfacl be running constantly and is it normal for it to be using greater than 90% of available disk I/O?

I've recently been getting alerts from our server monitoring software about greater than 90% disk I/O utilisation. I installed iotop and there are three instances of the following process showing up ...
0
votes
2answers
367 views

CentOs, Folder Permissions

I would like to give an FTP user permission to write in a folder but should not be able to alter other files in the folder or sub folder in the main folder. I have a root account, we are using the ...
1
vote
1answer
293 views

Permission error when folder permission is 755 [duplicate]

Possible Duplicate: What are the best linux permissions to use for my website? When I trying upload file with PHP to a folder that folder should have 777 permission, but this is a security ...
1
vote
2answers
1k views

How to prevent file owner from changing/deleting their own file? Linux CentOS

This is NOT your standard "how do permissions work" question! I'm thinking the answer will probably involve ACL, but I don't know how exactly. I've messed around with standard permissions, guid, ...
0
votes
1answer
366 views

Netbeans automatically changes the file owner when updating files

We use Netbeans IDE 7.2 to edit our PHP files. In the Run Configuration it is configured as Remote Web Site to automatically save the changes on our web server (Centos OS 6.3). The problem is that ...
1
vote
1answer
2k views

Apache running as root instead of user specified in httpd.conf

I'm trying to enable WordPress to upload files to the wp-content folder without setting permissions for the folder to 777. However, I'm having some difficulties. The group and user set for the ...
1
vote
1answer
223 views

cPanel FTP account sym link permissions [closed]

I would like to give a potential developer temporary access to some of my projects. I have almost everything in its own subdomain, and each directory is a sibling to my public_html directory. It looks ...
2
votes
2answers
553 views

Apache write permission in public_html?

I have an account on a hosted webserver, where I have SSH access. Files put in /home/sandra/public_html are online. DokuWiki recommends that the data and conf directory is not in Document Root, so I ...
2
votes
1answer
2k views

Samba share accessible via IP address, but not via hostname

I have a CentOS VM running in VMWare player. The host is Windows Server 2008 R2. The hostname is set properly. The FQDN is hostname.company.net. The wiki is accessible via browser both via the short ...
3
votes
3answers
4k views

SVN with Apache 2.2 error: “Forbidden You don't have permission to access /repos on this server”

I have been following this svn installation guide and when I try to access my test repo by going to http://localhost/repos , I authenticate successfully but then I get this: "Forbidden You don't have ...
2
votes
1answer
2k views

SVN txn-current-lock: Permission Denied

I've just set up an SVN repository on a Server running CentOS 6. I followed the instructions here and things were going fairly smoothly. Until I tried to import my initial file structure svn import ...
3
votes
1answer
352 views

centos 6.2 gives read permission denied when root has set read permissions to all users

Installing Dropbox on Centos 6.2 owned by root. Demonstrating that the dropbox folder is owned by root with read permissions to all "root" user gives read permissions to all users [root@localhost ...
1
vote
1answer
277 views

group permission not working

I'm installing gitlab at my server but I got a permission problem: I have two users, 'git' and 'gitlab', both are part of group 'git', the home dir of 'git' has the drwxr----- permissions. Therefore ...
0
votes
3answers
2k views

Permission Denied for FTP User

I have an FTP user whose default is /root/ftpuser This user can login fine. The user is the owner of the directory & the directory is even set to 777 permissions. But the user can't upload ...
1
vote
2answers
589 views

Automatic 777 file permissions when uploading files

When I upload new files to my CentOS server, with cPanel and CSF the files are all given 0777 permissions automatically. How do I change this? I don't want all my files to have 0777 permissions by ...
-2
votes
2answers
392 views

Centos file permission issue

The script I'm using requires your files to be chmoded to 666 for editing, although even after I've chmoded the files it's telling me it couldn't write the files. I think it might be a security ...
0
votes
1answer
592 views

Mounted NFS directory not writable by Apache / PHP

Need some help here with NFS. Here's what I have (all servers running CentOS 5.6 with SELinux): 172.17.20.1 - Primary server with static IP. Varnish redirects requests to the web servers. 172.17.20.2 ...