0
votes
1answer
363 views

Unable to start the Phusion Passenger - Cannot change the directory - Operation not permitted (errno=1)

I'm running Red Hat Enterprise Linux Server release 6.4 (Santiago) on Amazon EC2. I have installed Phusion Passenger via a gem. When I start httpd I have this error message in less ...
1
vote
1answer
453 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
1answer
61 views

What are the most optimal permissions for /bin/su?

I want users to be able to use "sudo su -", but not to switch user by password. What are the most optimal permissions for /bin/su? Right now it's: -rwsr-xr-x. 1 root root 42436 Jul 26 18:19 /bin/su ...
1
vote
0answers
89 views

Best way to bind multiple RHEL 6 Systems to AD and use NFS?

I am currently migrating systems to an AD domain using winbind. This works fine but I have discovered that NFS mounts don't have proper permissions because users and groups end up with different ...
0
votes
2answers
81 views

Linux: Apply ownership to all files created in folder

My first question, so be kind... Basically, I have a folder that a user group has access to. This folder has a program in it that runs as root(via sudo) then outputs result files(xml files) to a ...
-1
votes
1answer
118 views

Root user is not able to paste files into nonroot user's home directoy

Hello Friends, I am using rhel 5.3. First of all I want to discuss what I did earlier. I was using this system(200.0.0.15) as NIS Client. So I had started autofs service and had shared ...
0
votes
3answers
241 views

Cannot properly read files on the local server

I'm running a RedHat 6.2 Amazon EC2 instance using stock Apache and IUS PHP53u+MySQL (+mbstring, +mysqli, +mcrypt), and phpMyAdmin from git. All configuration is near-vanilla, assuming the described ...
1
vote
2answers
260 views

A network socket in C++ on Redhat 5 for non-root user

I have written a program in C++ which uses sockets to talk to a windows7 machine. I have run the code as the root user and everything works fine. However I don't want to end up running the program as ...
2
votes
1answer
305 views

Why does ssh-agent have SGID set?

In the openssh Red Hat package, I noticed that the ssh-agent executable has the SGID permission set: $ ls -l /usr/bin/ssh-agent -rwxr-sr-x 1 root nobody 113648 Nov 24 2010 /usr/bin/ssh-agent Why ...
1
vote
1answer
301 views

non-root cp -a preserves ownership?

I am working on RedHat EL 4 with NFS mounts. Sometimes I copy a directory into my home directory using the -a switch, and if the directory that I am copying is owned by another user, I can no longer ...
1
vote
3answers
210 views

Maintain ownership in a directory regardless of who adds / edits files within it

We have a development directory shared by our team. Everytime a user adds a file, the ownership changes to that user. Is there a way to ensure that the owner of files added within a directory always ...
0
votes
1answer
119 views

Linux group / user permission issue

Redhat 5.5, logged in as root I created a group dev-core groupadd dev-core Then I create a new user tony useradd tony I changed tony's password and added tony to group dev-core usermod -a -G ...
1
vote
2answers
72 views

Red Hat server permissions issue

I am trying to solve a problem with the use of a Red Hat server to run IC simulations. Previously the IC projects were being stored on my Windows Server 2003, but the simulation tools were run on a ...
2
votes
3answers
2k views

CentOS / Redhat: Give file permission for apache and vsftp

I use CentOS 5.5 and Apache Webserver on my dedicated Server. My Folder "/var/www/myWebApp" is owned by apache, so that apache can read, write logs, etc.. But now I would like to use very secure FTP ...
1
vote
1answer
208 views

Apache Default Permissions

I'm pulling my hair out with Redhat at the moment... How can I set the default user:group permissions for apache generated files and folders? Hope this makes sense. Tom
0
votes
1answer
765 views

Correct user / permissions for running php script which writes to disk?

I've got a website at /var/www/html Which has a couple of files, one of which is: -rwxr-xr-x 1 root root 1609 Feb 16 2010 send_form_email.php (earlier it was 644) I can access the file ...
1
vote
3answers
730 views

need to delete files owned by apache - unsure how to do that

Running apache on rhel server and sometimes I need to delete some files that I can not using my FTP program, because the FTP account I am logged into is not the apache user. I am on a Mac and there ...