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
10 views

openshift php script not able to write files.

I want to install contao on openshift, but the install script stops and the check script shows error on php writing files: http://spahn-pointout.rhcloud.com/check/ All php-fles have 600 and orders 700 ...
0
votes
0answers
8 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 ...
1
vote
1answer
14 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
1answer
1k 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. ...
5
votes
5answers
18k views

Copy file permissions from one directory to another

Over the weekend I copied our company data from one hard drive to another larger one. I thought permission would have copied across but they haven't. What is the best (and quickest) way to copy the ...
-1
votes
1answer
31 views

Wordpress is unable to write files, despite correct file permissions [on hold]

I am unable to automatically install plugins or themes on my new wordpress setup. It gives me this screen: I believe this is usually due to a write permission error on the wordpress directory. ...
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
0answers
23 views

Node + PM2 - How to securely read SSL private key with non-root user?

I'm looking for a way to run node via PM2 whilst reading an SSL private-key that is placed in a secure directory. Details: Bitnami LEMP stack with Node permissions for /etc/ssl/private: drwx------ ...
-1
votes
0answers
17 views

Redirect file write to different location

One of our proprietary legacy applications writes a temporary file in C:\ . It always has the same name. There is no way to configure this setting in the application. I used Process Monitor to trace ...
0
votes
1answer
35 views

Giving local account access to domain fileshare

I have a user who needed to create scheduled tasks that will convert files on a server to a different filetype (working with autocad type files). He's on a standard user account which doesn't give him ...
1
vote
2answers
1k 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 ...
10
votes
4answers
724 views

Copy file permissions, but not files in Unix

(From : http://stackoverflow.com/questions/15245144/copy-file-permissions-but-not-files, closed because off-topic) I have two copies of the same directory tree. They almost have the same files in ...
1
vote
1answer
1k 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
1answer
34 views

Fileserver cannot find any DC's for trusted domain

The problem Due to a merger in our organisation, we are migrating to a new common Active Directory domain. Our old legacy domain and the new domain have a two-way trust between them. We have two ...
2
votes
1answer
917 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
17 views

View File chown changes

Is there a way to view all of the times a files ownership changed? I have a feeling there is a security issue on my server, however I am also very paranoid and may have changed it myself.
1
vote
0answers
22 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
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 ...
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 ...
-5
votes
1answer
28 views

How to turn on ls -l headers? [closed]

How do I turn on the labels for ls -l? -rw------- 1 root root 0 Jan 2 2014 php_logging.log The first is permissions but root root confuses me. One is the username of the owner ...
0
votes
1answer
39 views

Folder redirection, show local file paths only, not server file path

I'm experiencing a problem with a Windows Server 2012 R2 network which has folder redirection configured. Today I have found a problem where it's possible for the user to see the full file path from ...
-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 ...
1
vote
1answer
48 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 = ...
2
votes
3answers
4k views

How to specify file permission when putting a file using OpenSSH sftp command

I am using various SFTP clients for uploading files to an SFTP server and I have a problem with default permission used when putting files. When requesting to put a file, SFTP client like WinSCP or ...
1
vote
1answer
71 views

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) ...
0
votes
1answer
77 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 ...
0
votes
0answers
29 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
57 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
vote
1answer
20 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 ...
1
vote
1answer
40 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 ...
4
votes
1answer
75 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 ...
4
votes
4answers
7k views

Is it possible to grant rename permissions, but not delete, in NTFS?

We have a folder for employees to scan contracts to. After scanning, they're supposed to rename them according to our conventions so they can be processed further. In response to a recent incident, ...
1
vote
2answers
3k 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. ...
1
vote
2answers
216 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 ...
1
vote
2answers
15k views

How do I find out how an Active Directory group is being used?

Here's the scenario. I have an Windows 2003 Active Directory security group that was created in 2007, and no one remembers what it is for. Is is possible to find out what permissions in our AD ...
0
votes
2answers
3k 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 ...
0
votes
1answer
35 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 ...
0
votes
2answers
304 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
271 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
34 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
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
899 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
60 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
25 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
3k 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
26 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
40 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 ...