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
12 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
18 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
21 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
12 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
59 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
18 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
16 views

How to gain access to Windows Users folders on a read-only backup medium [migrated]

I have created a backup of a main (C:) volume of my old (Windows 7) computer and I am able to mount it as a read-only volume on my new (Windows 8.1) computer. When I try accessing a user folder under ...
0
votes
0answers
12 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
48 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
votes
0answers
26 views

“Windows cannot access the specified device, path, or file, you may not have appropriate permission to access the item”. Why? [closed]

Whenever i try to access any folder on my computer(Windows 7), it tells me "Windows cannot access the specified device, path, or file, you may not have appropriate permission to access the item", this ...
1
vote
1answer
20 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
404 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
17 views

Apache multiple instances — permission issues [on hold]

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
6 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
11 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
18 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
41 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
37 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
21 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
129 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
22 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
14 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
27 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
39 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
24 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
34 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
15 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
6 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
0answers
25 views

Basic User Isolation in CentOS 6

I have been tasked with setting up a shared hosting server for our intranet for different departments. What is the best way to isolate users, while still allowing them to see all files in their ...
3
votes
1answer
44 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
41 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
17 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
32 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
0answers
25 views

Improve the security of a website implementing the least privilege principle [migrated]

I am a beginner and I am trying to program a secure website to improve my skills and knowledge. I am under Linux and I am using LAMP with php. My website is similar to a social network so people will ...
0
votes
1answer
31 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
58 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
23 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 ...
-1
votes
0answers
9 views

MYSQL : unable to add privileges to newly created user [migrated]

I am just trying out Google Cloud SQL. Created a SQL server and white-listed one of my IPs to connect to it. I am able to connect as root@'%' there and do everything I wish, other than granting ...
0
votes
1answer
34 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: ...
-1
votes
0answers
16 views

File Created by PHP Doesn't Have Permissions

The problem is when I upload a photo to my server using PHP from android, TrustedInstaller doesn't have permissions on the file and I can't change file permissions using chmod(). There is no problem ...
0
votes
1answer
63 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
61 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
22 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
39 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
52 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
33 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
35 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 ...
1
vote
1answer
98 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 ...
1
vote
3answers
47 views

Windows File Permission common practices

As far as I understand and it was answered in this thread, that administrators still need an ACL to administer files even though they have the highest authority. On my system Administrators group is ...
3
votes
2answers
85 views

Windows Server 2008 - File Permissions and Administrator

This is what I did on my Windows 2008r2 Logged in as Administrator (UAC is disabled for a test sake) Select a folder Edit Advanced Permissions Uncheck"Include inheritable permissions" and click on ...