Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

learn more… | top users | synonyms (1)

-1
votes
0answers
21 views

Fix Linux Log Directory Permission Denied

I just setup a fresh install of Amazon Linux on EC2 and I cannot access the following directory: -bash: cd: /var/log/httpd: Permission denied or -bash: cd: /usr/share/tomcat7/logs: ...
2
votes
1answer
877 views

Set primary group of file or directory on Samba share from Windows

Short version: I have such situation on a Samba share: $ ls -lha total 12K drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 . drwxrwxrwt 19 root root 4.0K Jan 11 17:06 .. drwxr-xr-x 2 hka ...
0
votes
2answers
2k views

How to compare/diff ACLs on two directory trees?

I have two directory trees that are supposedly copies of each other. I need to compare not the contents of files but the permissions on them. Is there a tool that will compare two dir trees but ...
1
vote
1answer
869 views

Windows Server 2008 R2 - Make owner of created files BUILTIN\Administrators

I am encountering some difficulty with makeing the owner of files created in a particular directory to be the Built In Administrators group, rather than the actual user that created it. This seems to ...
1
vote
2answers
2k views

ICACLS Substitute Failing “No mapping between account names and security IDs was done.”

Running a really simple ICACLS command after I copied a directory over to a new server with permissions intact. I need to change a SID from an old server user group to a new server user group. ...
0
votes
2answers
950 views

Regular user can not access NFS4 mounts (permission denied)

I have nfsserver and nfsclient machines. On nfsserver: # cat /etc/exports /export gss/krb5p(rw,sync,fsid=0,no_subtree_check,crossmnt) /export/home gss/krb5p(rw,sync,no_subtree_check) On ...
0
votes
1answer
21 views

apache tries to access .htaccess in lost+found directory

A subdirectory /var/www/vhost/servername/httpdocs/subdir/of an apache (ver. 2.2.22 on ubuntu 12.04) vhost webroot is a disk partition of its own. Accordingly, there is also ...
1
vote
3answers
3k views

How to change default permission for uploaded files in apache with mounted webroot?

I have an ubuntu server 11.10 with apache 2.2.20, php 5.3.6 and an installation of Joomla cms. I have used an extra hard disk as my web server storage and mounted it into /data/www/ (I hope it's not ...
0
votes
2answers
77 views

Creating Scheduled Task from Group Policy. Can't write to network share?

I am using NinitePro and group policy to deploy and update software on our small network of 150 Win 7 and WinXP machines. I am roughly following these instructions: ...
2
votes
1answer
180 views

SFTP-server uploaded files having wrong rights

I have been trying to figure out what is wrong with the file rights. When I am uploading files using FileZilla all the files get rights -rw-r--r--. I would want them to have -rwxr-xr-x. I have tried ...
0
votes
0answers
23 views

git: preserve group owner

I use a central HUB which does an auto deploy to a productive web server if there are changes in the main branch. Now the setup runs in file permission problems. If I do a push I want to preserve the ...
0
votes
1answer
53 views

Not everyone can write to new files made in /var/www

I followed the most upvoted tips in this thread. What's the best way of handling permissions for apache2's user www-data in /var/www? I just made a new file under one user1. However user2 ...
1
vote
1answer
243 views

How to add a file to a docker container which has no root permissions?

I'm trying to add a file to a Docker image built from the official tomcat image. That image does not seem to have root rights, as I'm logged in as user tomcat if I run bash: docker run -it tomcat ...
2
votes
1answer
40 views

Secure permissions setup for Drupal website with multiple maintainers

For several Drupal sites a colleague of mine and I (for demonstration purposes alice and bob) are responsible for maintaining these installations. We both have an SSH account to log into the server ...
2
votes
0answers
19 views

mkdir -p ignores facl?

I am trying to enforce file perms of 777 across a specific set of dirs. I used "setfacl -m d:o::rwx" and got what appears to be the right permissions $ getfacl . # file: . # owner: blah # group: ...
-1
votes
1answer
22 views

How to create nested file and set owner for all parent paths?

I need to create the following file for www-data user like the following: sudo /var/www/.ssh/authorized_keys But non of www, .ssh directories and authorized_keys file does not exists. How could I ...
3
votes
3answers
3k views

Tracking file permissions changes on a Windows server

Some-thing or Some-one is changing file permissions occasionally on files on my Windows Server 2003 Domain Controller. I'd like to track these changes. Initially I thought one could do this with ...
0
votes
2answers
2k views

Run all commands as Administrator on Windows Server 2008 R2

I'm having issues with permissions on Windows Server 2008 R2. I'm used to (from Windows Server 2003) being able to open up a CMD prompt and type something like: `copy \some\file /y' and overwrite a ...
1
vote
1answer
21 views

permissions 040 not readable by group?

I'm a bit confused by the permissions on a file. Just to experiment, I tried the following as user "jorre" chown jorre:jorre file.txt chmod 040 file.txt I would expect this file to be readable by ...
0
votes
2answers
36 views

File permission recursively for all new folders and files that gets created [closed]

I want a folder to have 777 permission and every time a new file or folder gets created inside that should have the same user and group with 777 permission. I tried the following but it does not get ...
1
vote
1answer
1k views

IIS_IUSRS and DefaultAppPool permissions do not work

I am setting up a PHP application on IIS 8.5 on Windows Server 2012 R2. I have successfully set up this application before on several Windows Server 2008 R2 and Windows Server 2012 machines, but this ...
0
votes
2answers
953 views

Truecrypt & apache, how to manage the file permission?

I'm on Ubuntu. I use a truecrypt container to store all my working files. My apache server run with the user www-data ( the default setting ). When I mount the container using truecrypt, all my file ...
0
votes
0answers
19 views

Strange Windows Server 2003 File Permissions

I ran Somarsoft Dumpsec against a Windows 2003 server for file permissions. Instead of see all "R"s, "X"s, and "ALL"s for file permissions, I see an occasional "dx00010156". Does anyone know what ...
2
votes
2answers
55 views

Maintaining Linux file owner and group info in a multi-user system

I have a web application running on Linux (using CentOS 6) using a generic non-root user name, say app1. I've associated all the files under the folder /home/app1 with that user/group (using chown -R ...
1
vote
1answer
59 views

Restoring file / folder permission using GPO

Initially, in our Windows domain environment, all Domain Users are by default Local Administrator of their own workstation. After some deliberation, it was decided that Domain Users should be removed ...
-3
votes
4answers
126 views

How to make NGinx to ignore file permissions? [closed]

I use NGinx to serve static sites, and sometimes there are some files with 640 permissions instead of 644. For such sites NGinx says "403 Forbidden". Is there any way to tell NGinx to ignore file ...
0
votes
1answer
67 views

Detect files of folders which do not inherit permissions from their parent

Is there an easy way to find any files/folders (recursively) within a directory which do not inherit permissions from their parent. i.e. To gauge the effects of selecting "replace permissions on ...
2
votes
1answer
498 views

Linux NFS - set default user for new files on nfs share

I use CentOs as nfs server nad 2 Centos machines as clients. I have some problems with permisions/ownership for new files/directories created from clients on nfs share. My exports file: ...
0
votes
1answer
139 views

PHP can't save sessions due to permission error

I know that this question must have been asked (and answered) before, but I can't find a solution for my problem in any of those questions. It's a bit odd... The problem is that my PHP scripts (and my ...
0
votes
0answers
43 views

set group ownership after git deploy

I'm running Centos7 and have a git reset --hard + git pull running as user A. The git reset --hard is triggered on the server by logging into the server through SSH as user A and issuing the git ...
0
votes
1answer
4k views

How to make Android to connect nicely with Exchange Server 2013

Androids can't connect to an Exchange Server 2013 via the ActiveSync protocol. Any other devices can work without problems. We tested the 2.x branch and 4.x branch. Even with an stock Google Nexus 4 ...
0
votes
1answer
597 views

umask for www-data user running PHP on Ubuntu

Setting up a new webserver in Ubuntu 14.04 and trying to wrangle file permissions for PHP generated files. By default, all the directories and files in /var/www are owned/grouped to www-admin. ...
2
votes
0answers
895 views

What does the red x icon mean next to a user in folder permissions (Windows 7) [duplicate]

In trying to debug various strange issues on a machine, I found something strange - when I go to C:\Users\administrator and get properties, security tab, it lists the users (the local admin account, ...
0
votes
0answers
169 views

Freenas & LDAP Multiple User Groups Not Taking Affect

we are using, Freenas 9.2.1.7 which communicates with LDAP to control file permission. We have Windows users in multiple groups. Some belong to Finance as their primary group and Admin as another ...
5
votes
4answers
9k views

Permission issues with Samba and OS X

I'm having some serious permission issues with Mac client machines (OS X Snow Leopard) connected to a UNIX server (running CentOS) through Samba. No matter which permissions I set for a file on the ...
0
votes
2answers
54 views

Domain user still able to view view.list folder even though permission is set to Deny

I have AD on my server , I have specific user group are set to deny(List Folder) for certain folder, but the user still have visible of the folder in the server even they do not have permission to ...
1
vote
3answers
113 views

How do I detect what is changing file ownership on Linux?

I have inherited a bunch of Linux (Ubuntu Precise) servers and am currently having problems with the ownership of a folder changing to "root" fairly often. We run puppet, which changes the ownership ...
1
vote
3answers
896 views

Why can't apache create log files?

I have a simple LAMP stack on CentOS setup. Apache is setup with vhosts and each developer has their web files inside their user folder. The directory structure is like so (for the user test): ...
20
votes
8answers
2k views

Restrict a Linux user to the files he owns

Imagine a server setup of a shared webhosting company where multiple (~100) customers have shell access to a single server. A lot of web "software" recommends to chmod files 0777. I'm nervous about ...
0
votes
0answers
64 views

Can't read file perms from Linux when file is open in Windows (NFS share)

I have a folder that is shared from Windows (2012 R2) via NFS, and mounted in Linux (Ubuntu 14.04). Everything is working fine, except that when a file is open in Windows, even if it's just Read ...
3
votes
1answer
87 views

How To Inherit Parent Directories Group

I have a directory /applications which is owned by root and group git. The problem is when I create a new directory inside /applications, its owned by root and group root, not group git. How do I ...
0
votes
1answer
216 views

php script can't access /tmp folder

I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned ...
14
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 ...
148
votes
3answers
97k views

What's the best way of handling permissions for apache2's user www-data in /var/www?

Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the apache2 user is www-data. We've got two regular users & root. So when messing with ...
0
votes
1answer
121 views

Ubuntu Server Web exposed folder recommended permissions [duplicate]

Possible Duplicate: What’s the best way of handling permissions for apache2’s user www-data in /var/www? I am setting up my first server from scratch and as I am completely novice at this I ...
0
votes
0answers
64 views

Proper trac + gitolite integration (file permissions)

I am trying to understand what I did wrong with my file permission on a Debian Wheezy trac + gitolite integrate. I have been following indications from here, here and here. Here is what I did: $ ...
0
votes
1answer
383 views

Getting “Received too large SFTP packet” error when connecting with root account to the server via WinSCP

I've tried different ways and read some solutions including these: Why I am not able to ssh as root? Editing with Winscp And an article from Forum of Ubuntu I don't understand why when I connect ...
3
votes
1answer
58 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 . ...
3
votes
1answer
49 views

NTFS permissions explanation

I had asked the below question sometime ago and it was answered, I logged I'm recently to refer back to it only to have seen all the answers had been removed. Did I do something wrong? "I seem to be ...
2
votes
2answers
167 views

How to bring a redirected user account back from the dead in Windows Server 2008 R2?

A user at the place where I work left the company, we deleted his account out of AD and then he came back...and now his redirected profile exists, but with the wrong permissions on the folder.. I ...