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 [permissions]

Access and restrictions of files, documents, accounts, computers, etc.

0
votes
0answers
9 views

Change SFTP user's permissions when transferring files to webserver

I created a webserver and have two users that can login over SFTP to change, edit, view, and create folders/new files. When the two users create a new file, the permissions are -rw-r--r--. I need the ...
0
votes
0answers
7 views

ReadOnly Access for members of Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be able ...
0
votes
0answers
23 views

Cygwin permission problems? Rsync works from command line but not inside a bash script [on hold]

I have a short bash script that runs a few rsync commands. I'm running this script in Cygwin (Windows 10). If I run the rsync commands directly on the cygwin command line, they work correctly (i.e. ...
0
votes
0answers
8 views

How to use screen in the Windows Subsystem for Linux? [duplicate]

I want to automatically start screen when I start the Ubuntu 18.04 subsystem on Windows 10. On (a native or differently virtualized) Ubuntu I add screen to ~/.profile or ~/.bash_profile. ...
1
vote
1answer
53 views

Prevent folder from being deleted/moved/renamed in Windows

I know this has been asked but every answer I have tried over the past three hours has not worked. So I'm hoping to get a solution that works on my machine (running Windows 7). Assuming following set ...
0
votes
1answer
26 views

Should I change permission or owner of the folder

In my Amazon Lynux Debian. By default you get admin user and the recomendation is dont use root user instead use sudo command and you have to follow a serie of steps to get it. Of course when try to ...
0
votes
1answer
27 views

Connecting to Windows Subsystem for Linux from an Ubuntu server using SSH but it says: Permission denied, please try again

I have installed Windows Subsystem for Linux (Ubuntu 18.04) on my system from the Windows store. After installation by default it asked to make a user. I made a user of "sark"; it is a root user. I'm ...
0
votes
0answers
20 views

Completely restore access control to defaults for WindowsApps folder?

I gave myself ownership of C:/Program Files/WindowsApps so I could poke around in there. I started running into issues though, and tried to give ownership back to NT SERVICE\TrustedInstaller. This ...
0
votes
0answers
26 views

Problems with Ubuntu permissions when changing the Disk Home directory

I've changed the home directory of hard drive, because I don't have any more space,but from that point I have millions of problems with permissions for snap installations, the printer and a long list ...
0
votes
0answers
13 views

Why is “read (extended) attributes” and “read permission” necessary to allow access to shared fodler?

I am experimenting with sharing files and NTFS permissions. One thing I can't understand is why if I go to advanced permissions and if I want to let others see my folders/files and let them just copy ...
0
votes
1answer
41 views

Changed security permissions on external hard drive to a user with full control and now it will not allow me to backup it says

I have changed the security permissions on an external hard drive to a username and allowed full control now when I try to do a windows backup I get this error: Can someone please let me know what I ...
0
votes
0answers
47 views

FFMPEG Permission denied on file in NTFS

FFMPEG won't read a file on my NFTS partition, even with sudo, giving the error "Permission denied". Something to do with whitelist and crypto? Full log: $ cp a.mp3 b.mp3 $ ls -l ?.mp3 -rwxrwxrwx 1 ...
0
votes
1answer
35 views

How to make directory accessible to others using --bind option

Let's say I have access to directory on some filesystem - /media/vc1/ mounted and owned by user1. I want to give access to user2 (uid == 1001) to some directory in /media/vc1/ (without making copy of ...
1
vote
0answers
23 views

TextEdit says a file is locked but Finder says it's not and I have permissions to write

This file shows as follows in Finder: But in TextEdit it says it's locked, and trying to change this fails: It's a project from GitHub/NPM I just want to play with changes locally, not muck about ...
0
votes
0answers
55 views

Missing permissions to access shared folder in local network

I have a local Network with a Window 10 computer and a Windows 7 computer. Both have the same Network Settings (visible to other computers, etc.). On the Windows 10 computer, I can see both the ...
0
votes
2answers
95 views

Lost all permissions from directories in Windows 10 and I can't delete them and even take ownership as admin

I was trying to uninstall Rapport a Trusteer application from my computer and the uninstallation program left tracks. So I went to the application's folder and checked that it had System user as owner ...
-1
votes
1answer
28 views

CentOS 7 vsftpd incorrect folder permissions

I'm faced with two issues right now. I cannot write to the /var/www/* folders and I am able to traverse backward into the /var and / root directory! I'm using vsftpd and in the config I'm using the ...
0
votes
1answer
68 views

Somehow the /var/www/html folder got converted to a binary file? How do I convert it back?

I was trying to transfer some files from home directory to /var/www/html folder. This was not possible due to permission settings as the system was saying I was not the owner of the folder. So after ...
0
votes
0answers
28 views

Directory has 730 permissions but file has 644 permissions - security issues?

If a UNIX parent directory is designated to have the access permissions of "730" but a file inside that directory has permissions of "644", is this a problem?
0
votes
2answers
77 views

How to change the content of a text file when I don't have permission to redirect output nor use `sed -i`

I would like to change the brightness on my laptop by changing the content of the file /sys/class/backlight/intel_backlight/brightness, but I can't figure out how to do it. I'm on Pop! _OS 18.04, ...
0
votes
1answer
43 views

Why is writing on auto mounted partition not possible?

Despite it has rw option. An extraction of fstab: /dev/disk/by-uuid/0109cc2c-414c-42dc-8a99-3ffe529020fe /mnt/0109cc2c-414c-42dc-8a99-3ffe529020fe auto rw,exec,noatime,x-gvfs-show 0 0 This entry was ...
1
vote
0answers
29 views

SSH connection permission denied

I am trying to login into remote server without password using ssh but I am get the error: Permission denied (public key) To copy .pub key to the server, I had: PasswordAuthentication = yes (in the ...
2
votes
1answer
104 views

HTA can't run ie4uinit.exe

I'm trying to refresh desktop icons from an HTA using the following: var shell = new ActiveXObject("WScript.Shell"); shell.run("C:\\Windows\\System32\\ie4uinit.exe -show"); I'm running it as ...
0
votes
1answer
19 views

Granting IIS_IUSRS access to a Web Application folder

Trying to add a folder on D:\ as a virtual directory to a Web Site in IIS. "Obviously" I need to add an ACL to the folder for the security principal IIS uses. This appears, most of the time, to be ...
-1
votes
1answer
30 views

What's the difference between “file_mode,dir_mode” and “gid” when mounting a CIFS share?

I'm trying to mount a Windows 10 share on xubuntu 16.04 using /etc/fstab and I noticed that if I don't set "file_mode=0777,dir_mode=0777" as parameters in "/etc/fstab", users outside of root are ...
0
votes
0answers
28 views

Bugged font in Windows 10

I'm having a problem with a font, and I can't get it to work. Searching online I found that in "\localhost\c$\Windows\Fonts" is where you get a real look at the fonts installed on your system, and I ...
0
votes
2answers
29 views

Reenable Google Chrome updates on Mac

i was wondering if any of you guys is able to help me reenable Google Chrome updates ? Please note that i have no programming knowledge of any kind and i am a total noob. A friend of mine ran the ...
0
votes
0answers
18 views

Why is a PHP include file not found on Linux Apache through a symlink?

In /home/richard/public_html/tinytest.php: <?php // Note: reuse is a symlink to /home/r/reuse require("reuse/Test.php"); ?> The symlink /home/richard/public_html/reuse was made like this: <...
1
vote
1answer
19 views

How to add chmod +x on a file, from right click menu service in mac

so i need to use chmod +x alot, and i thought it could be easier to make a service in Automator to add it to the right click menu, so it will run chmod +x on the selected file as choose it from the ...
0
votes
1answer
34 views

import zpool overwriting ownership/permissions (cf. -o uid=,gid=,umask= mount options)

I have a zpool from a system with different users than the machine I am working on that I want to copy data from. Therefore, I need to import and mount the zpool with read permissions. However, since ...
1
vote
0answers
19 views

Transmission-daemon permission denied in /home/pi/ folder. How to fix it?

I don't want to use any USB drive with my Raspberry Pi because my SD card has 32GB storage. So i put /home/pi/torrent/downloads and /home/pi/torrent/incompleted location in the /etc/transmission-...
0
votes
1answer
113 views

Why does Windows say I need permission to delete files

I'm logged in as an admin on my Windows 10 machine. When I go to delete a folder, it says I need permission. I set the permission on all files in the folder and its subfolders so that anyone can ...
0
votes
0answers
36 views

Permission Denied when try calling “sh -c SOMEALIAS” on mac terminal

On mac I made an alias to mitmdump and then I tried through terminal sh -c fullpathto/mitmdump # works sh -c fullpathto/mitmdump_alias # Permission Denied error while double click of mitmdump_alias ...
0
votes
0answers
66 views

Windows 10 OpenSSH Client not found in non-admin console

I'm having trouble using the built-in OpenSSH client from a regular command prompt. The client got automatically installed as part of Windows 10 Update 1803. When I try to execute it from a regular ...
0
votes
0answers
57 views

How to reset user permissions on system files and registry keys to the state when Windows was installed?

I currently have Windows 10 Pro version 1803 (build 17134.254) installed. Thing is, I did some stuff to user permissions on some files and registry keys and I believe I might have also affected some ...
0
votes
1answer
40 views

Is there a way to change the 'Advanced Permissions' of a file in Windows using command line?

So just to clarify: I would like to remove the advanced permission called "Change permissions" because even if you remove permissions from a group (in this case administrators) using icacls, while no ...
0
votes
3answers
55 views

chmod 1,2 and 4, what exactly do they do?

I was wondering about having only read, only write, or only execute permission, and what it means. If I have write permission only, does that mean I can append to, or replace the contents of the ...
0
votes
0answers
28 views

Sudoers Argument Parsing using Python

I am working on a project and I need to be able to limit the command line arguments for commands when they are called with sudo. The parsing we are doing is big enough that using glob would be painful,...
0
votes
0answers
11 views

Can't create a scheduled backup on TFS 2017

I'm unable to create a scheduled TFS backup. When I try, the admin app goes busy for a minute then. unfreezes, without saying what happened or went wrong. I was just given permissions to login to the ...
0
votes
1answer
14 views

Trying to delete .cap, .csv files but i get an error [duplicate]

I need help on my kali linux. I tried to delete these files 1186047 -rw-r--r-- 1 root root 19717377 Sep 5 17:54 -01.cap 1186032 -rw-r--r-- 1 root root 576 Sep 5 17:54 -01.csv 1186040 -rw-r--...
2
votes
1answer
51 views

Running bash script from an user of the same group that connects to a server using SSH-key from another user of the same group

I made a script like this one: sync.sh #!/bin/bash #1st backup the file scp user-1@ip-1:/directory/file1 /backup/location/ #2nd sync/overwrite my file to that server scp /local/file2 user-1@ip-1:/...
1
vote
0answers
29 views

OS X Quarantine Folder in Root Directory

In my root directory (running macOS High Sierra), there is a folder called Quarantine which is owned by the group 499. I'm not sure what exactly the Quarantine folder is, but of more interest to me is ...
0
votes
1answer
62 views

Root cannot delete folder inside freenas share?

I'm on Ubuntu 18.04 and I can create directories with root but when I try to delete this old directory that Plex created it fails. Any ideas? I've tried everything what I was able to find here and ...
0
votes
0answers
21 views

Is there a utility or windows feature that takes A user identity and a filename and lists out effective access and why?

I have a file on a network share and a user. The user can't access the file due to permission issues, but by all my understanding of windows security says they should be able to. Is there a utility ...
0
votes
1answer
39 views

NixOS & NixOps declarative group management and services

Is it possible to manage groups in a declarative way in NixOS and NixOps? I would like to be able to create a new group in a configuration.nix, and add users to it. I have not been able to find any ...
0
votes
2answers
78 views

How can I delete a Win10 folder whose permissions have been removed?

I have a folder that I want to remove. Somehow, all permissions from that folder have been removed. The parent folder has appropriate permissions for my admin account. I've tried to apply these ...
1
vote
1answer
141 views

Windows WSL Ubuntu sees wrong permissions on files in mounted disk

I recently installed WSL on my Win 10 (Version 10.0.17134.228) and I'm trying to access my files on a disk mounted on windows from linux. In my PC I have 2 HD: First Disk: A single partition where ...
0
votes
0answers
43 views

Permissions error for id_rsa in Linux Subsystem for Windows (custom home from mnt/c/Users)

I'm sharing my home directory in Windows 10 with my user's account for WSL - I even set my Windows home to my Linux home with usermod - and have been getting along great until my most recent update. ...
0
votes
0answers
23 views

Libvirt: AppArmor Profiles Access Error

I have installed libvirt-daemon on a fully updated Ubuntu Server 18.04.1 LTS. When trying to execute libvirtd --listen, the following errors arise: 2018-08-24 21:03:18.641+0000: 2855: error : ...
0
votes
0answers
52 views

Re-sharing smb files of third party through mklink on win server

We have one our windows servers 2012 R2. And a file server provided by a third party, which provides a volume available thru CIFS/SMB. We want re-share folder from the file server through our server. ...