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)

2
votes
1answer
155 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
12 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
2answers
38 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: ...
0
votes
0answers
4 views

Execute CGI scripts on custom OMAP4 board as root [migrated]

I have a Ubuntu 12.04 Custom Board running Apache2. I have a web page which calls a CGI script which is responsible for starting and stopping ipsec service. I access the web page from another machine ...
0
votes
1answer
37 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
132 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
37 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 ...
0
votes
2answers
35 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
19 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
0answers
18 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
46 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 ...
0
votes
1answer
34 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 ...
-3
votes
4answers
118 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
99 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
30 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
430 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. ...
0
votes
0answers
151 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 ...
0
votes
2answers
47 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
99 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 ...
0
votes
0answers
59 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 ...
0
votes
1answer
153 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 ...
0
votes
0answers
58 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
316 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
50 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 ...
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 ...
2
votes
2answers
130 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 ...
1
vote
1answer
40 views

How do you control the file ownership of a socket managed by launchd

I'm working on writing a daemon that talks to other daemons in the same project over UNIX sockets. For security purposes, it's critical that these daemons only talk amongst themselves (and can't, for ...
-2
votes
3answers
47 views

How to Restore Win Drive Permissions [closed]

I've been playing with my C: drive permissions and I have managed to mess them up. Now when I log in nothing appears and I can't launch anything. I tried safe mode and the same thing happens with ...
0
votes
0answers
56 views

When does a computer cache file permissions?

I just had an issue where users were directly added to the ACL of a folder. I created a group, added them to the group, added the group to the ACL of the folder and then removed the users and pressed ...
0
votes
0answers
33 views

Force permissions non domain Mac server share

I have a Mac server which is accessed by both Macs and PCs. I need every file in this specific samba share to have 777 permissions regardless of the write permissions given by the client. The ...
0
votes
1answer
1k views

Running uWSGI with supervisor in a docker container is giving permission denied

I have Django app that I want to run with UWSGI in a Docker container using Supervisor. I am using OSX so to successfully mount my OSX filesystem inside my boot2docker VM (so I can mount volumes with ...
1
vote
1answer
219 views

Linux permission issues: “Permission denied”

I am provisioning a postgresql server on an TinyCore64 machine and there are some files and folders that cannot be accessed by the user postgres despite the fact that I have changed the permissions, ...
4
votes
1answer
142 views

What security mechanism prevents write access to certain folders in Windows?

There are certain folders in Windows 2012 R2\8.1 where the contents are not writable - one example is Program Files\WindowsApps (which stores apps downloaded from the Windows Store). Obviously this is ...
1
vote
1answer
184 views

Mounted HDD not having enough permissions from Apache/PHP

Piwigo gallery, on apache and php, CentOS 6. The root system is a RAID 128GB. /var/www/html is on the root file system. Mounted the 320GB hdd to /var/www/html/320 using defaults, it's an ext4 fs. ...
0
votes
0answers
62 views

Python uWSGI logs have no read permissions

I am running a Python Flask server on uWSGI over an EC2 Ubuntu 14.04 LTS. The server is configured as follows: [uwsgi] http-socket = :9000 plugin = python wsgi-file = /path/to_wsgi.py ...
0
votes
5answers
121 views

Auto 775 permissions

Guys I have a linux dedicated server. There are multiple users who manage specific directories on the server. But if a user uploads something, for example a plugin/library. When it is executed it ...
0
votes
0answers
127 views

Windows server 2008 - Access Based Enumeration (ABE) not working correctly

I have a folder shared with permissions of only one user account, admin account and admin group having access to it, but when I open the shared area from a second user account which dose not have ...
1
vote
1answer
46 views

Changing default ownership for files created by a user

I gave user "jdoe" access to SCP files onto a Unix server hosting Wordpress. Files this user creates within the /var/www/Wordpress folder (and subfolders) need to be owned by www-data or at least the ...
1
vote
0answers
51 views

Server 2008 R2 file access permissions

I'm finding it awkward to sort out permissions for file sharing and access on my LAN. I've created an account on the server node (as a normal user) and shared a drive that has 2 folders at the root, ...
0
votes
0answers
175 views

Proper set up shared folders for users

First I would like to say thanks for helping, and I have huge problem with proper set up permission for shared folders. I have Windows 7 x64 ent. - name: backupfb - added to domain with shared ...
2
votes
3answers
39 views

NTFS folder permissions traverse

Here is the problem We have NTFS file server with several layers of sub-folders. FolderA\ - User AAA should not have access FolderA\FolderAA\ - User AAA should not have access ...
1
vote
1answer
123 views

correct file system permissions for joomla installation on linux

My question is pretty general. Lets assume I have a linux distribution web server, with the /var/www/ is the web directory. I used my superuser account to upload and unzip the Joomla installation ...
3
votes
2answers
546 views

How to tell the difference between “No such file or directory” and “Permission Denied”

I'd rather not parse STDERR, but I can't think of another way to tell the difference, programmatically, between the two: $ ls /net/foo.example.com/bar/test /net/foo.example.com/bar/test: Permission ...
0
votes
1answer
90 views

How do I allow users to add/modify files in a directory but not change the directory - Linux

How can I modify a directory so that it is owned by a group and users in that group can add and delete files and create sub directories but are unable to change the permissions on the parent ...
2
votes
1answer
182 views

Removing deny everyone permissions from GPO

As part of the workaround for CVE-2014-1776 I created a group policy object that applied Deny permissions to everyone on VGX.DLL. I am now trying to undo this group policy and having a lot of ...
0
votes
1answer
319 views

Capistrano fails to delete folders/files created by Apache

Problem Capistrano deploys a web application via SSH using deploy user. Apache/PHP runs under typical www-data user. Web server is creating cache files and folders at runtime inside the app path. ...