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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

Users randomly being prompted for permission to access parent folder through Windows File Explorer

Remote Desktop server running Windows Server 2012 R2 I have a folder structure like this: D:\X\Y\Z\ (In the real thing, there are many folders at level Y, each with many Zs, but for the sake of ...
0
votes
1answer
23 views

Why can I delete the file of another user given 640 permission and sticky bit?

I want to have a shared folder /data where multiple users can put their datasets to be used by others. I've followed the instructions in this answer, so now I have: ciprian@server /data $ ll .. | grep ...
-2
votes
0answers
43 views

How can I backup Docker volumes from the host?

How can I make the files in a Docker volume accessible for a backup program to make a remote backup from them? This is a general question about Docker, but the follow scenario will help give some ...
0
votes
1answer
19 views

Rsync copies all files with executable permission

I ran the following command to back up my home-directory: $ rsync -ahv \ --info=progress2 \ --partial \ --exclude=.cache/ \ --exclude=.miniconda3/ \ --exclude=....
0
votes
0answers
6 views

Inheriting file permissions from directory for SQL user on Ubuntu

I have an application which uses a MSSQL server on Ubuntu and want to be able to copy my backup files to a Windows 10 machine. I'm very familiar with the Windows side, but much less familiar with ...
0
votes
1answer
23 views

NTFS permissions with multiple user groups

I do not know how to search for this, so I am sorry if this has already been asked. Also, I am new to Windows administration so if I say something wrong do not hesitate to correct me! I have a folder ...
2
votes
1answer
34 views

NFS4 w/o Kerberos : name mapping works, permissions don't

I simply want to "map by userNAME" between NFS4 client and NFS4 server, when each has different uid for a given user name, w/o having to setup Kerberos. The situation: my Linux machine (...
0
votes
1answer
10 views

SMB share, from windows, creates files are owned by administrator and permissions and for Everyone. How to force this to be user who created file?

So I have a smb share setup using unisphere. I can login to my windows machine on the domain and my ad account. I can access the share but when creating a file on the share it shows under security ...
0
votes
0answers
40 views

Windows and Mac Shared Storage Permission Issue

I have been tasked with creating a new central storage server for our company. We run a mixed environment of Macs and Windows 10 computers. We currently host our file server in Windows Server 2012. It ...
0
votes
0answers
85 views

Libvirt raises permission denied when QEMU is accessing the VM on an external hard drive

I wanted to use an external hard drive as a libvirt storage pool for my VMs. I defined a new pool in /media/wenzel/OSWatcher/vms, and imported my vm win10-ts1-1507.qcow2 there. However, when starting ...
1
vote
0answers
49 views

NFS : permission denied - home dir NFS Qtree from Netapp

I have centos7 box NFS Qtree used for home dir from Netapp is able to mount just fine Export policy shows : any any any ...ie super user access as well is any When i am root user on client box , can ...
0
votes
0answers
40 views

Make file world writable on Windows

I wrote a NodeJS application that runs on Windows and might be run as a standard user and sometimes as an administrator, but they all need to access the same files under a shared data directory. If ...
0
votes
0answers
22 views

You require permission from Domain\xyzuser to make changes to this file

I've seen other questions similar but not quite the same. Have a client that is seeing a message when trying to access files in a folder on a Windows server 2012 R2. This behavior is consistent for a ...
0
votes
2answers
44 views

Samba clients able to delete each others files. How to block

I have applied sticky bit on Samba share directory. Now client is not able to remove files and directories created by root of Samba server, The issue is many clients access the same directory share ...
0
votes
1answer
44 views

Very strange AH00035 error

I am here because I have a very strange behaviour on my server and I ever investigate for hours on the AH00035 error. On my server, if I create a simple php file index.php <? php echo "Hello ...
0
votes
1answer
29 views

In mac, not able to view or open a file which displayed while by `locate` command [closed]

OS: MacOS When I try locate acronym a folder named acronym and all the contents in the folder are getting displayed, but I am not able to view or open any of those files. I was able to view and access ...
0
votes
1answer
82 views

How to give permissions to local computers using computers' MAC addresses in Windows Server 2016 for file sharing

I have the following issue: I have a server with Windows Server 2016, and I need to use it only for saving, reading, and modifying files with file sharing. The way I have the restrictions is with ...
0
votes
0answers
26 views

Missing file permissions only when started with Windows Task Scheduler

I have a bat files that launched a java JVM to allow another server to run tasks on the windows box. Currently after each reboot I've had to log-in as a specific user and run the statup.bat. To make ...
2
votes
1answer
43 views

Remote command has different umask

ssh user@host "umask" gives 0174 ssh user@host and the umask from server shell gives 0002 Could you please explain how can it happen? UPD: Actually, it was /etc/passwd overriding umask.
1
vote
1answer
30 views

Dynamically sharing file/folder between users on the same machine with subdirectory

I have 3000+ local users on my Linux system. I want to set permissions dynamically for folder or files. I came across ACLs (Access Control Lists) when I researched this topic. All users home location ...
0
votes
1answer
20 views

Prevent deletion of other's files on a shared folder

We have a shared folder so all employees can upload and save file or create folders to it. But we want to prevent workers to delete other's files and folders. I assigned all permissions except "...
0
votes
1answer
32 views

Special permissions in Windows 2012R2

I have a main folder named "2020". I have a script that creates a subfolder with a file number and an address, and 5 sub-sub folders, like in the following example: I would like: to give ...
0
votes
1answer
64 views

Security-wise file ownership & permission setup for LEMP server to be managed via wp-cli and wordpress dashboard?

I'm on a LEMP VPS with the following setup; cd /home/$USER/public/myDomain.com # change directory to myDomain.com chown -R nginx:nginx . # change file ownership find . -type ...
0
votes
0answers
76 views

Migrate File Server from one volume to another volume with preserving shares/ntfs permissions

I need to move files/folders and Shares/permissions from one Volume to another volume within the same server. Also, I need to maintain the existing permissions and security settings. At this point i ...
0
votes
1answer
396 views

Files becoming owned by systemd-network:systemd-journal in WSL2 and Docker setup

So I'm running Ubuntu 20.04 under WSL2 with Docker. Occasionally the files mounted by Docker (could be other files as well) are getting their ownership changed from my user to systemd-network:systemd-...
0
votes
0answers
20 views

Write access to a subdirectory within a read-only directory

I have a home server for my website that is running on a mounted image. I mount the image as follows: sudo mount -o loop,offset=19489299 raspbian-stretch-lite.img I then mount my static website ...
0
votes
2answers
50 views

Does Windows Server 2019 behave different with NTFS then Server 2012R2?

Background info: The admin account of a key user needs unrestricted access to a folder on a server. -> he is working on the server per RDP or directly with the folder (shared) Said admin account is ...
0
votes
0answers
72 views

Allow download of pdf files only in .htacces file

I am new to editing .htaccess file I have a .htaccess file that was created for me a while ago but now I have added a new feture to my site to allow people to download pdf files but it appears my ....
0
votes
0answers
26 views

Fedora : find directories defaults permissions

I have the following directories with world writing permissions : /usr/tmp /var/spool/samba /var/tmp /tmp/* /dev/mqueue /dev/shm First is this state normal ? And second, in a "learning to fish&...
1
vote
0answers
26 views

Systemd-journal-upload service cant read ssl key file

I am trying to get one of my VM servers (server1) to connect the systemd-journal-upload service to connect to the systemd-journal-remote service on another VM (server2). I already have multiple other ...
0
votes
1answer
53 views

How to deny git pull and cd into a folder/file in Windows?

So I find myself being forced to use a Windows machine just because thats what the financial institution feels is more secure for an outside contractor. I am using powershell and I just received some ...
1
vote
1answer
160 views

NTFS permissions inheriting incorrectly as “this folder only”

I have a full directory tree that was migrated from another server. I've created top level folders with the necessary permissions that I wish to propagate to all descendant files and folders. However, ...
2
votes
1answer
57 views

specifying complex permissions on files and folder in unix

At work I manage a group responsible for data management and security. We have a need to specify complex permissions on files and folders beyond just the standard user/group/world rwx. Research shows ...
1
vote
1answer
514 views

Permission issues with administrator account on Windows Server 2012 R2 — cannot create new files and need elevated privileges to edit files

Have a domain account and a local account. Both are administrators -- they are part of the administrators group. For some odd reason, something must have gotten corrupted as accounts require elevated ...
0
votes
1answer
97 views

Powershell returns access denied on non-os files used by IIS site

I am connected as a local administrator using RDP to my WIN2K16 server, and manage it using gui and powershell. Overall I have full control over the machine, and never had permission errors using both ...
0
votes
0answers
7 views

localise settings for custom log files with custom configs

I'm trying to change the permissions of the log file I create. The configuration is in rsyslog.d/ directory, but whenever I change the file permissions with $Umask 0000 $FileCreateMode 0644 It's ...
0
votes
1answer
275 views

Different permissions for guest and non-guest users in Samba

I am configuring a samba server for file sharing. I was wondering if there is a configuration setting to map different file or directory masks to different users. I am attempting to allow admin users ...
0
votes
0answers
21 views

Folder in Ubuntu Became a File and the other Show Question Mark in Owner/Group

I encountered a very weird issue, appreciate if someone could help. One of my folder stored in a LVM2 XFS filesystem (mdadm RAID6), silently became a file and a folder showing question mark on both ...
0
votes
0answers
73 views

icacls - deny all permissions for a folder for Virtual Service Account

I am trying to explicitly deny all the permission for a folder like this, I am using below icals command, but it's NOT working Invalid parameter "/deny:d" error. Please suggest! icacls &...
2
votes
1answer
128 views

Prevent user to overwrite files and directories

Help me to learn if this scenario is doable using Linux. I want to secure the access to a system path called "/mnt/data". System users retrictions: 'daemon_user': read/write access. 'read_user': ...
2
votes
0answers
251 views

Downloading EXE From Web Throws 403 Forbidden nginx

I have a file uploaded to our website under a /Downloads folder, which I created. The download link, similar to: A Sample Download Link had no issues downloading up until a few weeks ago. I am not ...
0
votes
0answers
15 views

Ubuntu: Pointing an SFTP user to its working directory without listing other user's directory

I am working on configuring an SFTP server on Ubuntu Server 18.04. I want to create SFTP accounts that point directly to their working directory without listing others. For example if the real working ...
0
votes
1answer
47 views

Best way to secure world-writable .shtml files written to by Perl?

The Perl script I have a Perl script running on an old Debian 6 server (until I move to a new server) that opens an editable pane in an .shtml file, accepts only Creole markup input from a single ...
0
votes
0answers
332 views

Access Based Enumeration with Azure Files

Is it possible to enable Access Based Enumeration in Azure Files? We're using Azure Files with the AADDS integration enabled (per the setup discussed here - though with just the Azure Files; no local ...
0
votes
1answer
345 views

OpenLiteSpeed file_put_contents Permission Denied Error

New to OpenLiteSpeed, I received a permission denied warning error when trying to write a file in the website subdirectory using file_put_contents() API from PHP. I thought perhaps I needed to adjust ...
0
votes
0answers
838 views

rsync postgres backup to another directory

I have CentOS 7 (3.10.0-1062.18.1.el7.x86_64) with SELinux enabled. PostgreSQL 12 installed (not sure if it is related). I try to backup database and move backup files to another disk. How I create ...
1
vote
1answer
18k views

How to change permission of a folder to 777 in Dockerfile?

I have a project directory like this: |-var/www |-docker-compose.yml |-app |--uploads |---photos |-Dockerfile This is my docker-compose.yml file: myapp: build: context: myfolder ...
2
votes
1answer
4k views

Check 'effective permissions', 'effective access' from command-line, Windows/NTFS

How do I mimic Advanced Security Settings 'Effective Access' tab in command line (Win10 notably)? Prefer built-in tools, I'm about to evaluate if sysinternals AccessChk can accomplish this icacls ...
0
votes
0answers
34 views

Creating an NTFS folder with read/write, but not “edit”, permissions

If you start with "read, execute, write" basic permissions and take away "create folders/append data" you get a "drop folder" with read and "write new files only", but applications "save as" functions ...
0
votes
1answer
307 views

Cannot write to local shared directory

I wondered if anyone has experienced this issue... We noticed a permissions error on a server that uses a case management system. It works by writing to locally hosted shared folders. After a reboot, ...

1
2 3 4 5
19