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
13 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 ...
1
vote
1answer
32 views

postfix parameter default_privs

I have set default_privs=myuser in main.cf, which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: my $exec_username = ...
0
votes
0answers
17 views

w2012 file server. Deleted folder reappears and can't be deleted

On a windows 2012 R2 File Server when clients app removes a folder it reappears with access denied. I can browse to the folder which contains the inaccessible folder, I can run dir command and see it. ...
0
votes
1answer
23 views

ubuntu 14.04 server wordpress file permission

I have an webserver running Ubuntu 14.04. I host 3 wordpress 4.1 sites using apache virtual hosts. The website are working well but I can't upload any picture using wordpress>media>library>add new. ...
-1
votes
0answers
18 views

Permisions for web hosting [duplicate]

I would like to know how to properly define the rights for web folders on a web server running Apache with shared hosting for the users to have the correct access to their website and manage their ...
1
vote
1answer
12 views

Permission issues with tomcat7 on EC2

I finally managed to deploy my web service on to ec2 with tomcat 7 installed. It works perfectly fine on localhost but is receiving errors on ec2. I think it is because my code generates an xml file ...
0
votes
1answer
47 views
+100

Debugging a chdir(2) syscall

I have often faced various file system permission problems on Linux. And now with SELinux a bit complicated. I am searching for a generic way to debug this. In my particular case I have a chdir(2) ...
1
vote
1answer
24 views

Linux CentOS: A server throws weird error messages, can you speculate why?

There's a server in my company which is part of the production environment. On the server there's an ActiveMQ server running. I logged into the Active-MQ UI and tried to create a new queue. When I ...
0
votes
1answer
59 views

Files uploaded using FileZilla with SFTP are missing permissions

I am using chroot in sftp. And it works perfectly, but files uploaded with FileZilla are stored without any permissions (basically 000). ---------- 1 cwsftp sftp 4364328 Jan 19 16:02 ...
4
votes
1answer
62 views

Setting default permissions on newly created files/folders

I have a network of sites where all sites share same "images" folder. I have created /home/_images/entities and symlinked it from all websites, and it works great with Apache, when I open /images/ on ...
0
votes
1answer
27 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 ...
2
votes
1answer
220 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
29 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
183 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
1answer
92 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 ...
2
votes
1answer
576 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
51 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
20 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
23 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
38 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
25 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
20 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
100 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
70 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 ...
1
vote
1answer
146 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
152 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
187 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
55 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
871 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
184 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
64 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
133 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
70 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
398 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
79 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
478 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
71 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
52 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 ...
21
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
201 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
49 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
50 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
69 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
36 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
247 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
242 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
274 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
77 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
128 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 ...