New answers tagged

1 vote
Accepted

How to conveniently mass-reassign file associations in Windows 10 (1803)?

Since this question keeps coming back at me by others, I wanted to update this with two links to tools that allow to achieve the same. Both named STFA for "Set File Type Association" and by ...
  • 6,187
0 votes

How do I make a single program not ask for admin perms for another user?

every time he wants to play he needs me to input my admin password. It depends on the App. If the App (say like Sync Back Pro) provides a Manifest file or like method to permit Standard Users to run ...
  • 38.4k
0 votes

Can't open a mount point folder which is within a NFS share

Under normal circumstances accessing a remotely mounted file system on an NFS share isn't possible. If you'd like to lift the restriction, export the NFS share with the option crossmnt set in the ...
  • 188
0 votes

Differentiating between two programs (windows)

This behaviour varies from one program to another (specific build instructions that restrict or allow to run multiple instances of one binary image). In some cases program has configuration option ...
0 votes

Differentiating between two programs (windows)

To my knowledge, there is nothing built into windows to stop multiple executions of an executable. If a second copy does not run, then the author has designed it that way. Why would someone restrict ...
  • 1,193
1 vote
Accepted

How can I automatically remove the Read-only attribute for newly downloaded or unpacked files in Windows 10?

You can accomplish this easily if you're willing to use portable third-party software such as NewFileGo. Download NewFileGo and run it. Click "Add New Watcher". Type in the directory path ...
  • 10.9k
1 vote

Why "effective UID" of the process is not changing to the file's owner UID?

Setting the suid bit of a shell script is ineffective. Shell scripts aren't forked using exec*() like executable programs are. Instead, the shell does a fopen( shell_script, "r" ); and ...
0 votes

How do I apply the acl permissions for ALL files (those in sub-directories too) without changing folder permissions?

find is your friend: find /server/root -type f -execdir setfacl -m mask:rw-,user:robinhood:rwx {} \; This command finds all files in /server/root of type file (-type f) and executes this command in ...
1 vote
Accepted

What's wrong with my directory file permissions and how to copy directory's file permissions to another directory?

I think the key here is you mentioned “Microsoft Server Management Studio” and you’re trying to restore a backup. I think you mean SQL Server Management Studio. If that is the case, it is not YOU who ...
  • 11.2k
1 vote

Windows 7 Firewall stopped working after I changed permissions for the registry key SharedAccess

To redo the permissions of SharedAccess, from my Windows 10 : users has only the Read permissions everyone is not present at all, and probably only required for access from the local network. If you ...
  • 417k
1 vote

Change directory and subdirectories and all files permission

I suppose you want to change the owner of a folder recursively. You can use the following command : chown -R www-data:www-data /path/to/your/folder chown is the command to CHange OWNer -R is an ...
0 votes

Please help me to get access to c: Drive because I messed up the permissions

You cannot repair or reset permissions. Windows throws up enough warnings before you do something really bad to it, and then it lets you do it. There is no database of all permissions because Windows ...
  • 39.2k
0 votes
Accepted

Active Directory Advanced Permissions - remove unneeded possible permissions (not grant/deny)

You might be able to hide permissions for individual attribute types by editing their schema objects at CN=Schema, CN=Configuration, <baseDN> – change isDefunct to TRUE – or by unchecking "...
  • 387k
0 votes

mv: cannot move, Permission denied in WSL

What worked for me was setting remote.WSL.fileWatcher.polling to true according to this docu
2 votes

Simplest way to use Powershell 7 on Windows to set ownership and permissions on files and directories?

I also don't like the standard Microsoft.PowerShell.Security module that is shipped with PowerShell and all of this Get-Acl, Set-Acl stuff. I like to use the NTFSSecurity Module. You can install that ...
  • 8,220
0 votes

Simplest way to use Powershell 7 on Windows to set ownership and permissions on files and directories?

As per my comment and the pointer from it. One can run any DOS/Cmd.exe executable from PS (any version) as well. PowerShell- Running Executables - TechNet Articles - United States (English) - TechNet ...
  • 4,042
0 votes
Accepted

Trouble with registry key updating/uninstalling iTunes

I am finally able to solve it! Using the method with PSTools as described here I was able to run Registry Editor as the SYSTEM account, assigning Full Control permissions to Everyone on the ...
0 votes

Make folder visible to user but do not allow them to access its contents (icacls)

I have researched online on "access-based enumeration" and indeed checking it will not allow restricted users to see the folder at all. Click here to see how it works. Credit to @user1686 ...
0 votes

What should I do about com.apple.quarantine?

Here's a corollary answer to the question asked. For .app files, the quarantine is placed when the file is run, and removed when the user grants permissions in System Preferences. However, you still ...
0 votes

Windows 11 “object name c:\” permissions best security practices

On the root of c:, there's more than what meets the eye. In addition to NTFS security, there's a non-standard integrity level set on c: which requires elevation, no matter what NTFS says, whenever one ...
0 votes

Windows 11 “object name c:\” permissions best security practices

I do not think you need to change Windows 11 permissions. Basic Windows 11 is already very secure. I think you may have alluded to some errors on restart as a result of change you have made (prior to ...
  • 38.4k

Top 50 recent answers are included