<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Change File Permissions using Terminal in Mac OS X</title>
	<atom:link href="http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x</link>
	<description></description>
	<lastBuildDate>Fri, 05 Mar 2010 01:24:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Beck</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-10406</link>
		<dc:creator>Beck</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-10406</guid>
		<description>How do you set permission for another user on a file?

Ex: file.txt has userA as owner.
I would like to let staff and everyone permissions as they are, i.e. read only. But I want to add read and write permissions for userB.
It&#039;s like making a chmod 755 for userA, then another chmod 755 for userB, but all that with a terminal command in userA&#039;s session.

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>How do you set permission for another user on a file?</p>
<p>Ex: file.txt has userA as owner.<br />
I would like to let staff and everyone permissions as they are, i.e. read only. But I want to add read and write permissions for userB.<br />
It's like making a chmod 755 for userA, then another chmod 755 for userB, but all that with a terminal command in userA's session.</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabricio Dore</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-10403</link>
		<dc:creator>Fabricio Dore</dc:creator>
		<pubDate>Wed, 23 Dec 2009 12:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-10403</guid>
		<description>I went through the same issue because I accidentally changed the permissions of my system. Following is the step by step of how I solved my problem (I have a mid-level of programming savvyness):




+++
Step by step:

(1) Start the computer on single user mode:
cmd s


(2) Do the FSCK thing  (type exactly the following and press enter/return):
/sbin/fsck -fy

If fsck displays the following message you are on the right way:
***** FILE SYSTEM WAS MODIFIED *****

   
(3) Mount the disk (the -uw is critical // type exactly the following and press enter/return):
/sbin/mount -uw/


(4) Change the permissions (type exactly the following and press enter/return):
chmod -R 755 /

(5) Boot (you will have to type it twice)
exit
*****Gives you a message*****

exit

(6) The system should start up fine. If not, force restart with the on/off button.

(7) Once back in the GUI or Graphic Interface, open DiskUtility from the Utilities folder inside Applications. Run the option Verify Permissions after selecting your harddrive from the menu on the left. After it finished finding problems everywhere, select Repair Permissions.

(8) Done!


+++
Other Mac OS boot options:

To use these boot shortcuts or commands, hold down the bolded keypress while your system is booting up. If it does not work, you probably did not start holding down the key (or key combination) soon enough.

shift – Safe Mode

Booting with the shift key depressed starts OS X in Safe Mode with Account preferences ignored and unessential kernal extensions / kexts disabled.

option – Startup Manager

Booting with the option key depressed starts OS X with the Startup Manager which allows the user to select which OS or partition from which to boot.

Mouse button – Eject Media

When the user boots with the mouse key depressed, any media in the drive such as a DVD or CD is ejected.

cmd v – Verbose Boot

If this key command is held down when booting, all the startup messages that are typically hidden will be displayed. This is an excellent method for debugging booting issues.

c – Boot from CD/DVD

Booting with the “C” key held will tell the system to boot directly from a CD/DVD in the drive.

t – Target Mode

If the “T” key is held during the bootup, the computer will be placed in target mode. This basically allows the computer to be accessed by other systems as a FireWire drive. Other computers can read, write, or mount the target mode system just like any other FireWire drive.

Other Bootup Shortcuts —

cmd s – Single User Mode

x – OS X Force boot

r – PowerBook Display Reset

n – Boot up from NetBoot Server




+++
More

Bypass startup drive and boot from external (or CD).... CMD-OPT-SHIFT-DELETE
Boot from CD (Most late model Apples) ................. C
Boot from a specific SCSI ID #.(#=SCSI ID number)...... CMD-OPT-SHIFT-DELETE-#
Zap PRAM .............................................. CMD-OPT-P-R
Disable Extensions .................................... SHIFT
Rebuild Desktop ....................................... CMD-OPT
Close finder windows.(hold just before finder starts).. OPT
Boot with Virtual Memory off........................... CMD
Trigger extension manager at boot-up................... SPACE
Force Quadra av machines to use TV as a monitor........ CMD-OPT-T-V
Boot from ROM (Mac Classic only)....................... CMD-OPT-X-O
Force PowerBooks to reset the screen................... R
Force an AV monitor to be recognized as one............ CMD-OPT-A-V
Eject Boot Floppy...................................... Hold Down Mouse Button
Select volume to start from............................ OPT
Start in Firewire drive mode........................... T
Startup in OSX if OS9 and OXS in boot partition........ X or CMD-X
Hold down until the 2nd chime, will boot into 9?....... CMD-OPT
OSX: Watch the status of the system load............... CMD-V
OSX: Enter single-user mode (shell-level mode)......... CMD-S</description>
		<content:encoded><![CDATA[<p>I went through the same issue because I accidentally changed the permissions of my system. Following is the step by step of how I solved my problem (I have a mid-level of programming savvyness):</p>
<p>+++<br />
Step by step:</p>
<p>(1) Start the computer on single user mode:<br />
cmd s</p>
<p>(2) Do the FSCK thing  (type exactly the following and press enter/return):<br />
/sbin/fsck -fy</p>
<p>If fsck displays the following message you are on the right way:<br />
***** FILE SYSTEM WAS MODIFIED *****</p>
<p>(3) Mount the disk (the -uw is critical // type exactly the following and press enter/return):<br />
/sbin/mount -uw/</p>
<p>(4) Change the permissions (type exactly the following and press enter/return):<br />
chmod -R 755 /</p>
<p>(5) Boot (you will have to type it twice)<br />
exit<br />
*****Gives you a message*****</p>
<p>exit</p>
<p>(6) The system should start up fine. If not, force restart with the on/off button.</p>
<p>(7) Once back in the GUI or Graphic Interface, open DiskUtility from the Utilities folder inside Applications. Run the option Verify Permissions after selecting your harddrive from the menu on the left. After it finished finding problems everywhere, select Repair Permissions.</p>
<p>(8) Done!</p>
<p>+++<br />
Other Mac OS boot options:</p>
<p>To use these boot shortcuts or commands, hold down the bolded keypress while your system is booting up. If it does not work, you probably did not start holding down the key (or key combination) soon enough.</p>
<p>shift – Safe Mode</p>
<p>Booting with the shift key depressed starts OS X in Safe Mode with Account preferences ignored and unessential kernal extensions / kexts disabled.</p>
<p>option – Startup Manager</p>
<p>Booting with the option key depressed starts OS X with the Startup Manager which allows the user to select which OS or partition from which to boot.</p>
<p>Mouse button – Eject Media</p>
<p>When the user boots with the mouse key depressed, any media in the drive such as a DVD or CD is ejected.</p>
<p>cmd v – Verbose Boot</p>
<p>If this key command is held down when booting, all the startup messages that are typically hidden will be displayed. This is an excellent method for debugging booting issues.</p>
<p>c – Boot from CD/DVD</p>
<p>Booting with the “C” key held will tell the system to boot directly from a CD/DVD in the drive.</p>
<p>t – Target Mode</p>
<p>If the “T” key is held during the bootup, the computer will be placed in target mode. This basically allows the computer to be accessed by other systems as a FireWire drive. Other computers can read, write, or mount the target mode system just like any other FireWire drive.</p>
<p>Other Bootup Shortcuts —</p>
<p>cmd s – Single User Mode</p>
<p>x – OS X Force boot</p>
<p>r – PowerBook Display Reset</p>
<p>n – Boot up from NetBoot Server</p>
<p>+++<br />
More</p>
<p>Bypass startup drive and boot from external (or CD).... CMD-OPT-SHIFT-DELETE<br />
Boot from CD (Most late model Apples) ................. C<br />
Boot from a specific SCSI ID #.(#=SCSI ID number)...... CMD-OPT-SHIFT-DELETE-#<br />
Zap PRAM .............................................. CMD-OPT-P-R<br />
Disable Extensions .................................... SHIFT<br />
Rebuild Desktop ....................................... CMD-OPT<br />
Close finder windows.(hold just before finder starts).. OPT<br />
Boot with Virtual Memory off........................... CMD<br />
Trigger extension manager at boot-up................... SPACE<br />
Force Quadra av machines to use TV as a monitor........ CMD-OPT-T-V<br />
Boot from ROM (Mac Classic only)....................... CMD-OPT-X-O<br />
Force PowerBooks to reset the screen................... R<br />
Force an AV monitor to be recognized as one............ CMD-OPT-A-V<br />
Eject Boot Floppy...................................... Hold Down Mouse Button<br />
Select volume to start from............................ OPT<br />
Start in Firewire drive mode........................... T<br />
Startup in OSX if OS9 and OXS in boot partition........ X or CMD-X<br />
Hold down until the 2nd chime, will boot into 9?....... CMD-OPT<br />
OSX: Watch the status of the system load............... CMD-V<br />
OSX: Enter single-user mode (shell-level mode)......... CMD-S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeff</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-10400</link>
		<dc:creator>jeff</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-10400</guid>
		<description>what it i need to do a specific file to make it writable to internet. i am being told to use chmod 0777 on file. this in my site directory 3 deep in a folder? how do i get to the folder and what is the command exactly?</description>
		<content:encoded><![CDATA[<p>what it i need to do a specific file to make it writable to internet. i am being told to use chmod 0777 on file. this in my site directory 3 deep in a folder? how do i get to the folder and what is the command exactly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-10365</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Thu, 03 Sep 2009 20:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-10365</guid>
		<description>re: Comment 9429

chmod -R  means execute the chmod recursively through all enclosed folders
chmod -r  means remove the ability to read for all (user, group, other) on whatever file is specified
chmod +r  means add the ability to read for all  (user, group, other) on whatever file is specified
chmod +R  is not valid syntax

from the Terminal application, things become (mostly) case sensitive, as in most Unix systems.  For more information on the correct syntax for chmod, type &#039;man chmod&#039; (without the single quotes) from the command line and read the man page.

re: Comment 9424
changing permissions will *not* work on a file that has been locked.  First one must unlock the file, then change the permissions.  Files attributes, such as locked, invisible, etc.,  can be manipulated by the /usr/bin/SetFile command.</description>
		<content:encoded><![CDATA[<p>re: Comment 9429</p>
<p>chmod -R  means execute the chmod recursively through all enclosed folders<br />
chmod -r  means remove the ability to read for all (user, group, other) on whatever file is specified<br />
chmod +r  means add the ability to read for all  (user, group, other) on whatever file is specified<br />
chmod +R  is not valid syntax</p>
<p>from the Terminal application, things become (mostly) case sensitive, as in most Unix systems.  For more information on the correct syntax for chmod, type 'man chmod' (without the single quotes) from the command line and read the man page.</p>
<p>re: Comment 9424<br />
changing permissions will *not* work on a file that has been locked.  First one must unlock the file, then change the permissions.  Files attributes, such as locked, invisible, etc.,  can be manipulated by the /usr/bin/SetFile command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-10360</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Sat, 15 Aug 2009 22:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-10360</guid>
		<description>thanks. this is currently saving my life.</description>
		<content:encoded><![CDATA[<p>thanks. this is currently saving my life.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-9429</link>
		<dc:creator>Brock</dc:creator>
		<pubDate>Fri, 20 Mar 2009 06:30:35 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-9429</guid>
		<description>I would also like to point out to everyone that you probably do not want to be using +R, you should get using -R unless you need it.

+R will APPEND your permissions to a file/directory. Leaving others permissions intact
-R will change the permission to a file/directory for your user name and CLEAR everyone elses.

Both will work but please be aware of the security issues. You don&#039;t want others having access to your files.</description>
		<content:encoded><![CDATA[<p>I would also like to point out to everyone that you probably do not want to be using +R, you should get using -R unless you need it.</p>
<p>+R will APPEND your permissions to a file/directory. Leaving others permissions intact<br />
-R will change the permission to a file/directory for your user name and CLEAR everyone elses.</p>
<p>Both will work but please be aware of the security issues. You don't want others having access to your files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-9428</link>
		<dc:creator>Brock</dc:creator>
		<pubDate>Fri, 20 Mar 2009 06:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-9428</guid>
		<description>@plgx

&lt;blockquote&gt;&gt; chmod: 755: No such file or directory&lt;/blockquote&gt;

My mistake. I shouldn&#039;t have had the / infront of the directory name in there.

&lt;blockquote&gt;sudo chmod -R 755 test&lt;/blockquote&gt;

will work fine...updating this in the article :)</description>
		<content:encoded><![CDATA[<p>@plgx</p>
<blockquote><p>> chmod: 755: No such file or directory</p></blockquote>
<p>My mistake. I shouldn't have had the / infront of the directory name in there.</p>
<blockquote><p>sudo chmod -R 755 test</p></blockquote>
<p>will work fine...updating this in the article <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_smiley.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasper</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-9424</link>
		<dc:creator>Kasper</dc:creator>
		<pubDate>Thu, 19 Mar 2009 19:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-9424</guid>
		<description>It worked perfect for me, i just used:

1. cd ~/Desktop 
2. Hit enter
3. sudo chmod -R 755
4. drag the folder into the terminal
5. hit enter

Should do it if you by a mistake locked a folder or changed the permission to everyone: no access</description>
		<content:encoded><![CDATA[<p>It worked perfect for me, i just used:</p>
<p>1. cd ~/Desktop<br />
2. Hit enter<br />
3. sudo chmod -R 755<br />
4. drag the folder into the terminal<br />
5. hit enter</p>
<p>Should do it if you by a mistake locked a folder or changed the permission to everyone: no access</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plgx</title>
		<link>http://brockwoolf.com/blog/change-file-permissions-using-terminal-in-mac-os-x/comment-page-1#comment-9294</link>
		<dc:creator>plgx</dc:creator>
		<pubDate>Mon, 02 Feb 2009 16:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://brockwoolf.com/change-file-permissions-using-terminal-in-mac-os-x#comment-9294</guid>
		<description>Thanks for publishing tihs tutorial. I had tried doing this, but used the -r for recoursive. I got:

&gt; chmod: 755: No such file or directory

I had to go around doing first a sudo chown +R /pathtofile, then a cd to the files parent and then chmod +r to the file.

I imagine that with the +R the terminal would&#039;ve accepted the chmod 755 command.</description>
		<content:encoded><![CDATA[<p>Thanks for publishing tihs tutorial. I had tried doing this, but used the -r for recoursive. I got:</p>
<p>&gt; chmod: 755: No such file or directory</p>
<p>I had to go around doing first a sudo chown +R /pathtofile, then a cd to the files parent and then chmod +r to the file.</p>
<p>I imagine that with the +R the terminal would've accepted the chmod 755 command.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->