In computing, permissions (often called "privileges," "access rights" or just "rights") are rules associated with objects on a computer or network. Permissions determine which objects can access which objects, and to what extent.

learn more… | top users | synonyms (2)

1
vote
3answers
5k views

Permissions for new directory and file on Samba when connecting through mac osx

I'm using ubuntu server 10 and I have this configuration in my smb.conf: [www] comment = Web files path = /var/www browsable = yes writeable = yes create mask ...
14
votes
2answers
85k views

Using ICACLS to set permissions on user directories

I'm trying to reset permissions on user directories and having a bit of trouble with the last step of my script. My script basically takes ownership of the entire user directory, resets the ...
1
vote
1answer
20 views

SELinux - first attempt to restrict file by type - fails to fail

I have a Centos 6 Linux box. I read tutorials on SELinux and wanted to try it out. Here are steps I followed, set SELINUX=enforcing in /etc/selinux/config turned on SELINUX with setenforce 1 service ...
3
votes
4answers
1k views

Allow PHP to write file without 777

I am setting up a simple website on webspace provided by my university. I do not have database access so I am storing all the data in a flat file. The issue I am experiencing is related to file ...
0
votes
1answer
41 views

Prevent changing ownership of a file

I have file with 777 permission. How can I prevent changing ownership of that file by others? ie I need to prevent chown x:y myfile myfile is a log file written from web. it's ownership is www-data.
0
votes
1answer
873 views

SQL Server NETWORK SERVICE account permissions

My SQL Server Windows service is set to use the NETWORK SERVICE account. The server is installed to C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL. However looking at the ...
0
votes
1answer
18 views

PDFTK: unable to open file for output

I am making use of PDFTK to watermark PDF files using the following command: pdftk /tmp/55180af7c8c88.pdf stamp /tmp/stamp55180af7c95b84.58412952.pdf output /tmp/55180af7c95c81.06110501.pdf However ...
5
votes
5answers
910 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 ...
4
votes
2answers
1k 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 ...
6
votes
1answer
585 views

Evaluating current ACEs on NTFS ACLs with PowerShell

We have a document management system that has million of files on a NTFS file system accessed through a network share. A single service account needs full permission to all of these files and the ...
1
vote
1answer
883 views

Windows File Permissions don't apply to existing files

We rolled out this new Windows 8.1 machine on the domain recently, other desktops are still using XP. One of the software we install is the Oracle Client, it's installed manually on the machine using ...
2
votes
1answer
30 views

SSH key authentication not working

I've a server running Ubuntu 10.04 (as a VM) to which I can't connect using ssh key authentication without being asked for the password. I've read a lot before posting but I really don't know what I'm ...
1
vote
1answer
30 views

What does a new user object in an AD domain have access to by default?

Background: An application requires that user objects be created to contain various users' information. These user objects exist for their data only, and the user objects should not be able to log in, ...
1
vote
2answers
27 views

Windows network folder directory list inconsistent when viewed from two different client machines

I am on a corporate network using Windows. There is a network share provided by a NetApp appliance. When I log on to two different machines and view the network drive, I see inconsistent directory ...
0
votes
1answer
20 views

special permissions set to deny on new subfolders of a folder I own with Full Control

I have rsnapshot 1.3.1 installed under cygwin64 (setup 2.870, dll 1.7.35) on win2012r2, all the latest as of today. I configured it to take a single file, current.7z, and make a rotating backup of ...
0
votes
1answer
28 views

Specify File-level FTP Permissions

I have a user that has access to an ftp folder: /home/user1/public_html/ Is it possible to deny access to specific files within this folder, while still allowing apache to run them? For ...
15
votes
5answers
12k views

Bash Scripting: Require script to be run as root (or with sudo)

I'm trying to write a bash script (in Ubuntu) that will backup a directory using tar. How can I do a check in the script so that it can only be run as root (or with sudo)? For instance, if a user ...
5
votes
1answer
54 views

Microsoft Exchange Server Permission Insight

I was just assigned management of our Exchange Servers. The person who installed and configured our Exchange 2010 Servers did not set up permissions correctly. I noticed that anyone within the ...
2
votes
1answer
105 views

Office Registry Settings for Office 2013 for use with ADRMS

We had ADRMS running with Office 2010 on Windows 7, between a few divisions using Trusted Publishing Domains (TPD), this made available by using a few registry changes for use in Office 2010 ...
2
votes
2answers
4k views

Permission forbidden on localhost with apache2

Here is what I am trying to do. I tried to add another folder to apache and I get the following error when trying to acces testing/index.html. The idea is that I would like to have for every ...
0
votes
0answers
11 views

Open LiteSpeed permission problems

I recently moved to open litespeed from apache and i can no longer create files. When i do a file_put_contents i get permission errors. lsphp and litespeed both run under user nobody. Doing a chmod ...
2
votes
1answer
1k 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 ...
5
votes
2answers
99 views

Preventing specific folder deletion in CentOS

I have a CentOS server running PureFTPd with multiple virtual users mapping to a single system user. Each of these virtual users gets chrooted to a directory corresponding to their username. The ...
0
votes
0answers
22 views

WordPress can't move files (Nginx, HHVM)

I have a WordPress setup using HHVM & NGINX on Ubuntu 14.04 that can't moves files when uploaded. Nginx is running as www-data. Files are all owned by deploy:deploy. Where www-data is a member ...
0
votes
1answer
47 views

mysql grant select to ONE table on ALL database

I have many tables with the same table structure. I want to create a user which can access one table in all of those databases. We are adding new databases frequently, so a wildcard would be ...
2
votes
1answer
120 views

Apache CentOS 7 403 Forbidden Anyone?

I am trying to setup a situation where I can FTP to my Linux CentOS 7 server and update the web site files from my Windows 7 system. At this point I can FTP to my user's folder using vsftp ...
0
votes
1answer
1k 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 ...
2
votes
3answers
2k views

Reset Directory Permissions for File Migration

I just built a server 2003 based domain to replace an old, broken server 2000 domain that I "inherited". Now that I'm trying to migrate my users data from the old file server to the new one, I'm ...
0
votes
1answer
1k views

Access Denied when using Copy to LPT port

I print some data to a connected printed via the dos COPY command. It works great when the printer is set to "spool" but when using "print directly to printer" windows returns an access denied error. ...
4
votes
5answers
9k views

I have administrative rights on Windows Server 2003, so why am I denied access to a folder?

A recent attempt to upgrade a piece of software failed because it couldn't access a folder. I tried to take a look at the folder in Explorer and was told: D:\folder is not accessible. Access ...
0
votes
0answers
20 views

Rights issue, extracting a zip archive

I'm in need for some expertise. I've been tinkering a few days at this with fruitless results. I'm trying to write an update script starting out in PHP. PHP will download a zip archive via FTP ...
0
votes
1answer
315 views

“Target the specific user you will be using and assign it user id 0/group 0”

I am trying to virtualize an Ubuntu machine using VMWare vCenter Converter, but ran into permissions issues. I followed the instructions of part 1 and 2 on this page but when I got to "For Ubuntu ...
0
votes
1answer
899 views

Cannot access shares via full domain name on Server 2008R2

I have a strange issue. We have a 2008R2 PDC and BDC. I can join the domain fine and everything seems "normal". However, on some of the other 2008R2 servers, I am unable to do things like a ...
3
votes
2answers
103 views

Prevent local administration privileges for our domain users

I am looking for possible solutions to prevent local administration privileges for our domain users. Currently, we provide our domain users local administration privileges to avoid issues with ...
3
votes
4answers
2k views

WMI permissions: Select CommandLine, ProcessId FROM Win32_Process returns no data for CommandLine

I am gathering performance data via WMI and would like to avoid having to use an account in the Administrators group for this purpose. The target machine is running Windows Server 2003 with the latest ...
2
votes
1answer
649 views

What permissions do I need to do a mysqlcheck on all tables?

I'm trying to run mysqlcheck, and I want to run it on all tables, so I'm passing it the -A option. However it's silently skipping all tables that it's doesn't have permission to view. Is there some ...
-1
votes
0answers
10 views

Convenient Ownership permissions on files in Web directory [duplicate]

I have a magento install running on an Amazon ec2-instance (which seems to be a flavor of CentOS, so the web user is 'apache'). In order for the magento site to generally work properly, Apache has to ...
0
votes
1answer
47 views

Read only permissions on some Linux logs

I would like to limit a certain user (let's call it logger) to be able to only read some (not all) logfile (web, php framework, radius,etc).I am not sure how to do it the "best" way. So far I have a ...
2
votes
1answer
2k views

File permission mask/mode settings for Samba on FreeNAS?

I'm currently working on the Samba settings on a FreeNAS server. When any user creates a file or a folder on the server I want the file or folder to get the following RWX permissions: Folders: ...
3
votes
1answer
145 views

Is it possible to open Control Panel based applications with raised privileges?

For example, I want to uninstall an application on a users PC whilst they are logged in, but they do not have the rights to do so in the "Add/remove Programs" application. Is it possible to use "Run ...
1
vote
1answer
16 views

Spamassassin cannot write files to disk

I am running spamassassin on Ubuntu 14.04 as root. When I am calling any of the methods, such as Check or ReportSpam, I am also passing in another user that the check should be run as. However I get a ...
0
votes
0answers
44 views

Read-only access to a dir for a user in the shell, but allow git to write to that dir

The Environment: At work we have a shared web hosting account which allows us shell access to our server, but not root privileges. This means we have a single user in a single group and cannot create ...
1
vote
2answers
2k views

nginx failed (13: Permission denied) uwsgi (502 bad gateway)

I am having trouble running my application on a new DigitalOcean droplet. The machine runs CentOS 6.5 My /etc/nginx/nginx.conf user nginx www-data; worker_processes 1; error_log ...
0
votes
2answers
31 views

What the permission required to view all the permissions on a given database?

What permission can grant the right to view all the permissions on a given database? In my current context, the support team of a piece of software need to be able to investigate the cause of ...
1
vote
1answer
1k views

IIS 6.0 FTP Folder Permissions

I have a IIS FTP website setup like this \ftp\users\domain\public\public Software that runs on clients computers logs into the FTP server by specifying domain\public and moving to public, it then ...
2
votes
1answer
911 views

Windows 7: Having Underprivileged User Install and Alter Fonts

I've run into this huge issue with a graphic designer. They want to be able to install fonts they have downloaded. This user is a non-admin user on the local machine and a non-admin user on our ...
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 ...
4
votes
2answers
5k views

Has March 2015 Patch Tuesday broken 2003 shares?

We have several Windows Server 2003 boxes, and over night, they had their automatic updates installed. This morning, users cannot access shares they were previously able to, and are prompted for ...
0
votes
0answers
18 views

Grant All privileges on all databases to a Mysql user [migrated]

I try to give a user all the privileges on all the databases : mysql> GRANT ALL ON "." TO 'AppBD'@'192.168.1.5' IDENTIFIED BY 'admin'; ERROR 1064 (42000): You have an error in your SQL syntax; ...
1
vote
0answers
25 views

How to change permission of users in RDS?

We have created a MySQL RDS instance on AWS called "lolbob" and while dumping our data over port 3306 using the user that was created during instance creation (also called "lolbob") it fails because ...