Sharing & Permissions

Hi Experts,

I am working on a 10.6 snow leopard version.

I have over a 1000 files that I have copied and pasted into my web root directory and all of them are set to no access. So I am having to go through them all individually to read and write access.

Is there a way to mass edit these??

Thanks


M
MWatkins84Asked:
Who is Participating?
 
MacFirstConnect With a Mentor Commented:
open terminal in the utilities folder use the cd comman d to go to your web root:
cd \Library\Webserver\Documents

Type ls to list the directory to make sure you are in the right place.

Then type chmod 775 *
to change all of them to read write for the user and group, read only for everyonn else.
0
 
MWatkins84Author Commented:
I got this, unable to change file mode [...] operation not permitted.

by the way, should have been forward slashes /Library/WebServer/Documents

??
0
 
caityCommented:
use sudo chmod 775 *

use the -R switch if you want it to change the permissions on any subfolders/files.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
MWatkins84Author Commented:
How do you use the -R switch?? please

as I do have sub folders that I would want to do the same too.

Thanks
0
 
caityCommented:
sudo chmod -R 775*
0
 
caityConnect With a Mentor Commented:
rather sudo chmod -R 775 *
0
 
MWatkins84Author Commented:
Great thanks - thats sorted it!
0
 
Eoin OSullivanConsultantCommented:
Select the Root fold of the website in the Finder and do a Get Info.

In the bottom-most section under Sharin & Permissions..

1. Press the LOCK icon and enter the administrator password
2. Change the permission for the user Name of "everyone" to Read & Write
3. Click the COG icon on the bottom and select the "Apply to enclosed items"

All done ..
Sharing-Permissions-for-Web.jpg
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.