Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How do I change folder permissions recursively in Windows 7? Specifically, for my WAMP server, I want to change the permissions of my "www" folder so that its contents can be viewed over the Internet, and I want all of its subfolders to have the same permissions. Currently, for each folder, I'm getting the following message in my browser: "You don't have permission to access / on this server." I believe there's a simple command I could enter in a terminal for recursively changing folder permissions for global access; I just don't know what it is.
Replace all child object permissions with inheritable permissions from this object checkbox must be checked when changing permissions under Properties > Security tab > Advanced > Change Permission
Do this in the GUI to the parent folder.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a file folder called, my_folder it has been created by a program and has been made into a read-only access. I have admin rights to the computer I'm using but when I try to make it non-read-only it says that I don't have access to it. I've tried using Admin Command Prompt and deleting it with Admin rights in the File Explorer. The end goal is to delete the folder.
Here is the error I get when I try to delete it via the File Explorer:
And here is the error I get when trying to do the deletion via Admin Terminal:
$> rmdir my_folder
Access is denied
Permissions issues are my favorite Windows problems! Deleting with admin rights usually works for me. You might try taking ownership of the folder and trying again. If that fails try booting into safe mode.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I had an account name bally and had to create a new account called jbally because there was something wrong with bally.
This fixed the original issue which is not important but now when I go to save a vim file is says that it's not writable even though the the permissions show -rw----- which match another computer's permissions where vim works on.
any tips?
Thanks,
Max
image one
image two
image three
Since you probably didn't change the owner of any of the files when you created the new account. You just need to change the owner.
To do this use chown to change the owner to jbally.
sudo chown -R jbally /User/bally
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
In my Mac program, I want to copy the file located in /private/var/db/dslocal/nodes/Default/users/xx.plist to another disc.
Presumably it will failed, and it is.
I use the api of copyItemAtPath:toPath:error: to do this,
and I NSLog out the error infomation:
it says /private/var/db/dslocal/nodes/Default/users/xx.plist this file couldn't be opened because I don't have permission to view it.
The operation couldn't be completed, Permission denied.
And can anyone could introduce me to some documentations or sample codes that I should read to solve my problem? Please!
You're trying to do something that requires the user to be an administrator (or root), which requires elevated access. The way to do go about this in OSX is to factor out the privileged code into a separate executable that is run with elevated permissions, after having prompted the user for an administrator's credentials.
Take a look at OSX Authorization services for prompting the user:
https://developer.apple.com/library/mac/#documentation/Security/Reference/authorization_ref/Reference/reference.html
And SMJobBless for creating the application with elevated rights: -
https://developer.apple.com/library/mac/#samplecode/SMJobBless/Introduction/Intro.html
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
on my local website i would like to the /web directory point to a folder on my windows box. I have tried putting a shortcut there and it failed. I tried creating an alias in my httpd.conf and i get a 403 http error. Im out of ideas!
The 403 error means that for some reason the server process doesn't have permission to access that folder, but it looks like you're probably doing that alias correctly.
Just making sure, everything is entirely within windows? If it was linux pointing to windows, you could mount --bind it somewhere, or chmod it to fix the permissions issue.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I can retrieve the logged in user name using NSUserName(), but how do I get the Open Directory "directory domain name" or other domain he is a member of? i.e. similar to the notion in Windows where a logged-in user is DOMAIN\USERNAME, where DOMAIN is his local machine, workgroup or Active Directory domain.
You may be able to do this with Directory Services. Alternatively, check out the new Open Directory APIs introduced in 10.6; you have a choice between a Core-Foundation-based API and a Cocoa-based API.