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

learn more… | top users | synonyms (1)

0
votes
0answers
51 views

How can multiple users share their (uwsgi) sockets with nginx, but not with each other?

On a shared domain, currently, each linux user sets up his website through his www-data-writable directory + uwsgi socket - one nginx instance serves them all. However, I do not like the idea of one ...
0
votes
1answer
65 views

AWS write permissions, httpd 2.4

Amazon Web Services, Server version: Apache/2.4.6 (Red Hat Enterprise Linux) The apache log reports: [Fri Aug 07 13:53:40.793562 2015] [:error] [pid 10730] [client 149.88.114.40:40800] PHP Warning: ...
0
votes
3answers
1k views

NGINX - Failing to restart

After installing an SSL through Laravel Forge, my site does not load at all. When trying to restart NGINX, it fails. If I run sudo nginx -t, I get the following: nginx: the configuration file /etc/...
1
vote
1answer
161 views

How to create a file root user can't delete [duplicate]

On Linux systems, I have a file I want to preserve from (even accidental) deletion. How can I create a file even the root user can't delete? For instance, by trying: # touch file # chmod 000 file # ...
0
votes
0answers
51 views

Can access files from one server but not another, why?

Ok might take a bit of time to explain my set-up so please bare with me. I have an Intranet server (Win 2008 Server with IIS installed). I have set impersonate to true and it is set for Windows ...
2
votes
1answer
727 views

Adding Folder Permissions Using Powershell

I'm running this script in PowerShell: Add-NTFSAccess -Path 'C:\MyFolder' -Account PROGRAMMING\IIS_IUSRS -AccessRights FullControl and I'm getting this error: Add-NTFSAccess : Cannot bind ...
2
votes
1answer
97 views

ACL permissions not inherited

I have a Ubuntu 14.04 server with an EXT4 partition. I want to change what permissions new files and folders get when they are created in /home/myuser. I set some options with setfacl, and getfacl /...
0
votes
1answer
46 views

SSH user minimum permissions

I am working on an application which sshes into servers and gathers information about the server such as disk and memory usage. Another task it needs to do is get file size information of certain ...
0
votes
1answer
76 views

group permissions on directory being ignored for user

It seems that there is a Linux user (on an Ubuntu 12.04.4 server) who is unable to access a shared directory, even though that user belongs to the group which owns the directory. Here is an example ...
1
vote
2answers
783 views

Permission Issues When Pushing to Git Remote

I've spent the past few days trying to set up a Git Remote on my server so I can push changes to my web-server to it. The problem is that I'm getting the following errors while doing it: $ git push --...
0
votes
1answer
50 views

Folder Permissions for AD Users

When giving users permissions to specific folders, it applies those permissions to every single file and folder. I do want this but it takes a while for these permissions to be applied to every single ...
6
votes
1answer
511 views

Forward SFTP user to chroot subdirectory after authentication

I've set up a SFTP server using OpenSSH, everything works fine and the users I created can connect. After authentication, the users find themselves directly inside /chroot, a directory they are not ...
0
votes
2answers
538 views

Cannot save document to folder when logged on as adminstrator

I am logged onto a Windows 2012 server as administrator. I open a document in C:\inetpub\wwwroot with notepad to edit it. When I save, it tells me I cannot save it, would I like to save to desktop ...
1
vote
0answers
173 views

How to check what process or application is deleting a file without using Process Monitor? (Windows Server)

Currently I'm having an issue with a piece of software that makes use of specific files (which are basically xml), sometimes stored on a file share and sometimes stored locally. Every so often one of ...
2
votes
1answer
67 views

Any way for openssl to generate private key with 400 (-r--------) permissions from the start?

I use openssl to generate private keys and CSRs in a script. The script needs to generate the key first, then call chmod 400 whatever.key to change the permissions of the private key to something ...
2
votes
2answers
1k views

How to Grant Apache Access to Directory

I am currently getting a locally hosted website up and running, but have encountered problems in accessing it from the host computer and other computers, as well. I have already created exceptions in ...
0
votes
1answer
101 views

Does “Kerberised” NFSv4 securely protect against a malicious client spoofing the user

I have read conflicting statements about whether shares exported via NFSv4 with sec=krb5 are cryptographically protected against a malicious client mounting the share and then spoofing the user to ...
4
votes
1answer
157 views

Can't execute files in particular directories

We are encountering a bizarre issue were non-root users are unable to execute any files (scripts or binaries) in certain directories. This transcript demonstrates the issue: [root@b6 /]# mkdir q [...
0
votes
0answers
67 views

Some users cannot write via NFS, but others can

I have an NFS4-mounted /home drive, with several different users' home folders in it. I am using inetd's ID-mapping feature (i.e. NEED_IDMAPD=YES in /etc/default/nfs-common). The NFS mount and ID-...
1
vote
1answer
308 views

What should be the right logs permissions for NGINX on CentOS?

on /var/log/nginx/ I have access and error logs. Some are .log errors and others have .gz I think I messed up with the permissions. Some files are created by root/root, other files are created using ...
0
votes
0answers
138 views

Accessing shares on a workgroup from a domain

hopefully someone can help me out here (I've searched, but have come up empty so far). My client PC (Win7) is a member of a large domain. I have a separate workgroup of 4 computers, one of which is ...
-2
votes
2answers
417 views

How to make rsync delete destination directories no longer existing at source? [closed]

I have hard drive that I back up with rsync to a network-attached storage. There are some non-empty directories at the destination (the nas) that do not exist on the source anymore. It is not a ...
0
votes
2answers
317 views

How to require password confirmation on file-delete?

Is there some way to require a group of users to confirm their password (or prompt them for an elevated password) when deleting files off some directories on the file server? We're having an issue ...
1
vote
1answer
345 views

How do I find out if a file or folder breaks inheritance inside another folder in NTFS without looking at all the files and folders?

So I have two directory hierarchies one on Windows Server 2003 and another on Windows Server 2008 R2. The directory on Windows Server 2008 R2 was created before hand by right clicking and creating ...
2
votes
1answer
83 views

Windows Server NTFS Advanced File Permissions

Here is what I would like to do: 1) Create a main folder that doesnt allow inheritance. 2) Create a template folder with subfolders. 2.1)Set permissions so these folders cannot be deleted. 2.2)...
0
votes
0answers
12 views

Creating ftpserver with anonymous and login both option

Newbie for server. Windows server 2012. Need to create ftp server. The file structure will be as: root file: read permission to all including anonymous root\folder1: read, write permission for all ...
0
votes
0answers
31 views

What are the minimum permissions for a libpam-ldap unix domain socket?

I'm setting up an LDAP server and libpam-ldap to run on the same host, communicating via a UNIX domain socket. I'd like to give this socket the minimum permissions necessary, so random local users can'...
0
votes
1answer
112 views

Wrong ldap user and group IDs on nfs

we have users authentication driven by ldap and home directories shared on nfs server mounted by autofs. We recently installed Ubuntu 15.04 on three new machines and added them to our infrastructure ...
5
votes
4answers
1k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
1
vote
0answers
115 views

Permissions of newly created files on NAS mount

I've mounted a NAS partition as follows: server:/volume1/public /mnt/public nfs rw,suid,nodev,noexec,auto,user,async 0 0 All available files are both readable and writable ...
0
votes
1answer
135 views

Domain shared folder with user restricted subfolders

I have a domain running on a virtual windows server 2012 R2. Another virtual servers hosts our file server. To that end I need a shared folder accessible by all domain users. No problem there. However ...
1
vote
2answers
102 views

How to change the group, excluding a directory

We are using AWS S3 Buckets, and when you attempt to do a recursive chgrp, it churns on the S3 bucket (essentially) indefinitely. Is it possible to execute chgrp while excluding a directory?
1
vote
1answer
77 views

SID not being set on

I copied two trees with robocopy, a source and a destination, with the intent of making their permissions exactly the same, I ran the following commands: robocopy /MIR C:\Windows\System32\tasks\ C:\...
13
votes
1answer
108k views

What is a S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXX-XXXX called in Windows security?

I copied two trees, a source and a destination, that I copied with robocopy like this: robocopy /MIR C:\Windows\System32\tasks\ C:\temp\robocopyTasks\out\ robocopy /E /Copy:S /IS /IT C:\Windows\...
-1
votes
1answer
113 views

How to deny directory listing on C:\Windows?

I created a special user who should never be able to CD into several system directories like program files, Windows directory, etc. Whilte I can use icacls to setup the permissions on most of them, I ...
0
votes
1answer
412 views

Write permissions to multiple users on same directory in ProFTPD

I am quite new to Webmin and ProFTPD and I am trying to give multiple users access on a public_html, both users are in same group: siteowner:x:504:504::/home/thepclincom secuser.thepnlincom:x:510:504:...
0
votes
1answer
124 views

Access denied when installing software from network storage on domain computer

When attempting to install software (from network storage) on a domain joined computer two prompts show up asking for user credential. One is asking for Administrator account to install software and ...
2
votes
2answers
437 views

How do I use PowerShell GPO cmdlets to set up file security?

I need to automate the creation several security groups, then create and apply a GPO that includes OU / Security group specific file permissions and auditing. I have the OU and group creation done. ...
1
vote
0answers
332 views

How to force a refresh of cached permissions without a restart

We've recently started going through shares replacing named permissions with AD groups (i.e. so that when updating permissions we don't need to worry about the time taken or risks involved in updating ...
0
votes
1answer
382 views

special permissions set to deny on new subfolders of a folder I own with Full Control

I have rsnapshot 1.3.1 installed under cygwin64 (setup 2.870, dll 1.7.35) on win2012r2, all the latest as of today. I configured it to take a single file, current.7z, and make a rotating backup of it....
0
votes
0answers
309 views

Open LiteSpeed permission problems

I recently moved to open litespeed from apache and i can no longer create files. When i do a file_put_contents i get permission errors. lsphp and litespeed both run under user nobody. Doing a chmod ...
0
votes
1answer
401 views

Create user with read only permission to datastore but SSH access

I am scripting a backup job in which a remote computer connects to an ESXi 5 host and does SCP to copy files to another datastore on that host. As a precaution (since every script that can go wrong ...
1
vote
1answer
444 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
230 views

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

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
0answers
344 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
vote
1answer
655 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 ...
3
votes
1answer
272 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 ...
1
vote
0answers
388 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
2answers
18 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.
0
votes
1answer
160 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 ...