Sitemap

Amicuk Programming Answers

Why did chmod 775 work

-0001-11-30   Views:0

Advertisement

I recently was asked to look at a friend's Mac mini, which was stuck in the startup screen.  That is, it would not progress past the gray screen with the Apple logo and spinning progress wheel. The first thing I tried was starting in single user mode

I recently was asked to look at a friend's Mac mini, which was stuck in the startup screen.  That is, it would not progress past the gray screen with the Apple logo and spinning progress wheel.
The first thing I tried was starting in single user mode and running fsck, which took a while and did fix some errors.  I ran it again and it returned no more errors.
I then started in verbose mode where it hung up on a repeating line, user-name-mac-pro com.apple.launchd[1] (com.apple.mDNSResponder[xxx]): posix_spawnp(''/usr/sbin/mDNSResponder, ...): No such file or directory
When I did a Google search on this it seemed that there were many people who had a similar issue and they found that performing the command chmod 775 /volume/"Macintosh HD" in Terminal worked.  So, I thought I would try it.  I didn't use Terminal but I was able to change the permissions for my HD to 775.  It was 774.  I know that is Read only, and 775 is Read and Execute.  When I did this the Mac mini started up and everything worked.
Question:  Why did this work?  Why was the Mac mini not able to start up as Read only, and why was the mDNSResponder the file that was hanging?

The replay answer
Advertisement
Thanks Niel,
I'm just learning the reasons for these permissions, and this makes sense to me now.  Thanks
I guess the mDNSResponder file must have been the first file that launchd attempted to run but couldn't because of the Read only permissions that the HD had.  Is that correct?

Go to See the other 3 answers

Why did chmod 775 work

Category:DefaultRelease time:-0001-11-30Views:130

I recently was asked to look at a friend's Mac mini, which was stuck in the startup screen.  That is, it would not progress past the gray screen with the Apple logo and spinning progress wheel. The first thing I tried was starting in single user mode[More]

Sudo chown + chmod on system drive?

Category:DefaultRelease time:2015-12-04Views:130

Hello, Before I mess my system drive up I wanted to check if this is ok. For various reasons I have created a new Account that I wish to migrate to. I log in ok and can change permissions but there seem to be files on various places that I keep havin[More]

Everything under /foo/bar needs to be 775 and 664 [solved]

Category:DefaultRelease time:-0001-11-30Views:130

I want to have a share dir on my server called /foo/bar and I want any directory under /foo/bar to be 775 by default and any file created to be 664 by default. I do not know how to setup this. So if my users do scp -r ~/somedir [email protected]:/foo/bar T[More]

Why can't install Oracle 8.1.7 in Redhat 7,1

Category:DefaultRelease time:2015-10-11Views:130

Please see this page first: http://linuxfab.cx/indexEasy.php if you really want to install, please run these files first: compat-glibc-6.2-2.1.3.2.i386.rpm compat-egcs-c++-6.2-1.1.2.9.i386.rpm compat-libs-6.2-3.i386.rpm compat-egcs-6.2-1.1.2.14.i386.[More]

Completely locked out of my 2 Firewire Drives Please Help

Category:DefaultRelease time:2015-10-11Views:130

Hi Both my drives have this infamous lock icon on them, as a result of me applying permissions to the contents of the various system related folders. I have tried running these sudo chflags nouchg /Volumes/"MOVIES STORAGE BACKUP" sudo chmod 775[More]

Locked out of external Drives

Category:DefaultRelease time:2015-10-11Views:130

I hope someone can help me....... after restoring my system from a timemachine backup I had some permission problems, so I opened get info on my HD and set the permissions and applied to enclosed items. I now have my two external hard drives ( 1 a US[More]

[Solved]Lighttpd and php/fcgi

Category:DefaultRelease time:2015-10-11Views:130

I installed and configured lighttpd and php/fcgi exactly as found http://wiki.archlinux.org/index.php/Lig … nd_Non-SSL except for: ssl and eaccelerator. I am also running php with the lighttpd user instead of phpuser. I have done chmod 775 for /var/r[More]

All Applications crash when I try to print (2)

Category:DefaultRelease time:2015-10-11Views:130

I have and epson EPL-6200L b/w laser printer and an epson 1270. the 1270 s fine. the 6200 crashes EVERY application, from text edit to adobe inDesign. In text edit, I can open the 'page setup' dialog box and edit, but clicking the 'print' button caus[More]

Error in writing to directory /tmp/OraInstall2009-09-18_09-03-18AM. Please

Category:DefaultRelease time:2015-10-11Views:130

Hi all, oracle Unbrekable linux 32 bit oracle 10.2.0.1 i got this error while installing oracle universal installer [[email protected] database]$ ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operati[More]

Error while extending controller: class name is wrong or not included

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am getting this error while I port my extended controller class to the custom top and assign this controller to the page. I have made sure its the class file that is copied. The directory is correct, the permissions were given using chmod 7[More]

Blue Screen of Death After RAW Compatibility Update

Category:DefaultRelease time:2015-10-11Views:130

My friend updated her 13" Black MacBook yesterday, specifically the "Digital Camera Raw Compatibility Update 2.3". After a reboot, she got the Apple "Blue Screen of Death", with no login window showing. Looking at system.log, ther[More]

Hot
My iTunes content (music) will not sync to my iPhone 4. It shows as syncing on my computer (windows) but does not show up on the phone.Hey there @Robalina Welcome to the community! I have a guide that I will post below for you, that should help you c [More]
I wish to install iTunes 8.2.1 on my PowerPC G5. I know it's an old version. However, I'm wary to install iTunes 9 or 10 for various reason: compatibility with an iPhone 3 and problems syncing old music with iStore. I've upgraded iTunes before and ha [More]
I am using Firefox 24.0 in Linux Mint. I am currently doing a math test. Incorrect characters are being displayed. There are only true/false questions on this math test. The questions on it are supposed to be very easy basic algebra questions, but be [More]
A photographer has burned me a dvd with photos in NEF format. I can view them with "Quick View", but i can't copy them to my computer. I get an error code -8060 or -35. Under permissions of dvd properties it is "read only". Is it still [More]
I've got an iMac G4 PowerPC with 1 Ghz. I don't have airport, but I do have a linksys wireless-g router. I've also got a wireless laptop PC that I would like to connect with my iMac, and the printer hooked up to my iMac. How do I do this?Hello,  Go t [More]
Hi, After bouncing my session, I've always found audio to be produced is uneven. Lower volume, not clear & unbalanced sound etc. So bad music, anyway. A friend recommends that a digital recorder just like Alesis masterlink is the best gear to solve t [More]
Revision: 11027 Author:   [email protected] Date:     2009-10-20 08:50:09 -0700 (Tue, 20 Oct 2009) Log Message: Changes to enable using multiple style managers. Multiple style managers are not the default yet. Can be enabled by compiling with -creat [More]
The last frontier! I recently purchased a used G4 and have both OS 10.4 and OS 9.2 up and running. I recently installed an older version of Painter (runs well in Classic) and would like to install equally old tablet (CalComp Drawing Slate).. All othe [More]
Please help they will not refund after just one week......I've since found out that they are not an authorised reseller..... How do I report them to apple?Anybody or business can sell Apple products. If they are not an authorised Apple reseller they [More]
I am using the following to validate my data : <cfinput type="text" name="unitValue#gfmPartNumberID#" value="#qryView.unitValue#" required="Yes" validate="float" message="Unit Value must be entered [More]