• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 602
  • Last Modified:

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
0
MWatkins84
Asked:
MWatkins84
2 Solutions
 
MacFirstCommented:
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
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
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
 
caityCommented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now