0
votes
2answers
231 views

How to access data in different userhomes from a single non-root user

I have Owncloud on my server running, and it saves uploaded files unter /home/uid/files. But Apache is running as a non-root user, and it can't access(write) the files under /home/uid/files. What is ...
2
votes
1answer
2k views

How do I hide a directory of text files on IIS?

I have a directory of text files on IIS. I would like this directory to be hidden. I have set the web.config as follow: <?xml version="1.0" encoding="utf-8" ?> <configuration> ...
1
vote
1answer
66 views

What are the ramifications of UNIX files and directories where owner doesn't have group rights to the file?

I've a group of users, all of which are in a single group. Then I have a Java daemon that is a member of a seperate group. I want both the users and the daemon to have access to the same set of ...
0
votes
3answers
353 views

why do files need to be world readable for Apache to server them.

why do files need to be world readable for Apache to server them? I would think that if they are owned buy the Apache user or group. And the files are readable and executable that would allow Apache ...
0
votes
1answer
80 views

CGI file executes only on local machine, not online

I've got a CGI script written in python (starts with #!/usr/bin/env python) that executes fine on the server. I type in /home/company/server/root/adam/code.cgi and it outputs the right output. I go to ...
0
votes
3answers
3k views

SUDO permissions, file copy/chmod question?

So, I'm logged in as sudo, and seeing this... why? $ cd /var/www/drupal-6.19/sites/default $ ls default.settings.php $ sudo -v [sudo] password for sudo_username: $ cp default.settings.php ...
0
votes
1answer
258 views

PHP script gives “failed to open stream: Permission denied” unless permissions allow public write

I have a php script in a directory called /manager. In it, I open and write to a file in the directory above /manager. However, if the permissions are set to allow owner write, I get "failed to open ...
1
vote
2answers
331 views

Duplicate Linux file user, group and permissions attribute

How can I copy all the files attributes of file B, into file A in command line ? (A & B are differents) ex: A user user 666, B root root 770 result --> A root root 770 thanks
0
votes
3answers
198 views

Linux file inaccessible and has “?” permission

I have a file that has some strange permissions on it: [root@host var]# ls -la total 248 ...
8
votes
4answers
1k views

Linux : Losing group ownership of files

I have a project with a number of files that I created in Linux. And I needed to give another user write permission on them. So I created a "dev" group of which he and I are members and changed the ...