Questions tagged [folder-permissions]
90 questions
0
votes
0 answers
php can't chmod folder
I am trying to give 777 permissions to a folder on my hosting.
I use the following command: chmod("./test",0777);
I know it doesn't work because I execute a script which changes a file in the directory.
If I give the permissions manually (in the…

Ron
- 3,975
- 17
- 80
- 130
0
votes
1 answer
Granting full permissions to everyone on newly created folder from within c#
Im saving images from a URL list but trying to duplicate the folder structure locally.
I parse the URL to give me the folder structure I want :
Example:
URL = www.site.com/images/folder1/folder2/image
My local base folder is mydocs/site/images…

Todd Vance
- 4,627
- 7
- 46
- 66
0
votes
1 answer
Access denied to path while writing xml in iis
System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\Spicee Webservice\App_Data\Employee.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path,…

user941105
- 31
- 1
- 2
0
votes
3 answers
WPF app writes files/data into "C:\ProgramData" but fails to write into other folders
We have developed WPF application which allows user to select folder path. WPF application writes files/data into this selected path. When we select "C:\ProgramData" as the path, it creates the file and write the data. But when the path is other…

Software Engineer
- 131
- 1
- 6
- 12
0
votes
1 answer
Write permission to root folder with PHP and IIS (WebsitePanel)
I've started to use WebsitePanel, yet. When I create a website in it, it set permissions like that:
-> username
-> domain.tld
-> wwwroot => Web Anonymous Account to Read(or write if you set)
With this permission setup, php scripts(like…

oruchreis
- 866
- 2
- 12
- 28
0
votes
1 answer
windows server 2008, how to make folder writable for my asp.net mvc3 app?
I have an asp.net mvc3 application. it uploads image and resizes it. my upload folder, i need to make it writable. I try to do it from filezilla, set them to 777, it wont work.
I have root access to my windows server. I right click on the folder,…

qinking126
- 11,385
- 25
- 74
- 124
-1
votes
0 answers
Accessing Shared Folder over network based on permissions
I have a folder structure like Test > Test1 > Test 2 > Test 3 > Test 4,5
I want to share this over the network say \server123\Test\Test1\Test2\Test3
For user "A" I want him to access only Test 3 and the subfolders below(4,5) so how can I do that? I…

Pranav
- 9
- 3
-1
votes
1 answer
How can I give user access to folder owned by root without adding user to sudoers file?
I have a directory owned by root (/var/log/apache2). I would like a user to have read only access to this folder - without changing the group owner of this folder. Is it possible to do that without adding user to the sudoers file?

Varun Verma
- 704
- 2
- 10
- 20
-1
votes
1 answer
imagepng works on xampp but not on server
I have this small code to generate profile images with random background color and first letter of name as text over it. I've been using this code for years and it still works fine on xampp and many other sites but in one praticular case its not…

Whip
- 1,891
- 22
- 43
-1
votes
1 answer
SQL connection issue from paticular folder
Background:
C# .NET app created that connects to SQL db and does various things
App uses a fixed SQL id user and password
App uses a standard connection string:
SqlConnection connection = new SqlConnection(conn_string)
SQL Server 2008…

greeny129
- 21
- 4
-1
votes
1 answer
Microsoft IIS: how can I change file permissions?
how can I change file/folders permissions on Microsoft IIS ?
Should I use icacls ? Can I use it from ftp ? I'm currently logged in with Microsoft ftp protocol but I get:
ftp> icacls
?Invalid command.
What's the equivalent of
ls -l (to see the…

aneuryzm
- 63,052
- 100
- 273
- 488
-2
votes
1 answer
How to save image in a subdirectory using file_put_contents and return the path in php
I am new to PHP but have experience in .net. I need to know a way to save images uploaded to a PHP page in a subdirectory of that page and return its path. I have checked and not found a way to give permission to an existing subdirectory in PHP. I…

Ganesh Kumar
- 93
- 1
- 12
-2
votes
1 answer
Is there any way to protect a folder from other people?
I'm having some troubles with people getting in my folder. Is there any way to have a program that whenever I try to open a specific folder it asks for a password and won't let you see what's in that folder unless you have the password?

Ax34
- 123
- 7
-2
votes
1 answer
Unable to delete the bin directory in Filezilla
In filezilla I used to upload the website contents for our project from today it is showing that you can't delete this directories. But the thing is yesterday only I have uploaded correctly and website also worked correctly.From today it is not…

user5204800
- 13
- 2
-4
votes
1 answer
Change the Windows folder permissions to Read only from Python
I have a test case to automate, where in I need to change the folder's permission to read only from Python script. I am using Test Complete tool with python scripting for automating the manual tests.
I am not able to accomplish the tasks, I tried…

mohamed tippu mastan
- 11
- 1