?
Solved

Can't change file permissions in home folder

Posted on 2008-10-06
3
Medium Priority
?
2,389 Views
Last Modified: 2013-11-12
I just installed OS X on this iMac and copied the clients documents from an older machine.

In the home folder, he has many documents owned by nobody:staff. These are not writable.
I tried to change them with sudo chown -R hisname:staff *
but it has not effect. then I find I can't sudo or su
When I installed the operating system I used no passwords,
su -
always reports "Sorry"

How can I change these file permissions?
0
Comment
Question by:ltcs_
3 Comments
 
LVL 10

Accepted Solution

by:
TCB1 earned 900 total points
ID: 22654289
You can't use Disk Utility to repair non-system file permissions, or running that would be an easy fix. To repair permissions outside of system folders, you need to do it with the chmod command. If you are having trouble with the sudo command, then you may have to boot into single-user mode and run the command.

To boot into Single-User mode, restart the mac while holding the command and s key at the same time.
0
 
LVL 53

Assisted Solution

by:strung
strung earned 600 total points
ID: 22654775
See if this helps: Batchmod:  http://www.macchampion.com/arbysoft/Welcome.html
0
 

Author Comment

by:ltcs_
ID: 22655253
hey thanks for the link. I fixed the permissions by simply making a copy of all of his documents (all 12 gigs of them) but am still kind of perplexed as to why I can't su or sudo
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question