Questions tagged [file-permissions]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

how can a folder generate by a php application have permissions to be edit by user other than root or daemon ubuntu 20.04 lts

I'm running a php application on Ubuntu 20.04 lts with Xampp. I have it set up like /opt/lampp/htdocs/ReportsCo My application running when run generates a folder with some pdf inside. I cannot edit ...
user avatar
0 votes
0 answers
28 views

How do I configure my Windows 10 so I can get read and execute rights but not copy rights on two .exe files, assuming it's possible?

I want to have in my user account read and execute rights on a couple of executables but without the ability to copy them. Searching in internet it doesn't seem possible with regular permission ...
user avatar
0 votes
0 answers
21 views

Is there some user groups cache in Windows Server and how to flush it?

I am seeing the following unexpected behavior: Summary of a problem: Changing the contents of a user group does not have immediate effect on the actual effective file permissions linked to this user ...
user avatar
0 votes
0 answers
30 views

SFTP prevent user from deleting original directory

I cannot find how to prevent chroot users from deleting some original directory. I have an SFTP that is already working. Below is my process to create a directory for new partners. [root@...]# ...
user avatar
-1 votes
0 answers
32 views

Trying to remove folders; Keep getting "Can't Enumerate Objects in Container. Access is Denied"

I'm removing files that have no use to me, and I'm not able to remove the last two. The success I have had has been with a rather tedious process of accessing a Folder's properties, changing the owner ...
user avatar
0 votes
2 answers
19 views

Linux group folder permissions

I am using Redhat/Centos 7. Currently I have a local directory called /lcldisk, the users login in with a network account, which means when they make a directory under /lcldisk it is owned by the user ...
user avatar
  • 5
0 votes
0 answers
22 views

How to restrict the system account of a specific windows system from accessing a drive

I installed two windows 10 operating systems on my computer. For some reason, I don't want the system account of one of the windows operating systems to modify the files on this disk, and I don't want ...
user avatar
0 votes
3 answers
52 views

Computer says you need permission for the owner to making changes to my Host file. All my computers are doing this. How do I Fix This?

When saving my host file an error comes back and says you need permission for the owner to make this change. All my computers are doing this. How I Fix this?
user avatar
0 votes
1 answer
19 views

Error while transferring file permissions

I ran into a problem, wrote a script that compresses pdf files through a program and transfers rights to a new file by copying from the old one to differentiate access to new files. Here is the part ...
user avatar
0 votes
0 answers
13 views

file association disallowed when move progs to different folder

I have many small programs in a folder called c:/mmm I have been using them for a long time without problem. I moved them to a subfolder called C:/mmm/nnn. that broke file associations, as expected, ...
user avatar
  • 21
0 votes
0 answers
14 views

how to give a permission to only specific OU to access shared drive? - windows server

0 There is an instruction to set up a Z drive as a shared drive, and give access authority only to A department. Department A is made by OU.The problem with this is that settings that give read/write ...
user avatar
0 votes
1 answer
26 views

Changing default permissions on a new windows file moved into the WSL directory tree. How?

I often use file explorer to move/copy a windows file into the WSL environment for bash manipulation. All the windows files I move/copy in this way have permissions set to 000 by default. I have to ...
user avatar
0 votes
2 answers
40 views

UNIX/Linux: What's the file permission number?

When I ask for file permissions on a Windows-10 WSL Ubuntu app, I do: ls -ltra And I get information like: -rwxrwxrwx 1 scampsd scampsd 42034 Mar 29 15:26 Filename.cs drwxrwxrwx 1 scampsd scampsd ...
user avatar
  • 1,462
0 votes
1 answer
60 views

File locking in windows & linux [closed]

To what I've observed, Windows "locks" a file and prevents access (such as write and delete/remove access) when a particular file (such as a pdf) is opened as read-only. How is this actually ...
user avatar
0 votes
0 answers
11 views

Windows 10 Sharing authentication

I have two machines, and on my first machine I choose to share my homework.txt file to "Everyone." From what I'm seeing online, to access homework.txt from the second machine I would need to ...
user avatar
0 votes
0 answers
42 views

How to access files / directories in disk image that are locked with old permissions?

I just recently upgraded an older desk top Windows computer with a new motherboard, CPU and DIMM memory sticks. The upgrade is meant to still use the same SATA drives a before. Prior to starting the ...
user avatar
1 vote
1 answer
141 views

How to copy files to a folder that need admin rights?

I'm using Windows 10 and I need to copy some files to a folder that asks for administrator permission. Without booting to a live linux USB is it possible to perform this on the running system and the ...
user avatar
  • 13
0 votes
0 answers
35 views

How to make permissions automatically inherited by new items in a shared folder on a Mac

I want to create a local folder on a Mac that is completely open (create/read/write/delete) for all users on that Mac. (eg. a Kiosk) For example, if I want to create a /Users/Shared/Kiosk folder that ...
user avatar
0 votes
0 answers
29 views

How to not show folders you do not have access in windows

imagine this situation: windows server 2019 folder main main\foo main\bar main\foo.... (lot of files and subfolders) main\bar.... (lot of files and subfolders) I create group gfoo with full access ...
user avatar
0 votes
1 answer
45 views

Can't change the permission from 'root' to my user on MacOS

I am fairly new to the scene and already have permission problems on my mac. I have been trying to install truffle and had permission issues, because my node_modules folder was owned by root. I ...
user avatar
0 votes
1 answer
72 views

Laptop stolen, are files on D drive protected?

I got my laptop stolen. It run under w10 os. I did set user w/ password to log on my windows account. The drive came, from factory, a secondary drive partion called D in which I stored my documents. ...
user avatar
  • 3
0 votes
0 answers
42 views

Linux ACLs unexpected behaviour on Debian 11

I'm trying to build a SOHO nas these are the non negotiable requirements from the customer System OS: Debian 11 Sharing method: Samba standalone server Access Management: through sharing group ...
user avatar
0 votes
2 answers
40 views

How to grant a group of users only the delete permission?

I am using a shared PC (Windows 10), and I want a group of users (User: Everyone) to be able to delete a directory completely. However, they should not be able to open the directory or view the ...
user avatar
  • 1,006
1 vote
0 answers
18 views

What can prevent lsattr from being able to list the attributes of a file in Linux in WSL2? [duplicate]

Windows 10 -> WSL 2 Pengwin (Debian) (This question relates to WSL 1) I'm trying to modify an executable (npm in this case) but am getting denied all the way. At this stage I just want to at least ...
user avatar
  • 111
-1 votes
1 answer
39 views

How to prevent Guest or other account from accessing my secondary drive?

On a shared PC, we can create multiple windows login account. But how can I prevent other user account from accessing my secondary drive? Is it possible to hide the secondary drive from other user?
user avatar
0 votes
0 answers
23 views

Cannot copy SYSTEM32 files to other directories in Windows NT 3.1

Sorry that I cannot find a tag for Windows NT 3.1. I cannot seem to copy files from SYSTEM32 directory in Windows NT 3.1. I am planning to do this so that I can inspect the EXE/DLL files. For example, ...
user avatar
0 votes
1 answer
135 views

Windows group membership doesn't work with "BUILTIN\Power Users"

This question came originally from a named pipe security issue when a member of the "BUILTIN\Power Users" group wasn't able to connect to the pipeline, even though the group was allowed to. ...
user avatar
0 votes
0 answers
46 views

Changing inherited NTFS ACL/permissions to target directory after moving files over network

I've applied this registry change, but it only applies when working directly on the workstation, not when using a networked workstation. eg.: SharedDir/ ∟ dir1/ ∟ file.txt ∟ dir2/ In the ...
user avatar
1 vote
1 answer
370 views

What's special about the History.IE5 folder?

I had trouble moving the AppData folder from one disk to another. The error I got was The bad thing about this error is: it does not only interrupt the move action, but it will prevent it from going ...
user avatar
0 votes
1 answer
22 views

Can the permissions of files in vboxfs use the real permissions instead of all 770?

I have a VirtualBox VM (Guest) and I share a folder tree via the vboxfs mechanism. The original folder tree is on my main computer (Host). It worked great except for the permissions. When I check ...
user avatar
  • 1,198
0 votes
0 answers
58 views

"Windows cannot access the specified device, path, or file" error in Windows after mounting in Ubuntu 21.04

I installed Ubuntu a few weeks ago to dual boot and mounted the base windows partition in ubuntu to be able to read and write to it as I need. I did tweak the power settings in Windows to turn off ...
user avatar
0 votes
1 answer
46 views

Problems restricting access to projects in Xampp

I've Xampp installed in windows 10, and serval projects which is accessible via web browsers and file browser in local network \machinenameorIP\projectXX etc. I do have AD on-premise MS server 2019. I ...
user avatar
0 votes
1 answer
219 views

Reset NTFS permissions to factory default on entire system partition?

I'm having occasional problems with NTFS permissions on a Windows 10 PC, especially when installing programs. I guess it started when I created a new user for myself some time ago and deleted my old ...
user avatar
  • 176
0 votes
0 answers
31 views

Prevent a file from not being shown if it is not deleted?

The group anyname-users has the right to read but not to modify or to write files within a specifc sub-folder. The permissions for this subfolder are defined as in the image below. If a member of ...
user avatar
  • 177
0 votes
0 answers
198 views

Fix permissions for docker nextcloud instance

So I managed to chmod and chown the entirety of my data directory for my nextcloud instance. So that includes: - data - apps - config - data - html - mysql - themes - docker-compose.yml I ...
user avatar
0 votes
0 answers
17 views

How do we set up default permissions for files/folders different from parent folder?

We've been having problems where the client folders get moved accidentally into other folders. We think it happens when a user is clumsy with the mouse. We would like to use permissions to lock the ...
user avatar
  • 113
1 vote
1 answer
2k views

WSL: Windows doesn't have permission to write new user files

I have Ubuntu 20.04 with WSL2 and created a new user with sudo privileges: sudo adduser newuser sudo usermod -aG sudo newuser su - newuser Windows does not seem to have permission to write in the new ...
user avatar
0 votes
0 answers
24 views

Windows Sandbox Mapped Folders read & execution error

So I regularly run Sandbox on a couple of my machines, & I've run into this problem on all 3 of the ones I use. Each Sandbox is run with a .wsb file that maps a couple folders to the Sandbox. One ...
user avatar
0 votes
1 answer
31 views

Security folder permissions for service account

I wrote a script to add the security to permissions to the folder and inside the subfolders, but and granted the full permission for that user. When i run the script it is adding the user to the sub ...
user avatar
  • 33
1 vote
1 answer
44 views

How do I recursively add ACL settings identical to the owners' for another user

I have a directory tree (in a Linux system) at "/opt/cudasamples" owned by root. I wish to be able to change contents (files and subdirectories) of this directory as a normal user, i.e. ...
user avatar
0 votes
1 answer
38 views

Only allow specific user(s) access to a folder

Say I have a folder /var/some_folder and I have two users user1 and user2. How do I allow only user1 to access that folder? If I make it read-only can't user2 see it as well? Note, user1 should have ...
user avatar
1 vote
0 answers
61 views

Export fileserver permissions for folders and subfolders with read and write permissions in PowerShell ISE

Okay so I want to have the read and write permissions for users on a fileserver to be exported in CSV format. With the script below am not getting all of the subfolders on Powershell ISE Can someone ...
user avatar
0 votes
1 answer
56 views

Linux File Permissions for Wireshark USB Monitoring via setfacl

According to the Wireshark Docu for usb monitoring, one might want to allow a non-sudo user to read the usbmon devices. sudo setfacl -m u:$USER:r /dev/usbmon* This command returns the error setfacl: ...
user avatar
  • 332
0 votes
0 answers
27 views

Windows Run Command No Longer Knows How to Open Folders in Certain Locations

One day, my Run Command forgot how to open folders, but only certain folders. Regular folders work fine: But special folders, like ones I access all the time as an engineer, such as %appdata% or C:\...
user avatar
  • 101
1 vote
1 answer
62 views

Give users permission to modify a file but deny permission to add new files to the folder in Windows 10

Been struggling with this since yesterday without success. Tried all kinds of combinations. I have 2 files - an EXE and a config file. When users start the EXE they should be able to save their ...
user avatar
  • 11
1 vote
1 answer
1k views

File permissions for mounted Samba share (from raspberry pi) on ubuntu server

I am struggling with file permissions on a mounted NAS on my ubuntu server (20.04 LTS). The NAS drive is mounted using cifs and /etc/fstab: sudo nano /etc/fstab: //PiNAS/PiNASdrive /media/PiNAS cifs ...
user avatar
  • 33
-1 votes
1 answer
499 views

Can't install Windows store app package (0x80070005)

I tried to install (Ubuntu app) using windows store it starts fine for a few seconds then it stops and gives me an error 0x80070005 Then I tried to download the package using store.rg-adguard.net I ...
user avatar
0 votes
1 answer
138 views

Open SSH: Authentication refused: bad ownership or modes for file

I'm trying to connect to a dockerized container running Open SSH. The authorized_keys file is specified to be in /home/jenkins/.ssh/authorized_keys. Here's my sshd_config: PermitRootLogin yes ...
user avatar
0 votes
0 answers
96 views

TrueNAS: Can read/write through SMB but not FTP

I have a small TrueNAS server set up and I can access my files over SMB. I want to access it through the internet to I want to access it via FTP as well. FTP successfully connects but I cannot read/...
user avatar
  • 111
1 vote
0 answers
93 views

Cannot open or copy file, but can move and delete

(See below for a possibly decisive finding about encryption.) A service I have written outputs a log file. I am trying to look at that log file. Unfortunately, Windows refuses to let me see that log ...
user avatar

1
2 3 4 5
25