Questions tagged [folder-permissions]
90 questions
1
vote
0 answers
Trying to add a user permissions to a folder but getting an error
This is my code so far:
$path = "\\Tanks\users\Derick\My Documents"
$AdAccount = 'domain\userDerick'
$Acl = Get-Acl ($path)
$rule = New-Object System.Security.AccessControl.FileSystemAccessRule ("$AdAccount", "FullControl", "ContainerInherit,…

DerickR
- 11
- 1
1
vote
1 answer
Set folder permissions with PowerShell in different cultures
I am trying to create a PowerShell script that grants folder permissions to NETWORK SERVICE on different cultures. The main problem is that the NETWORK SERVICE, while present in all installations of Windows, has different names in different…

Kira Resari
- 1,718
- 4
- 19
- 50
1
vote
1 answer
Modify data in an Access database without giving users permissions over the folder?
I have an Access database on a server split in back-end and front-end files (.mdb), so I give users the front-end file and the back-end file is kept in a server. I want users to access the DB and be able of edit and add records. However, I don't…

Brayan Jaimes
- 434
- 5
- 8
1
vote
0 answers
SSIS Foreach Loop Container enumerator did not find any files while deployed on SQL server
I have created a SSIS package that imports CSV files from a folder and writes data into a database. I can run the package locally but when deployed to SQL server and trying to run it via Execute command. The Foreach Loop Container gives a warning as…

user2140740
- 101
- 2
- 8
1
vote
0 answers
Permissions set on Folder via Powershell for Active Directory Group not working
Some context: I am augmenting a PowerShell script to create an AD user to execute a batch workflow and the required folders the workflow needs. The ID and network ID's of the support members (including myself) inherits all permissions from the…

WillPanic
- 66
- 7
1
vote
1 answer
icacls C:\Users\%username%\AppData\Local\Mozilla\updates /q /c /t /deny users:F
I want to deny permission to mentioned folder for current user to access,modify,read. Using icacls.
icacls C:\Users\%username%\AppData\Local\Mozilla\updates /q /c /t /deny users:F
But i am getting error "The system cannot find the path…

Shrikant Borse
- 11
- 2
1
vote
2 answers
Can't Upload Images or Plugins via Wordpress Admin
I have a website that I just transferred from one server to another. I did this by copying all the files via FTP from the old server to my computer and then to the new server. I changed the URL in Settings to the new url and I downloaded a copy of…

MattM
- 3,089
- 7
- 40
- 62
1
vote
2 answers
Is it possible for an ASP.NET MVC application to read files from a folder elsewhere on the web server?
I have an ASP.NET MVC web app located in c:\inetpub\sites\website
Within it, I have an option to download PDF files.
The PDF files are stored elsewhere e.g. c:\data\pdffiles
Can I read then from the c:\data\pdffiles folder from within my web app if…

Ace Grace
- 631
- 1
- 7
- 21
1
vote
0 answers
Unable to execute a file from second hard disk in Ubuntu
My computer has two hard disks (1 SSD + 1 HDD). I have installed operating systems in SSD and made HDD as a NTFS drive (named as 'WorkData'; and the location is /media/WorkData), so that I can work in that HDD from both Ubuntu and Windows.
I have…

Rveera
- 21
- 3
1
vote
2 answers
Why C function _stat does not set errno properly when access is denied to the folder
I'm developing a C-program with VS2005 and I found out that when folder access is restricted in a way that I can't create folders or delete anything from a folder the _stat function for the folder does not set errno correctly. errno is set to value…

char m
- 7,840
- 14
- 68
- 117
1
vote
1 answer
Android: Create a new folder and change it's permissions
I have an app. I want this app to create a new folder which can only be opened by this app and no one else. I want this folder outside the application internal storage, so that it is visible in file manager, but it can't be opened because of folder…

DarkNemesis
- 109
- 1
- 11
1
vote
1 answer
icacls function not overwriting the previous directory permissions
I am using the following code:
icacls C:\testscott\ /grant:r "TestGroup":(NP)F
However, the existing permissions in the directory C:\testscott\ are still there. I thought using the /grant:r option meant it would overwrite the existing permissions?

Scott
- 86
- 1
- 12
1
vote
2 answers
Grant Permission to Folder using PHP
I need to grant write permission to temporary folder of all local machine (if it does not have)which access my php site. Is it possible using PHP?

Aadi
- 6,959
- 28
- 100
- 145
1
vote
1 answer
How to set all the permissions recursively to the new folder created on FTP server using PHP?
I've created a new folder on FTP server using PHP. Now I want to set all the permissions recursively(i.e. the same permissions should be applied to all the files and folders residing it.)
I tried to research about this thing then I came to know…

PHPLover
- 1
- 51
- 158
- 311
1
vote
2 answers
How to give Folder Permission for IIS User in C#?
I need to give Folder Permission for IIS User.
Actually I wrote code like this..
public static void AddDirectorySecurity(string FileName, string Account, FileSystemRights Rights,AccessControlType ControlType)
{
DirectoryInfo dInfo = new…

msgopalkrish
- 58
- 2
- 10