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
0answers
84 views

freebsd cannot start mysql for the first time

I am having the same issue as this person serverfault link but the solution completely does not work for me. I cannot start mysql5.5 for the very first time. At first start of mysql with cd ...
1
vote
1answer
33 views

Minimal required user permissions for running MS CRM

We have several M$ CRM instances running. Each one has its own dedicated SQL Server instance. The permissions are set up in accordance with the Microsoft recommendations for setting up MS CRM. ...
0
votes
0answers
91 views

TYPO3 installation and apache's DocumentRoot permissions

I just installed TYPO3 7.1.0 and managed to resolve all the issues (e.g. missing system libraries, php-open_basedir-issue and so on) during and after the installation. But there is one issue that ...
2
votes
0answers
55 views

WMI computersystem get username returns null

I'm having an issue with the below WMI query running under a non-admin service account against windows 7 PCs: wmic /node:x.x.x.x computersystem get username where x.x.x.x is the IP address of the ...
1
vote
1answer
36 views

Is using su to drop root in shell scripts a security risk?

When searching for how to drop root permissions in shell scripts, I often see answers using su. However, when you're done using su you can just type logout and be back at the shell of the original ...
-5
votes
1answer
50 views

How to password protect a file? [closed]

I have a script called 'Linux.sh'. This script should be executed by every one . it should prompt for password when some one edit it . I have tried by using ' vi -x linux.sh ' to password protect the ...
2
votes
1answer
93 views

Prevent users from sharing network printers in Server 2008R2 Win 7 environment

I have a server 2008R2-level AD domain in which all the printers are networked. I have a highly mobile workforce of about 350 in the facility, and when they move from one work area to another, they ...
0
votes
0answers
159 views

Permission Denied on Solaris 10 NFS share, shared trough Windows Server 2008R2

We have a NFS share on Windows Server 2008 R2. NTFS permissions for ANONYMOUS LOGON and Everyone groups are set to Full control. When mounting this share on our Solaris workstation, it mounts and we ...
0
votes
1answer
35 views

403 Nginx issue, serving files from /home/user/localhost

I'm trying to serve files from a directory called localhost under my home. In my server block I specified root /home/user/localhost If I change nginx user from http to my username it works but I ...
0
votes
1answer
104 views

SFTP Error: open for write: permission denied

I have created a user and a group only for SFTP and when I try to transfer a file with Filezilla in /var/www I have this error: Open for write: permission denied I have configured sshd_config like ...
0
votes
1answer
62 views

Centos - /var/log/secure records nothing

I have accidentally remove /var/log/secure, I try to recreate it but it still stays blank after several connections. On a server where everything works, with ls -l I have: -rw-------. root:root ...
0
votes
0answers
66 views

permission denied using a public key with Copssh on a windows 2003 server

I've a Windows 2003 SP2 server with CopSSH version 1.1.0.1 installed. I've a user set up for SFTP who is able to transfer files from two servers. I am trying to add the public keys he provided me so ...
2
votes
1answer
99 views

How do I prevent Apache2 from trying to execute a file as a script?

So basically, I followed this guide about iptraf monitoring and rrdtool to the letter. I put it in /usr/lib/cgi-bin/ as usual for cgi scripts. Then, when I visit it from a browser, the images it makes ...
0
votes
0answers
19 views

Permissions of files and subfolders in /var/www/html (Ubuntu 14.10 + Apache2) [duplicate]

I have some questions about permissions and ownerships of folders and files in Ubuntu Server 14.10 + Apache2. Is it correct that /var/www/html is owned by root:root by default? As far as I read, it ...
0
votes
0answers
55 views

Executing VBS via Task Scheduler not working. It works if logon to server and launch

I am having a problem running a scheduled task using Task Scheduler. I have setup a new domain user with admin privileges on the server (Windows Server 2008): User1. The Task Scheduler runs a VBS ...
-2
votes
3answers
58 views

How to prevent passwd change even from root?

I've read that in order to prevent a user from change his own password, one must type: passwd -n 10000 $user But how do I prevent root user from changing $user's password as well? Background: I'm ...
1
vote
1answer
115 views

Certain users being denied access to a Windows Server 2008 shared folders in a specific PC

We have a Windows 2008 Server running with shared folders and some users with different permissions. My problem is that some day, without changing anything in the server, a certain user started ...
0
votes
4answers
499 views

Permissions set to 555. How can another user modify the files? [duplicate]

I run an Ubuntu 12.04 x64 VPS with Vesta, and a site in PHP. It has been hacked several times with injected code that looks like this: <?php ...
0
votes
1answer
22 views

Apache multiple instances — permission issues [closed]

I have a weird situation here...I have setup multiple Apache instances under debian: The default install is left as is -- but disabled and stopped A custom instance (apache2-apps) The idea was to ...
0
votes
1answer
13 views

Fusedav autostarting strange permissions

I try to set up automatic mounting of remote disk using fusedav. I use this command to mount it. /usr/bin/fusedav -u user_name -p 'secret_password' https://webdav.yandex.com /home/user/ya If I am ...
-1
votes
1answer
41 views

set permission in windows 2012 to only copy file

how set permissions in windows 2012 to only user can view file and list foldet and can copy and create file and folder in share folder but user can not read or delete or copy file and folder from ...
0
votes
2answers
29 views

Apache 2: symlinks for readonly-mounted filesystems

I have a large data repository that, for security, I wish to keep mounted read-only for a VM running Ubuntu 14.04. This VM runs an Apache server, and I wish to symbolically-link certain files from ...
0
votes
1answer
71 views

Exchange 2013 Relay Permissions

I'm trying to set up a receive connector that will allow a web based CRM to relay mail. So far, it works, but only if the user I use to login is in the group "Domain Admins" in active directory. Here ...
0
votes
1answer
61 views

Can't reset permissions on amazon ec2

I've a big problem: when I try to sudo something, this is what append: sudo: /etc/sudo.conf is owned by uid 222, should be 0 sudo: /etc/sudoers is owned by uid 222, should be 0 sudo: no valid ...
0
votes
1answer
38 views

How to get the file permissions and owner of a directory recursively and then apply those to another copy of the files on a new server

Is it possible to take a folder on an Ubuntu server that is full of files and sub-folders, hundreds of them and there are special file and folder owner and permissions set all within this folder. To ...
1
vote
1answer
332 views

permission denied when script tries to run

I have a PHP script that run's the following command using exec() /root/gsutil/gsutil <COMMAND> In my error logs I receive the following: sh: 1: /root/gsutil/gsutil: Permission denied Does ...
2
votes
1answer
27 views

What is the best way to isolate permissions to a role, where traditionally role-based security is not implemented?

The particular example I'm pursuing here is a having a deployment officer role. Typically, this would be performed by one particular employee, but that employee can get sick, fired, go on vacation, ...
1
vote
0answers
15 views

Are there issues with making a ldap database group readable?

I'm managing several CentOS 6.5 machines using ldap and kerberos for user accounts and authentication. I want to back up the ldap database as well as other root owned files stored on server1 to ...
1
vote
1answer
59 views

Backing Up User home Folders in an Active Directory

Our Domain is currently Set up with a Server 2012 domain controller. We have Home profiles enabled, which is annoying because it grants the User and only the user access to their files. We need to ...
0
votes
0answers
56 views

How to manage permissions on shared filesystem in Linux and export it on Windows?

It is a bit complex scenario so I will try to make this a simple as possible for you. ENVIRONMENT I have a shared filesystem on Linux which I export on Windows using Samba4 and users which belong to ...
1
vote
0answers
70 views

Issue with folder permission in file server migration - Share Parmissions VS NTFS Permissions

I am migrating a file server form 2003 to 2012 R2. There are about 50TB of files with thousands of individual permissions. I have successfully migrated the files to the new server, including their ...
0
votes
0answers
47 views

Protect web directories from other SSH users but allow apache access?

So my linux box has 2 users : root (which I use) dev (the user that my developer uses) I have a few directories on my web server which I need to restrict access from the "dev" user. So, for ...
0
votes
1answer
23 views

Stop files from being write-protected on creation linux

When files are created in my webapps folder (tomcat) they are write protected by default. Is there any way to prevent this? I would like a program I have written to be able to create and delete this ...
1
vote
1answer
138 views

Can't grant MySQL privileges to Debian system maintenance user

I have a dedicated Debian 7 server running multiple websites with MySQL as the database server. When I tried to install the latest updates, MySQL couldn't be updated because the server failed to stop. ...
3
votes
1answer
50 views

By mistake I changed the ownership of /var directory.

Instead of changing the ownership of /var/www directory, I changed the ownership of /var directory recursively (couple of days back). Now owner of every directory in /var is www-data. All my sites are ...
0
votes
1answer
44 views

Default client printer permissions on 2003 terminal server

Is it possible to change default permissions of printers that are created on terminal server sessions by clients? We have a terminal server that is shared between our head and branch offices and ...
0
votes
1answer
21 views

Restrict reading access to a user for everything outside of a directory [closed]

I have set a users permission like this groupadd mygroup useradd -G mygroup ftp chown -R :mygroup /var/www chmod -R g+rw /var/www Now how can I restrict access for this user (or is it group?) to ...
0
votes
2answers
85 views

restore mongoDB databases from manual backup (not used mongodump): strange permission problems

Is it possible to restore databases which were manually copied from /var/lib/mongodb to eg. /home/foo/mongobackup ? I am not sure if the backup was made after stopping the mongod service. Either way, ...
0
votes
1answer
81 views

Give SFTP users and Apache write permissions on same folders

I have a centos6 web server where developers also upload by connecting through SFTP. So, to give developer login write permissions, I have change /var/www user to that user. My current permissions ...
0
votes
1answer
154 views

Icacls works from command line, not from batch file

The OS is Windows server 2012. I am trying to use command icacls C:\folder\targetfile /grant domain\usergroup:(rx) to give permissions on certain file. The command works when executed on command ...
0
votes
0answers
33 views

What Linux binaries should not be executable by Apache/PHP?

Trying to beef up security security on a shared hosting server after some recent attacks and noticed, while playing around with some of the malicious scripts, like Filesman, that many of these scripts ...
0
votes
1answer
41 views

Make error_log readable by apache

Setup: CentOS 6.6, Apache 2.2.15, php 5.5.21 I 'm building a php script that displays the content of the /var/log/httpd/error_log file. Unfortunately, it does not work. The error message states: ...
0
votes
1answer
113 views

rm: cannot remove - Permission denied

Anyone have any idea why I can't remove these? ~# find /var/lib/php5/ -xdev -depth -type f -size 0 -exec ls -al {} \; -exec lsattr {} \; -exec rm -rf {} \; -rwxrwxrwx 1 root root 0 Jan 23 05:20 ...
0
votes
1answer
100 views

Postfix - 5.7.1 relay access denied

I'm running postfix on RHEL6: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # rpm -q postfix postfix-2.6.6-6.el6_5.x86_64 # I'm trying to implement following: ...
0
votes
1answer
29 views

550 error after setting permissions on folder [closed]

I'm running a Centos6 VPS with Plesk 11. I am unable to access a folder using FTP after changing the permissions to 666 using chmod. I can create the folder using SSH and can then enter the folder by ...
0
votes
0answers
43 views

Apache and users write permission issues

On my web server I have two distinct folders, /home/dev/ and /home/prod/, each containing several websites. As you can guess, each directory is owned by the corresponding user, devand prod. The ...
1
vote
0answers
73 views

NFS Write Permissions — ls -l shows I have it; I actually don't

I have an NFS server serving several clients. Permissions work fine with all clients except one. The client mounts the nfs share fine, with permissions all correctly placed to the right users. ...
0
votes
0answers
55 views

SFTP permissions with domain users Ubuntu Server 14.04.1 LTS

If there was ever a linux question, it usually has something to do with permissions. Alright, so I'm trying to set up a sort of "double-blind" SFTP server. I'm looking to make a folder, ...
0
votes
1answer
43 views

Can't change folder ownership via SSH

For some reason, I have a folder that I cannot read nor change its ownership. If I do a ls command, this is what I get: drwxrwxrwx 4 myusername myusername 4096 Jan 26 20:35 media1 <--- OK ...
2
votes
1answer
344 views

Running Ansible task as a specific user

I am trying to run a specific Ansible task as a different user than the one who is running the playbook. My .yml file looks like this: --- - hosts: staging_servers tasks: - name: check ...