Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-permissions]

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.

0
votes
1answer
10 views

Sticky bit resets after every reboot

I've got a CentOS server that performs a few dedicated tasks, where different processes/users need to full access to each others files. As these files are temporary in nature, they are stored in the /...
0
votes
0answers
210 views

Exact ACL permissions to this same data but for different group

I am preparing data migration from trusted domain to trustee domain. Data will be copy but no users or groups are to be migrated so I can't rely on SID history. Permissions need to be "translated". ...
0
votes
0answers
22 views

An issue with apache and sftp users

I have installed an apache server, then I have created SFTP user webdev and uploaded all website files with FileZilla to /var/www/mysite.com/public after this action all my files are with ownership ...
-1
votes
1answer
26 views

setting umask for a directory so that all directories, executable file(.sh , .cmd, .bat) are 750 and regular file 640

need to create and change existing file and directory such that all directories and executable files(*.sh, *.bat, *.cmd ..) are 750 and regular file are 640 . I need to this in shell and python both. ...
-1
votes
2answers
30 views

Possible for domain policy to prevent local Administrator from modifying file permissions?

I have been handed a new Server 2012 that is a member of the company domain. I am in the local server Administrators group. I do not have a domain account. When I opened up the permissions properties ...
1
vote
1answer
29 views

Windows Server 2016 - Setting up a file share. Permissions work with individual users, but not groups?

So here is my issue. It's been a while since I last set up a file server (2007), and am currently working on the beginnings of one for my current company. The issue I am running into is this: I ...
1
vote
1answer
67 views

Set default file permission mode without ACLs

I have an AWS EFS share, which does not support filesystem ACLs. How can I set a folder inside the EFS share to default to mode 664?
0
votes
0answers
18 views

Inheriting Permissions for New Files

I'm having trouble getting inherited permissions to work on an ext4 filesystem. In fstab I added the acl attribute, and when I try the following I expect the new files to get rwxrwx--- permissions, ...
0
votes
0answers
15 views

Network share permissions for local system account - I can read but not write

I'm trying to build a simple powershell reporting script to run at startup, but it has to run as system to have the correct permissions on wmi, and it then writes the output to a csv on a network ...
0
votes
1answer
163 views

Configuring SFTP in ubuntu 18.04, error “/bin/bash No such file or directory” or “Unexpected end-of-file from SFTP server”

I'm configuring SFTP in ubuntu 18.04 following this tutorial (https://www.digitalocean.com/community/tutorials/how-to-enable-sftp-without-shell-access-on-ubuntu-18-04) But when I try to connect from a ...
0
votes
1answer
144 views

Why does rsync+cron fail with opendir permission denied?

I am trying to make a nightly offsite backup using rsync. There is a folder /media/raid1/backup that is to be uploaded to a different server every night using a cron job running as the user ...
0
votes
0answers
38 views

How to allow nginx to write to a folder owned not by www-data

On Debian 8: I used "ChrootDirectory" to jail a user fileuploader to upload files to /var/www/public now the uploaded files and folders have the ownership fileuploader:fileuploader. Now I serve these ...
1
vote
1answer
130 views

User Group permission for apache website

Apache is running with www-data:www-data I added a user sudo useradd -s /bin/false -d /var/www/dev -m dev and added to www-data group sudo usermod -G www-data --append dev uid=1001(dev) gid=1001(...
0
votes
2answers
37 views

Linux & NFS: Atomic compare-and-exchange of file ownership

My IT department made an error and chowned every file on the filesystem to root:OurGroup. Then their automatic backup (i.e. .snapshop) system created a snapshot, so we no longer have a reference of ...
0
votes
2answers
15 views

Set permissions correctly for Windows Group Policy copy of files?

I set AD group policy to copy some .LNK shortcut files from a network share to users' individual desktops, with a user-level group policy setting. Errors 0x80070005 were produced by each copy, as ...
1
vote
1answer
660 views

Permissions error on Samba

I have a Samba server with multiples folders, but when user try to create a folder or a file the group permissions are only set to "r" (read), I'm doing something wrong? My Samba version is 4.3.11-...
1
vote
1answer
179 views

Folder redirection GP and CREATOR OWNER inheritance/scope

We use the folder redirection group policy to place users' My Documents folders on a network share. We have configured the share with Microsoft's recommended NTFS permissions, as defined here: https:/...
1
vote
2answers
480 views

How to change permissions on C:\ in Windows 10?

For our installation image for Windows 10 (Education version), I'd like to prevent users from creating new folders on the C:\. The installation is used by students sharing PCs in a class room, and ...
2
votes
1answer
807 views

SMB issue- Access denied

i have a windows server 2012 R2 for file sharing purpose, clients are using win 7 64 bit. network drives are mapped on profile. Issue: some user drives disconnect suddenly with the message of Access ...
1
vote
0answers
43 views

Why can a logged in root account modify this file, but I can't when using sudo

I have a file on my Debian Stretch server that has the following security attribute: -rw-r--r--, owned by root. If I login as root directly (su -), I can edit and save it. But if I try to do sudo ...
0
votes
1answer
41 views

NFS “-mapall” doesn't include anonymous clients?

I am accessing Unix-like NFS servers using Client for NFS in Windows Server 2008 R2. Since the server is not part of AD, and there is no "User Mapping server" active, the documentation states that ...
0
votes
1answer
17 views

How to make the users of a Custom Group see the folders and files inside a folder, and not be able to open the files?

I need to give permissions to a Custom Group in Active Directory in such a way that the users of that group are able to see the folders and files that are present in the folder, but are not able to ...
0
votes
1answer
132 views

nginx cache dir creation—strange behaviour

I have the following line (plus context) in my nginx.conf: http { proxy_cache_path cache/ keys_zone=auth_cache:10m; ... Since nginx.conf is in /etc/nginx, cache/ corresponds to /etc/nginx/...
0
votes
2answers
21 views

Different software saves files with different file permissions

I've got bizzare issue. There's a dir created by me with permissions 755. I'm working with a piece of software. After I'm done I save the output of my work to the same folder. Files get saved with ...
3
votes
2answers
106 views

Locked out of EC2 ubuntu instance because of /home perms

I was showing my kids some basic things about directory permissions on an EC2 ubuntu instance, and did this $ sudo chmod 700 /home Then demonstrated that I could no longer cd to my home directory ...
0
votes
0answers
28 views

File server for two windows domain

We have 2 distinct windows domain with 50 users. Gradually every user and computer of domain A (windows 2003) will be migrated (or re created) on domain B (windows 2012). A trust between the domains ...
0
votes
0answers
15 views

Security issue with PHP files and permissions

I have a new Debian 9 system installed. If I have a file in the web directory and then remove permissions from it so that it should not be accessible to the web it still shows as accessible. This only ...
1
vote
2answers
592 views

Permission denied when Nginx tries to write image file

I'm using Nginx for a Linux server and I have this folder /usr/local/openresty/nginx/webfolder/img where I want nginx to save my uploaded image files. So, this is what I did: 1) I changed the owner ...
1
vote
2answers
240 views

Access Controls on Files, Folders, and Other System Objects in Windows Server

Why do other users have to Run as Administrator and I don't? I have an executable file, which I placed in a folder on the C drive of a server. We all remote desktop in to access this server. We are ...
1
vote
1answer
49 views

Wifi Permissions per User

I was sitting here thinking about Wifi, permissions and file access. I wanted to know if there's a way to setup individual user and passwords on wifi sort of the same way you do on a windows server ...
0
votes
0answers
48 views

Backups failing due to access problems

We're using Veritas Backup Exec 16.0 to run backups of our servers. We've upgraded from Backup Exec 2010 and have been firefighting problems since then trying to get the schedules to run smoothly. ...
0
votes
0answers
15 views

How to grant permissions Access for domain users on local computer

I have domain server windows 2012 R2 with clients connected to it on each pc I need to install an oracle forms application which will need to use the TNS_NAMES.ORA file located on their local PC to ...
0
votes
1answer
130 views

apache2: Saves files on /tmp in a 'system-private-[hash]' instead of just saving folders as defined in the code

For some reason, when I try to save a file (generated by PHP under /www/appname/module) - it is saved under /tmp/systemd-private-015eb2e9f67b4eef862c68e99fe0ba30-apache2.service-9h6i08 and when ...
0
votes
1answer
54 views

Setting folder to have fixed user and group

Years ago I signed up for a VPS that had a custom CMS for setting up new virtual hosts. One of the features I really liked was when a new host was created it set up a new folder with a new user for ...
-3
votes
1answer
96 views

CHMOD file and directory permissions changing back [closed]

I have a website and I am trying to link an image stored in a directory, however when I change the file permissions to 775 they change back to 644 and the image isn't displaying. It is showing a Error ...
0
votes
3answers
116 views

Linux: How to optimally configure data partition on multi user system (including LDAP users)?

How to set up a linux computer such that every user having either a local or a LDAP account can use the same data partition. I would need the following behaviour: Every user can 1. create a folder /...
0
votes
0answers
35 views

Customize folder permissions for one group member only - Windows Server 2003

We have a folder to which a security group has full permissions. I would like to limit one group member from deleting files from the folder. Whats the best way to do this without removing the user ...
0
votes
1answer
30 views

Permission management for hosting and nginx/apache combo

I am learning sysadmin and currently I am using nginx on port 80 as my primary web server. I wish to also use apache as a reverse proxy option on port 8080, or swap apache to primary with nginx. But ...
0
votes
0answers
31 views

Windows Share Migration

So I was tasked (noob here) with migrating a server 2008r2 shares to a new server 2012. However, upon completing the directory copy, some users where getting access denied messages or would only be ...
0
votes
1answer
536 views

Linux files permissions denied on log files

I have installed nxlog to send my logs to a graylog server. It works fine, but I have a denied permission on the logs of my HIDS Ossec. My process nxlog (launched by collector-sidecar) run as root : ...
1
vote
1answer
218 views

Open folder in another IP Windows Server 2012

My scenario is the following, I have an application, FreeFileSync, which is able to move all the data from a directory and subdirectories to another location. I have created a Windows Server 2012 ...
1
vote
1answer
84 views

Permission Denied When Writing/Deleting Despite Proper Permissions

First off, yes the parent directory has correct permissions. Now that that's out of the way, here's the deal. My users cannot write or rm from /mnt/file-server/reports/vendor/client/2018/02-04-02-10/...
0
votes
0answers
20 views

Security Template: Removing Audit from a folder that has inherited audit settings

I've turned on file / folder auditing on a network of Win7 clients with Windows Server 2008 R2 Domain Controller. I did this by using a security template created on a Win7 client which I then imported ...
0
votes
0answers
18 views

VFX Mixed Environment Permissions Oddity, NFS Share.

We have an NFS share hosted on a freebsd machine that servers files to mac and windows machines. Macs saves files to it with 777 permissions(umask 0000). Windows saves files with 755 permissions. Both ...
1
vote
1answer
191 views

Dovecot can't open log after upgrade

On an OpenSUSE Tumbleweed host, updated this morning. After the update and a reboot, every attempt to start dovecot fails with Can't open log file /var/log/dovecot: Permission denied cat /etc/os-...
0
votes
0answers
130 views

Migrate data from Windows Server to Samba Server preserving file ownership

We have 10TB of group drive data, currently on a Windows 2016 Server, which is shared using standard Windows File sharing. We would like to move this data to a Linux (probably Ubuntu) Samba Server ...
0
votes
1answer
332 views

SELinux: how to allow httpd to delete temp files from MySQL?

Here's the setup: I let MySQL dump tables to /tmp (they just contain numbers, no real data) for PHP to pick up and process. After this, the temp files are no longer needed, so I delete them with PHP (...
0
votes
1answer
101 views

How to set up secure permissions: Multiple Users & Websites / Apache / www-data

I had my own private VPS that my hosting service managed and now I am switching to a cloud server where I have to manage everything myself. I am trying to mimic their secure setup that they had. On my ...
0
votes
2answers
284 views

How do I set my nginx perms to allow for multipart form submissions?

I'm using Nginx with Puma (for a Rails application) on CentOS 7. I'm confused about how to set up permissions for a file upload. Currently when I try and upload a file (submit a multi-part form), I ...
0
votes
1answer
33 views

Ubuntu - Allow access to subdirectory and files under a directory, but not give access to the directory itself?

Good day. I have a Server that's running on Ubuntu 14.04 with a LAMP Stack. So far, I've been able to host webpages on it and it's been working great. However, I want to limit what the users see. I ...