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.
1,322
questions
0
votes
0
answers
12
views
Permission denied for AD group for NFS directory
I have permission denied problem with NFS share.
On server1 I have /etc/exports file with content:
/data/test server2.example.com(rw,no_root_squash).
/data/test directory has 770 permissions with ...
1
vote
2
answers
41
views
Win10 file created without any ownership/permission at all
I was editing some file in Photoshop and all of a sudden - without any sort of error or anything, normal work as always - I was unable to save the file, so I did "Save As" and then I went ...
0
votes
0
answers
29
views
NTFS Special permissions - List Folder/Read Data and Read Attributes
I applied ntfs special permission "List Folder/Read Data" on a folder that contains a simple text file, now i can open the folder and see the names of files and subdirectories inside the ...
0
votes
0
answers
74
views
Samba Server does restrict writing but not browsing or reading
I made a Samba Server with 3 shares for each user and I would like to restrict access to it so only those users can access their folder. I have been browsing so much only that I got a mad headache ...
1
vote
1
answer
37
views
Why am I unable to set NTFS permissions on %ProgramFiles%?
Using an Admin user account on Windows Server 2019, I am trying to change NTFS permissions for a user account on %ProgramFiles%, %ProgramFiles(x86)%, and %WinDir%, but I get an access denied error ...
0
votes
3
answers
74
views
Cannot delete a file on Windows 10. I am the administrator. Tried to follow many tutorials, but anything work
I installed a game into my computer. Tried to uninstall but it didnt worked. So I started manually deleting its files. I have deleted all but one file, that does not allow me to delete it.
This is ...
1
vote
1
answer
79
views
How to assign WRITE permission to IIS_IUSRS on a folder in a Docker container based on Windows
I am running a Docker container based on the following Windows Server 2019 core image:
mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019
This container is running an ASP.Net 4.8 ...
0
votes
0
answers
123
views
How to actually restore stock Windows file permissions?
I recently suffered from some kind of MFT corruption that caused all permissions on my entire installation to be wiped. This made the disk "unaccessable" from another Windows installation ...
2
votes
0
answers
53
views
How to reenable full access to a drive's folders and files in Windows 10?
At my PC with Windows 10, I wanted to experiment (unfortunately!) with the accessibility of the entire disk (not fortunately the main one) and through properties/security/advanced/Edit/type:Deny I ...
0
votes
1
answer
124
views
Export UNC path NTFS permissions to CSV file
I need to export UNC path NTFS permissions on a Windows Server 2008, the only way I found possible so far is "wmic /node:rhea share get name,path" this will provide me with the share and ...
0
votes
1
answer
188
views
sudo rm -rf permission denied
I accidentally copied my entire disk with rsync -a / ... to my backup server. When trying to delete this backup with sudo rm -rf backup_dir I get a permission denied error on some sub directories of ...
0
votes
1
answer
37
views
This permissions state confuses me
(Administrator: Command Prompt)
E:\dev\Connect>d:\cygwin64\bin\sh
$ PATH=/bin:$PATH
$ ls -l UnarchiveAllPatients
total 25
drwxr-x---+ 1 jhudson Domain Users 0 Dec 1 13:06 Bin
-rwxr-x---+ 1 ...
0
votes
0
answers
57
views
How can I update \windows\system32\d3d12sdklayers.dll?
I have some crashes while trying to run DirectX programs that I compile in Visual Studio. It's only when I enable the "debug layer", and I believe it's because my laptop somehow has an out-...
9
votes
2
answers
2k
views
How do I reset file ownership at the command line when the files are owned by users from a dead domain?
I feel like telling a story, so if you want to get to the meat of the question, skip down to the horizontal line.
Original title: Zombies from a dead domain won't give me my files!
I ran into a ...
1
vote
2
answers
416
views
What's the difference between takeown and Set-Acl for changing ownership?
Suppose I want to take ownership by setting the owner to Builtin\Administrators of some folders on a NAS. I can do this in two ways:
Using CMD
takeown /F "\\Server\Share\My Folder" /A
Using ...
1
vote
1
answer
228
views
Can't remove deleted user from file permissions by command
I have deleted a user from a PC and I have many files with this permission in the permission tab of advanced form of security ->
Account Unknown(S-1-5-21-2076865150-1137883396-1755809354-1013) Deny ...
0
votes
1
answer
162
views
About denying full-control for other users in folder-files security permission?
Windows 10, have two profiles and also two partitions, one mine, Administrator account, and another newly created guests account for cousin... but, when I logged in, I was shocked to see, that it had ...
-1
votes
1
answer
48
views
Please..help .Does restore point also keep, index entries and file permissions? [closed]
Lap1-OS-Windows 7 and Lap2- Win10
Here's what happened...
I have two laptops, and, on one laptop, started having screen display
issues, the top corner, was showing black...so, had to give it to repair....
0
votes
0
answers
61
views
Mac Mini requires password to create directory on external drive, but not internal drive. Huh?
MacMini logs-itself-in on boot. Plug in a utility external drive, drag a folder from internal drive to blank external, password required. Make a directory on internal drive, no problem. Copy a file to ...
0
votes
0
answers
123
views
Linux user namespaces mapping issue - root without permission
I am trying to create a user namespace using unshare. Everything works fine when I map the parent user 'kevin' to the 'root' user in the new namespace:
kevin@raspberrypi:~/test $ ls -lah
total 8.0K
...
1
vote
1
answer
252
views
From Windows, can I control default Linux file permissions for a new file created via SMB?
I'm batch processing a lot of video files stored on an Unraid array with code running on Windows, accessing files on the array via SMB. Whenever I create a new MKV file it ends up flagged as user-...
0
votes
0
answers
39
views
Hundreds of program files appear in Windows Server 2019 with "2023-09-22 13-11 Copy of "prepended
These files have appeared mostly in the Windows system folders, e.g. under C:\Program Files (x86)\Common Files\Microsoft Shared\MSInfo\ there's "2023-09-22 13-11 Copy of msinfo32.exe"
There ...
0
votes
0
answers
43
views
Open a server hosted file (from a desktop) using IP not working, but using name works
I've a strange issue when trying to open a Word .doc, docx or an excel file .xlsx (haven't tried other files types):
If I double click a file hosted on Windows 2019 by traversing to it with a desktop ...
0
votes
0
answers
437
views
How to modify/extend USB device access permissions in Debian?
I have a PC with Debian 10. I need the USB drives to have broader permissions than those given by default by the system.
I will give an example: with the user "john" being authenticated, ...
0
votes
1
answer
38
views
How to get access rights to this file?
I'm logged into Windows 11 Pro as Administrator. I still don't have access rights to a MQTT log file mosquitto.log. Here is a screenshot:
There are abbreviated instructions what to do at another post ...
0
votes
0
answers
114
views
Folder in use, although it isn't
Environment:
Windows 11
NAS - TrueNAS CORE on FreeBSD/amd64
I am trying to rename a folder. A few minutes ago I opened a file from this folder but now everything is closed.
I get the message:
Folder ...
1
vote
0
answers
85
views
Providing administrator permission to change rating on mp3s
I'm trying to change the rating of mp3s in a Windows 11 environment with Windows Explorer via the Details Pane. It works on some files, but on others, I get this error message:
You'll need to provide ...
0
votes
4
answers
163
views
Can permissions and/or extended attributes lead to data loss? [closed]
This is related to having a portable drive in a format to be accessible for read and write in different operating systems. For example NTFS can be accessed in windows of course, in Linux quite easily ...
0
votes
1
answer
125
views
DigitCert SMIME certificate cannot be exported. Personal Information Exchange - PKCS #12 (.PFX) option was greyed out in export wizard
As part of ensuring secure communication in our company we are trying to export SMIME certificate issued by Digicert unto our clients but we encountered few issues with regards to private keys not ...
0
votes
1
answer
226
views
Cannot access specific shared file from specific machine
I have my Windows 11 workstation and another Win 7 workstation.
And windows 2019 server standard.
The server has “Data” folder and share it across the domain.
I can access all the file and subfolders ...
2
votes
2
answers
478
views
Why the user have no permission?
List all the file permission :
sudo ls -al /home/ftpuser
total 40
drwxr-x--- 6 ftpuser ftpuser 4096 Jul 24 11:32 .
drwxr-xr-x 5 root root 4096 Jul 22 13:26 ..
-rwxr-x--- 1 ftpuser ftpuser 169 ...
1
vote
0
answers
1k
views
File permissions 0400 vs 0600
I have a question about file permissions for the owner of a file.
0400 permission means owner has read access.
0600 means, that the owner has read + write access.
But even if the file is set to 0400, ...
3
votes
1
answer
704
views
Deleting file marked as read-only by owner
I am trying to delete a file that I have accidentally marked as read-only by the owner. Whenever I try to delete it, it says File Access Denied: You require permission from ****\** to make changes to ...
0
votes
0
answers
27
views
readonly preventing me form removing readonly on file [duplicate]
So I recently tried to make a backup of my system (using veeam) to a USB drive but it crashed and now the USB drive seems to be corrupted.
I cant seem to fix it due to the files/drive/USB being ...
1
vote
1
answer
33
views
Multiple users on OSX Catalina can not write to shared file
A text file, filea.txt, exists.
It's permissions listed in terminal are as follows:
-rwxrwxrwx@ 1 user1 wheel filea.txt
In finder, getinfo shows the following:
user1 R&W
wheel R&W
...
2
votes
1
answer
48
views
How to have a shared folder on a Linux system where all files within are rwx to everyone and all new files are rwx by everyone?
I want to have a shared folder on my system that will be used by all users as a place to put files and executibles.
I have created a folder and given it rwx to everyone - but whenever a new user adds ...
0
votes
1
answer
275
views
Poedit Permission Denied
I installed poedit 3.3.1 on my Ubuntu 22.04 and I want to access the .po files found in the var/www/html/ directory. However, every time I try, I get Error opening directory '/var': Permission Denied
...
0
votes
0
answers
189
views
MSSQL Server working on RH9 or Centos9
Has anybody running mssql-server on RH9 or Centos9?
I got this Error when trying to setup:
Red Hat Enterprise Linux 9.2 (Plow)
Capturing core dump and information to /var/opt/mssql/log...
Hint: You ...
0
votes
1
answer
164
views
Can't access specific files in Windows
I'm trying to view a PDF file in Windows, but my access to it is denied for some reason. It's in a folder that I have full permissions for (also set to apply to subfolders and files), and I can access ...
0
votes
0
answers
12
views
File not executable even with execute bit [duplicate]
Why is the following file not executable?
Changing the permissions to 777 doesn't work either - I get the same result. I thought it might be an owner issue, but with 777 that shouldn't be a problem.
$ ...
1
vote
0
answers
28
views
Fix changing owner to Root of multiple system files
I accidentally ran this command
# chown -R root:root /{usr,lib,var,etc,bin,sbin,tools}
on my ubuntu 23.04 system.
How can I fix permissions?
Can this be done without reinstalling?
Thanks
1
vote
1
answer
1k
views
Permission issues when binding mounting a Fuse mount to a Docker container
Ok, I have an interesting one I could use everyones help on.
I am using "rclone mount" to mount a remote directory to my host (Ubuntu Server). I then want to use Docker Compose to set the ...
0
votes
0
answers
103
views
Numerous world-writable Directories in /proc/
I have searched for world-writable files and directories using the find / -perm -2 ! -type l -ls command on a Linux Mint system and have found a very large amount of world-writable files under /proc/ ...
4
votes
1
answer
1k
views
How to set file permission for multiple users in linux
I have a file format.sh in linux os.
There are five users a, b, c, d & e.
How can I set the file permission for different users:
a -> Read, Write & Execute
b -> Read & Execute
c -&...
2
votes
1
answer
118
views
Windows exe program work in safe mode but error in normal (access, permissions error)
I have installed the program "VMS" needed to configure the IP camera. When I run shortcut, program does not reacting at all. But after several attempts to run, an error appears.
Windows ...
0
votes
0
answers
13
views
Two users with read/write access to the same directory [duplicate]
I want to run a file syncing program and a music server application on a Linux server. The file syncing program monitors and syncs some folders, including the music folder. The music server ...
3
votes
2
answers
5k
views
NFS mount on Windows 11: can't write to NFS share
I have an NFS v4 server running on an Ubuntu box in my LAN and need to mount one of its shares onto a desktop running Windows 11 Pro (with Services for NFS enabled).
This is what I have on the Ubuntu ...
0
votes
1
answer
1k
views
How to get around permission denied error when editing /etc/systemd/system.conf
I am trying to update /etc/systemd/system.conf with
DefaultLimitNOFILE=65536
using nano but I am unable to and get the error:
[error writing /etc/systemd/system.conf Permission denied]
0
votes
2
answers
316
views
How do I make a folder have recursive permissive access (rwx for every user and no owner) regardless of who creates files/folders and when?
I have a folder called /shared on the root level of my file system. I want to store files in there and user/file permissions are not important.
I am using Fedora 38
I can do sudo chmod -R 777 /shared ...
0
votes
1
answer
1k
views
Can't change file permissions with chmod in mounted devices
So, I wanted to share my Media via ftp by creating a symbolic link in the home directory of a ftpuser, to my HDD's partition 'Fun Drive'. What I wanted was that the ftpuser couldn't write to the Media ...