Questions related to permissions or access rights for operating systems, filesystems, servers, or network devices.

learn more… | top users | synonyms (2)

0
votes
1answer
18 views

Creating a folder in `/var/run` when job is run as a non-privileged user

I have a few upstart scripts which are run as a non-priviledged user using setuid. Pid files should be created in /var/run/my-service: /var/run/my-service/v1.pid, /var/run/my-service/v2.pid and so on. ...
0
votes
0answers
15 views

SQL DATABASE USING VPN

I have a very simple classic asp site on a Windows 2008 Server with an IIS 7.5 that connects to an Sql database on a Sql 2008 r2. the site works perfectly when accessing it both locally from the ...
13
votes
7answers
8k views

Copy permissions to identical tree on linux / unix

i have a tree of files with correct permission. then i have a (filewise) identical tree (with different file contents tough) with wrong permissions. how can i transfer the permissions layout from ...
2
votes
1answer
59 views

suPHP and Apache DBD : change GID only

(Note: if you're familiar with suPHP setups and want to skip the question's details, you'll find a quick explanation of what I'm trying to achieve at the end) I am currently setting up a machine to ...
4
votes
4answers
872 views

IIS7 folder permissions

I build a basic WCF service that I now want to host in IIS7 under Windows Server 2008 R2. I added the service as an application under the default web site but whenever i try to run the application I ...
-1
votes
0answers
9 views

how can i create folder and in that sub folder using php in centOS, am facing folder permission problems [on hold]

how can i create folder and in that sub folders using php in centOS, am facing here folder permission problems. that's why am unable to upload images in my site
1
vote
1answer
44 views

Can't delete Active Directory object

I've been trying to solve this mystery for a couple of days but I think I've reached a dead end. We have delegated user creation and administration to a group. This permissions are applied to a ...
1
vote
2answers
664 views

You don't have permission to access / on this server - changing default www to NTFS drive

i have been struggling for a couple of days about this problem. I am trying to change the default www directory for Apache/2.4.6 (Ubuntu) web-server under LinuxMint16 and making it point to a NTFS ...
0
votes
0answers
24 views

you must have read permissions to view the properties of this object, administrators group

I think I'm having some difficulty understanding NTFS permissions. My understanding is that when possible you want to avoid assigning a specific user account to NTFS and instead use a group. So I set ...
0
votes
1answer
275 views

Zentyal: “incorrect password” on login

I've installed Zentyal 3.3 on my virtual Ubuntu server (12.04.4 LTS (GNU/Linux 3.2.0-23-generic x86_64)) as package. But when I try to login, Zentyal throws "Incorrect password". I've added my user to ...
0
votes
2answers
668 views

Default File Permissions (Passenger, Rails, Ubuntu Server)

I've deployed a Rails application that is using page caching and is run via Passenger on Ubuntu Server. Rails caching simply uses Ruby's File.open to write the cached files. Unfortunately these files ...
0
votes
1answer
10 views

Session created with wrong permissions?

Is there a way to modify the permissions on generated session files? The system is writing the files to /var/session directory correctly, but without the proper access permissions (resulting in no ...
1
vote
1answer
718 views

Why can't I install modules via NPM unless I'm root?

I'm using the latest version of stable node.js (0.8.19) $cd ~/downloads/node $./configure $make $sudo make install Doing this installed node.js Now, when I go to: $cd ~/myproject/node_modules ...
1
vote
1answer
746 views

Excel cannot access the file with IIS7&Windows Serer 2008 R2(64bit)

I have a web project in .NET 4 that needs to access an Excel file, but it ends up with the following error message: Error occured during file generation.Microsoft Excel cannot access the file ...
3
votes
1answer
811 views

vsftpd - PAM - MySQL and pam_mkhomedir to create directories

I've been successfully using vsftpd with virtual users connecting with PAM to my mysql DB. Now I'd like to automate creation of user directories with successful vsftpd connection. Here is ...
0
votes
1answer
12 views

Blank manifest file in Windows Server 2008

I have an issue with an instance of Windows Server 2008 where Server Manager will not open, nor will powershell or anything else really. I've researched solutions and attempted a dozen or so fixes ...
0
votes
1answer
41 views

How to give computer account access to EMC VNX CIFS share?

I have a web application that runs using the NETWORK SERVICE account and which has a Virtual Directory to a shared folder (containing images) on an EMC VNX NAS/SAN Unified Storage file server. I ...
2
votes
1answer
1k views

Ubuntu Jaunty + sendmail + PHP + mail() Premission Errors

I'm having issues trying to get PHP's mail function to work on my Ubuntu 9.04 VPS with sendmail and Apache (and other less relevant stuff, of course). From PHP I receive no error, save a return value ...
1
vote
2answers
26 views

Choosing which user to run service as and where to install programs

From the Principle of Least Privilege, I understand that I should install a network service as its own user. Where should the software be installed to? For example, say I create a user Tomcat (for ...
0
votes
2answers
33 views

How can I set the default permissions for files uploaded by apache2?

When I upload files through php, it writes the file with the permissions 644 (-rw-r--r--). I have my /var/www/html folder setup with setgid, so that all files uploaded are set to a group that should ...
2
votes
1answer
913 views

Linux- Permission denied?

I'm installing Neo4j server as a linux service, but when I install it, I get the following message: /sbin/insserv: Permission denied What is this? What should I do? I'm running everything with ...
2
votes
0answers
16 views

MySQL Stored Procedure Requiring SUPER [migrated]

I'm trying to figure out a "safe" way of allowing a non-SUPER user to execute a specific command requiring SUPER privileges, i.e. SET SESSION binlog_format = 'MIXED'. I don't want to grant the user ...
3
votes
0answers
23 views

Cannot set ACL on ACL-enabled EXT4 partition

I am trying to enable xattrs and acls on a Debian machine. I've (re)mounted the partition in question with user_xattr and acl. (/dev/md3 is the partition in question) root@fs01:/# mount | grep ...
3
votes
1answer
30 views

Read only permissions still allows to save

I have a weird permissions situation that I can not explain. Let me explain my users and group and then show you the folder permissions. drwxrwsr-x. 2 jenkinsuser applog 4096 Jul 15 09:56 . ...
73
votes
4answers
44k views

What permissions should my website files/folders have on a Linux webserver?

This is a Canonical Question about File Permissions on a Linux web server. I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. ...
0
votes
1answer
2k views

Nagios 403 forbidden, indexes?

I installed nagios under freebsd 9, but can't figure out the right way for it to be public in the browser (from other pc's). I think that the problem is in the indexes or that there is no index file ...
0
votes
0answers
12 views

Docker: Permission denied on folders added with ADD

I'm trying to configure a postgresql installation using docker. FROM ubuntu:13.10 ADD . /db # install postgres # ... RUN chown postgres:postgres /db -R && \ chmod 700 /db -R USER ...
0
votes
2answers
36 views

How to let user create folder and upload file, lamp permission [closed]

I use mkdir($folder_path, 0755) in localhost(MAMP) it works, but after I move to VPS I use LAMP it failed. Folder the direction path is /var/www/html/assets/images/ the images folder info: Owner: ...
4
votes
2answers
2k views

built in “Offer Remote Assistance” not working because of permissions

I'm trying to enable permissions for a user on a Windows7 machine to use the built in feature called "Offer Remote Assistance" or "Windows Remote Assistance". This feature works fine if the user is ...
0
votes
0answers
24 views

Plesk Permission Denied

I've been trying to archive a whole directory from within Plesk, but when I try to, it brings this message up: Error: Unable to create the archive: filemng: /usr/bin/zip execution failed: zip ...
1
vote
7answers
3k views

Giving user read permissions everywhere (Linux)

I have a "backup" user on my server that needs to have read permissions everywhere. Doing chown 444 -R / backup doesn't seem like the right thing to do, so what should I do?
3
votes
1answer
35 views

Automatically give Apache write permissions to newly added git clone files (-R g+rw)

I'm having a problem with allowing Apache to automatically have write access to an .htaccess file being pulled from a git repository. Here's my process: I'm logged in as a newly created user ...
0
votes
1answer
20 views

How to let any server user modify files created by a samba guest on a public share (and the other way around)?

I have a linux server running samba with a public share accepting guest connections. Any window box on the network can edit/remove files on the share as long as the files are created by a guest (i.e. ...
4
votes
2answers
113 views

Network Service account or domain account? [closed]

What are the pros and cons, or best practices when it comes to setting up applications on a server with either the Network Service account or a domain account? Are there some cases in which you'd do ...
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
2answers
1k views

Enabling `mod_rewrite` apache, permissions issues

In attempting to enable mod_rewrite on the Apache2 web server installed with Mac OSX 10.7.4. Following these instruction, ultimately using the configuration to host CakePHP applications, I run into ...
3
votes
1answer
1k views

Is there a way to set access to WMI using GroupPolicy?

From various documentation it appears that to change WMI access you need to use WMI to access the running service and modify specific parts of the tree. Its kind of annoying changing 150,000 hosts ...
0
votes
2answers
211 views

Nginx PHP-fpm permission

When i'm setting the user in nginx.conf to root root: user root root; then my website is working, but when i set it to nginx nginx i get error in the logs: connect() to ...
0
votes
0answers
243 views

can not upload files to wordpress on apache server

I have installed wordpress on localhost with apache server on fedora . when I want to upload files to it I get this error: Unable to create directory wp-content/uploads/2014/07. Is its parent ...
3
votes
3answers
5k 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 ...
0
votes
1answer
692 views

User http does not have write permissions directory?

I have a bit of an odd set up, I think. I have groups for each domain my server hosts, and I add the user http to each domain group along with the users that should have access to the groups' domains. ...
0
votes
1answer
1k views

CentOS 5.4 NFS v4 client file permissions differ from original files & NFS Share file contents

Having a strange problem with NFS share and file permissions on the 1 out of the 2 NFS clients, web1 has file permissions issues but web2 is fine. web1 and web2 are load balanced web servers. So ...
0
votes
1answer
37 views

scp to remote server permission denied

I try to copy files to a remote server (OSXServer) using scp. I have 2 user accounts on that server with what I thought the exact same settings. Now I tried the copying files into the respective home ...
0
votes
2answers
67 views

vsftpd - “553 could not create file”

I'm having issue with my vsftpd. here is my info: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # uname -a Linux ip-10-150-53-42.ec2.internal 3.10.0-123.el7.x86_64 ...
0
votes
1answer
692 views

php fopen error (failed to open stream: Permission denied)

I have a php script on a Windows Server 2008 box (IIS 7) that is run periodically to download a remote XML file and store it on the server. This script (which previously used to run successfully), is ...
0
votes
0answers
28 views

Cant Login after Installing IIS6

I have a win server 2008 enterprise. Earlier today the windows was fine and everything worked like normal. later today i installed wcf activation, iis 6 and some other features on it and now i cant ...
0
votes
1answer
50 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 ...
1
vote
2answers
4k views

configure apache/webdav readonly for user x, read/write for user y

I'm using Apache 2.2 on RHEL 6.x. I can get webdav setup as readonly for user x or readwrite for user x but can't figure out how to make it read only for user x and read/write for user y. I just have ...
0
votes
1answer
16 views

Mounted Gluster volume keeps reverting to “root” permissions

Ive got GlusterFS running on an AWS server and its mounted to another AWS server. The folder that is mounted though keeps reverting to "root" ownership, when this happens uploads fail from the web ...
0
votes
0answers
12 views

Git broken when accessing Program Files as non-administrator

My company has a customizable internal tool that is located within the Program Files folder of the dev computers. We using it as a Git repo, but I've noticed that Git incorrectly thinks there are ...