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)

0
votes
1answer
19 views

.htaccess: password required two times for the redirect function

I have the following .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^example.de [NC] RewriteRule ^(.*)$ http://www.example.de/$1 [L,R=301] RewriteBase / RewriteCond %{REQUEST_FILENAME} !...
6
votes
5answers
10k views

How to configure PHP CLI on linux ubuntu to run as www-data?

I have a symfony2 application on my ubuntu. Symfony has a plenty of useful console commands (like php app/console cache:clear or php app/console assets:install web). The problem is If I run them as ...
0
votes
1answer
1k views

Access Denied on LAN IIS Access via Integrated Authentication

I have an IIS 7.5 (Win2k8R2) Webserver, which publishes an UNC Share (on a Fileserver) with restricted access. The AppPool Identity is a Domain User-Account with read access to mentioned UNC path. ...
0
votes
0answers
18 views

Unkown File permissions for /etc/resolv.conf

I am unable to ping any url (for example www.google.com), neither any of the website is working. However, I can ping static IPs (E.g. 8.8.8.8). A little debugging showed that the issue is /etc/resolv....
17
votes
3answers
23k views

MySQL: creating a user that can connect from multiple hosts

I'm using MySQL and I need to create an account that can connect from either the localhost or from another server, i.e. 10.1.1.1. So I am doing: CREATE USER 'bob'@'localhost' IDENTIFIED BY '...
2
votes
2answers
2k views

Adding a new user into linux from a script

I am using a customized Redmine installation to manage projects. I have managed to hook the addition of new users and send the login information to a bash script I have. Below is my script: #!/bin/sh ...
0
votes
1answer
17 views

sudo-like privilege management for docker containers

I want to allow a Docker container to invoke some actions on another container without granting it full privileges. An example would be a Docker container which does log rotation and reloads the ...
1
vote
0answers
12 views

Configure a server to grant temporary write permission on request?

I'm looking for ways to reduce exposure of a server's shares if ransomware gets onto a client. Users need access to the server's shares, and normally that is read/write access. Write access is needed ...
0
votes
1answer
20 views

Samba is ignoring file and directory create permissions

I am trying to create a SAMBA share but as usual I get a bunch of permissions problems. Here is my setup: [global] workgroup = WORKGROUP security = user map to guest = bad ...
0
votes
0answers
16 views

Active Directory on Server 2008, How do I Delegate the right to add WriteMembers ACL on AD group

$group = Get-ADgroup $Group_RW $groupDN = $group $Ruta = "AD:\"+ $GroupDN $acl = get-acl -Path $Ruta $SID = new-object System.Security.Principal.SecurityIdentifier $GrupoOUsuario.SID # The following ...
2
votes
0answers
22 views

permission to change Windows password in non AD environment

We have a computer running Windows Server 2012 R2, which is not member of any domain, and a web application running on this server. Users of the application are set up as local Windows users of the ...
0
votes
1answer
2k 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. ...
1
vote
1answer
2k 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 ...
1
vote
2answers
6k views

User in Administrators group has not the same rights as Administrator (Win 2012 R2)

I have created a user admin and putted this user in the Administrators Groups (local, there is no AD). But This admin user has not the same rights as the Administrator user itself. Example 1: a file ...
0
votes
1answer
813 views

AD LDS - LDAP - How to set group's rights on container

I installed AD LDS on a W2012R2. Everything is working fine. Now, I want to create new Roles, to grant to groups permissions to create/modify/delete users in a certain container. (I used this article) ...
0
votes
1answer
18 views

Lost access to IP restricted server

So we have a server that has IP restrictions set for SSH, cPanel..etc and our static IP has been recently changed before we could update the IP restrictions meaning we have lost access. The support ...
200
votes
2answers
46k views

Why is “chmod -R 777 /” destructive?

This is a Canonical Question about File Permission and Why 777 is "destructive". I'm not asking how to fix this problem, as there are a ton of references of that already on Server Fault (reinstall ...
0
votes
2answers
3k 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 ...
0
votes
1answer
2k 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
29 views

GPO software installation from SAMBA server denied

I have a similar issue at 2 sites: W10p desktops provisioned from scratch, pulling installation (MSI) binaries from local SAMBA server. I've created a dedicated share (\nas\provisioning) & tried ...
0
votes
0answers
13 views

Cannot delete folder. Haven't perrmission. New PC old disk [migrated]

I have a new PC with windows 10 and an old with win 10. I moved my disks from old machine to the new. I see the folders but cannot delete them. I'm the system administrator (My PC) but haven't ...
0
votes
1answer
16 views

Permission denied for dovecot to access mail directory

I have setup a mail server using Postfix & Dovecot on CentOS 7. When I try to fetch email using thnderbird or any other email clients, I get this error in my maillog file: Jun 19 01:38:23 ...
0
votes
2answers
40 views

Nginx wordpress cannot upload files on CentOS 6.8

I kept getting this error when I upload a photo to my site. Unable to create directory wp-content/uploads/2016/06 The configures are like this . For /etc/nginx/conf.d/default.conf server { ...
0
votes
1answer
29 views

How am I granted access to a protected Windows share without entering a password?

I was logged in to a local administrator account on a Windows 2012 R2 server yesterday and noticed I was granted immediate (passwordless) access to the C$ admin share on another 2012 R2 server. These ...
2
votes
0answers
29 views

Preserve Linux Capabilities in Debian Package

I'm building a package containing a web service that needs to listen on port 443. The service itself is written in Go, so I can't use authbind to manage the port permissions. Instead, I've opted to ...
0
votes
0answers
13 views

CentOS 7 group permissions not allowing access to folder

I have a CentOS7 box, "box1", domain joined using Winbind + RID method. I have a folder (NFS mount) @ /shares/share. The permissions are: root@box1:/shares# ls -n /shares/ total 8 drwxrws--- 2 0 ...
16
votes
1answer
600 views

Check that a given user has a given privilege

Given a pair of a user and a privilege I need to determine if a user has the privilege on the server. The following is true in my setup: The server is a part of a domain but not a domain controller ...
2
votes
1answer
1k views

Securing an Apache Setup with a Fresh Ubuntu Web Server with users and permissions

I have a virtual Server with Ubunto 10.04 on. My host Mediatemple have a few guides on trying to secure the apache config, but I think they are missing some details, or at least it makes no sense to ...
0
votes
1answer
30 views

PHP can't write to a directory

I am trying to configure our server for a client's website that we host. Their site is PHP, which I'm not terribly familiar with, so I don't know if it works in some weird way. (All our sites are in ...
5
votes
6answers
20k views

How can I remove local administrator permissions?

I want to disable the permissions of local administrators in the machines of my domain, is this possible?, and only put administration rights to the Domain Administrators. And I want to do it with ...
1
vote
1answer
2k 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 ...
15
votes
4answers
19k views

linux/setfacl - Set all current/future files/directories in parent directory to 775 with specified owner/group

I have a directory called "members" and under it there are folders/files. How can I recursively set all the current folders/files and any future ones created there to by default have 775 permissions ...
0
votes
0answers
21 views

How to Control Hosted Exchange External Distribution Group Access

I am helping an SMB find an email/calendar/contact solution that fits these contact criteria: External contacts are stored centrally (not in personal address books) Contacts are grouped into ...
0
votes
1answer
1k views

Setup Acount Permissions with MSMQ and Windows Service

I'm a developer needing some guidance on setting up proper accounts/permissions for the following so bear with me please. I am creating a private MS Queue and installing a windows service on a Win ...
2
votes
1answer
30 views

Active Directory permissions dissapears

I have recently configured Active directory delegation and in one specific OU inherited permissions disappears from all users except one I have recently created for tests. Non of the users are a ...
3
votes
4answers
3k 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 ...
0
votes
1answer
32 views

Query AD for users with create users access rights

My company has requested a list with all the users and groups from AD that have access rights to create users and in which OU's they have these rights. Is there a way to get a complete list via ...
0
votes
1answer
186 views

File Sharing Methods

So, I've been looking around, and haven't found any information that lays out the differences between the two file sharing areas in the Folder Properties Sharing tab, as in the image below. There seem ...
0
votes
0answers
14 views

Kerberized NFS mount suddenly failing, permission denied errors

I'm trying to track down a bug with an NFS mount that seems to have appeared rather suddenly. Most of the time, if I try to ls /mnt, I get output that looks like this: ls: cannot access /mnt/dir1: ...
0
votes
0answers
10 views

Samba Archive bit - Allow for group

I have a samba server with a few Network Shares, map archive is set to yes. But when i want to set the archive-bit from windows only the owner of the file is allowed to do so. The group gets a ...
-2
votes
1answer
33 views

Change the permission and ownership of a sub directory in centos

I m having the following sub folder structure. /public/trunk/src/common/site/ I want to change the ownership and permission for site and their sub directories alone. How can i achieve that? Thanks
1
vote
1answer
33 views

Puppet changing source file permissions

I'm setting up jail shells using puppet to maintain a copy of the required libraries within the jails. Using the following puppet code I can successfully copy the files across: file { "/home/${...
3
votes
1answer
3k views

Windows Server 2008 R2 hangs when Editing folder permissions

Background: The server in question is a member of a domain. This is a brand new server, freshly installed. I can log into this server using any domain user (which tells me that on some level it is ...
0
votes
2answers
51 views

Is there a way in Linux where one non root user can check if another non root user is using OpenSSL or not without sudo permission?

Consider this scenario where User-A and User-B are both non-root user are running inside a server. User-A is running different Program P1 (pid-2814),P2(pid-2815) whereas User-B is running different ...
0
votes
0answers
15 views

Ubuntu shared folder permissions

I have a SMB share, "Share1" which I have mounted on another Ubuntu server. My problem is that when transmission adds a file on that share, it gets permission denied. It can create the folder, but ...
0
votes
1answer
31 views

WordPress can't install plugin even file permission is correct

I have apache2 server, of course apache2 is running on www-data account. All my WordPress files is own by root:webmaster, and have the g+w permission. Three of the accounts in webmaster group are ...
8
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 /etc/pam.d/...
1
vote
1answer
1k views

Network Services Write/Modify Permissions on Inetpub Folder Potiential security issues

I have an asp.net web application that runs as a Content Management system for a website. It was originally on an IIS6 Server. However the web application was recently moved to an II7 Server. After ...
2
votes
0answers
30 views

FTP account for just one directory

Background information: I'm using Serverpilot to manage my Ubuntu server which doesn't provide any FTP service. There is a user: serverpilot With the home directory: /srv/users/serverpilot/ And ...
6
votes
2answers
4k views

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim /home/...