|
Beating the permissions game for single folks
Can someone give a single person an overview on how to beat the permission nightmare?
I'm single, no kids, no one here. No one touches my computer. Yet even after doing a repair permissions and rebooting, my mac HD internal everything permission wise is grayed out. And I can't figure out how to change that. and On one external drive ownership and permissions is grayed out. I'm exasperated. I would pay triple for and OS for single people. |
Ps:
10.4.1 |
You really need to be more specific. What on earth do you mean by "my mac HD internal everything permission wise is grayed out"?
|
You are connected to the internet. If you were to log your connection to the outside world, you'd find that hundreds, if not thousands, of people are *trying* to touch your machine all the time. Granted, most of them are looking for certain Windows exploits, but there's always the chance that some *BSD vulnerability might not yet be patched, and should that ever happen, it would probably be a rather stupid idea to have made the attacker's job easier by disabling permissions... |
You've already lost the game if you think the goal is to "beat" permissions. Understand them and the need for them first; then you won't have any problems.
|
You are, perhaps, the only human who uses your machine. I'm the only human who uses my laptop. You are not, however, the only user of your machine. The division of responsibilities and roles is an important part of why OSX is as secure as it is. You have access to everything you need access to. Out of curiosity, what part of the permissions are you trying to change? |
If you just want to have your files permission-free, add a second hard drive, or create a second partition on your existing drive, and use the Get Info box to set "Ignore ownership on this volume." You can move your data to it, but not your OS or applications. I run my machines this way so that multiple users can access the same photos, music, etc. And I keep my firewall ON.
|
You can find out what users are on your machine just as easily simply by doing a Get Info on any file in the Finder and checking out the Owner menu under Ownership and Permissions. |
Ok, I had that box checked to ignore ownership, but then that was causing havoc when trying to clone. So I've unchecked that all my HDS.
thanks for insightful replies. Let me be more specific. I have mac internal drive and two external FW Lacies. Right now: Mac internal: ownership and Permissions, you can read and right : this is grayed out. the dropdown I cannot even access or pull down. Below that Details: it says system, not my user name. group says admin. On external HD 1, everything looks better. ownership and permissions says read and write and is not grey out. details: says kevs access read and write group kevs same things. But if this was grayed out what do you do? I don't know how to get the first drop down to be black and available when it's grayed out. And then I have certain folders that everything is grayed out as described with my internal Mac HD. I can't even copy stuff into them. I guess I'm asking what is the trick to let the machine know that is me, Kevs , here and that all folders and HD, should be able to read and write. |
You know that you are supposed to save your personal data inside your home folder? Whether you are alone or not, you home is where you live.
|
|
Seems right for the behavior of the internal drive to me if it's your boot drive.
And it makes perfect sense have directories not writable to as a user (admin or otherwise) on the boot drive. It is dangerous to modify permissions if you have no idea what the right permissions should be. |
In this case, however, the permissions you are running into have another effect besides security: they help improve the system's stability by ensuring that important files are not going to be messed with. If you cannot modify a file, then neither can any app you run, including Trojan horses and spyware or even innocent bugs in legitimate software. Certain software can get around this if you enter an admin password, but that is a mixed blessing: it lets installers and the like work properly, but it also makes the system vulnerable to bugs in those programs. |
Don't believe me? Read about the end result for yourself (ignore the flame war that occurs later in that thread). Basically, you don't need write access to /System. If you do need to modify it at some time for whatever reason (say if the Extensions.mkext file gets corrupted, or some installer sticks something in /System/Library/Extensions that is causing problems), the Finder will let you do it with a quick type of your admin password, even if you don't have write access to the folder. |
Some days I think the system folder should be the .system folder...
|
|
Thanks for insightful replies.
Here is a quickie, excuse my ignorance. I'm trying to delete a folder on a external drive but it says I don't have sufficient prileges (even though I'm the only one in universe who knows about this folder) anyway: it says owner is system. I change it to kevs, I click apply to enclosed items. I think comes up saysing it's appying permissions. I try to delete. message says are you sure?. I say yes, but still says can't delete it, and then the owner goes back to system. |
The Finder has a few bugs with regard to changing permissions. If you do it from the terminal it should stick. You might also consider changing the permission, then logging out and back in.
Chris |
I stay away from terminal. thanks. anyone else?
BTW, reparing permissions is only for mac boot HD, right? always greyed out for not boots ones for me. |
I still don't think you get what's going on here. It doesn't matter if you own a folder or not. On 10.3, the Finder pops up a dialog asking for your password if you don't have permission to do something. And BTW, when it says that the group is admin, that means YOU. The owner is a member of admin. That's why it says you can read and write on the boot volume. You don't own it, but you can change it however you please. What difference does it make if you own it? |
|
|
With that said, though, for Cocoa/Carbon development I seem to be manually adding frameworks from /System/Library/Frameworks more often than the libraries in /usr/lib, although I realize that this will vary depending on what you are doing, and also /usr is fewer keystrokes than /System. Regarding the headers, I usually read them either in the Terminal or using Spotlight (which I had to do some messing around with to get it to index /usr... argh...). |
There's a great app called BatChmod that lets you change permissions graphically. |
|
Anyway, to get back on topic, if you're using 10.3 or later (and you say you're using 10.4.1), then the message that tells you that you don't have permission to drag the folder into the Trash should have an "Authenticate" button on it. Just click that button, enter your password, and voilà, it'll move the folder to the Trash regardless of what its permissions were, unless the external drive you mention is something read-only like a CD-ROM.
|
|
Why make this harder than it needs to be? |
|
thanks:
Is batchamod good for Tiger? Was talking to Apple rep today. I just started doing backup clones from one external FW HD to another, and it seems on the backup clone, there are some folders that I cannot change permissions no matter what. Do you think that could have been the fault of the back up software?? (retrospect) The Apple guy thinks that my entire net info data is bad and I should do a full erase install (not an archive and install) that would be a hellofa lot of work. Thanks for great comments here. |
|
Have you tried running DiskWarrior if you have it, or Disk Utility's First Aid feature if you don't, on the external drive? |
|
Here's my situation (by now everybody knows what I think about permissions and privileges so I'll refrain from talking about the philosophycal part of it again):
Both my girlfriend and I are designers and share the same computer at home. Each one has its own account, I like this a lot since I prefer to have my general preferences, Desktop and palette layouts in applications untouched by anyone else, etc. Sometimes we get freelance assignments where we both have to work on the same project. She works in her profile, I like to work in mine. Now here's the problem. We can't find a way of working in the same files without permissions and privileges getting in our way all the freaking time. I thought that by putting everything in Users/Shared we wouldn't have to deal with that nightmare but I was wrong. Files or folders that one user creates are Read Only by the other which completely defies the purpose of a “shared” folder. I heard something once about creating a new group and making all users part of that group with read and write privileges. Is that the solution? If so, how do I create a new group? I'd rather have a simpler less geeky more efficient solution, of course....thanks in advance. |
Is hers an admin account? If so, she should be in the admin group. When you make a new folder, get info on it and make sure the group is set to admin, and that group has read and write permission. I don't know how to make new folders' groups admin by default, though.
If she's not in the admin group, you can put her in it with the NetInfo Manager in /Applications/Utilities. |
Thanks wataru. I checked Users/Shared (which is where we've been putting all our stuff) and its group is wheel. Should I change that to admin?
|
Another thing you could try that wouldn't require making your girlfriend an admin would be to make a disk image in /Users/Shared, mount it, get info on the mounted disk image, and check the "Ignore ownership on this volume" check box. Now you have a little sandbox that either of you can write in. |
Incidentally, it looks like the wheel group only includes root by default.
|
Chris |
To create a group, use Sharepoints. Chris |
And now, for solution #312749: Folder Actions! Grab this little AppleScript that I wrote, save it in /Library/Scripts/Folder Action Scripts, right-click on your /Users/Shared folder, choose "Attach Folder Action", and choose the script. Then, every file you put in that folder should be made writable to everyone. |
Charles: thanks, don't think it's the external drive. I just notice that the backup external has some folders that wont let me change permissions. why, I have no idea. I'm sure the drive is ok. was wondering: why would the source drive be ok, but then you clone, and the target drive has a folder say you cannot change access to it -- the Apple guy says he think net info database is bad-- concur? |
I don't concur. That really doesn't sound like an OS problem. If there were something wrong with the NetInfo database, quite likely you wouldn't be able to log in.
What happens if you drag the folder to the Trash, then click the "Authenticate" button and enter your password? |
If the external hard drive is where the problem is, and it's for backups, why don't you just format that drive (i.e. wipe it completely), and re-clone it?
When you re-clone your main drive, DON'T use Retrospect. Use Disk Utility or Carbon Copy Cloner, or SuperDuper instead. Also, once you've recloned your system, then if you're still having other problems with your system, you should do an erase and install and start over from scratch. You can boot from your clone in the meantime to do everyday work while you're redoing your system. |
CharlesS, thanks for the script!
I'll try it tonight, thanks. |
|
CCC will work if you run it as root. (Found that out from somebody else here... can't remember who though)
|
Charles:
this folder just wont let me have permission, I try everyting etc, just wont let me in. So I think I do what Person man says and erase it. Is it much better to erase a drive with disc utility, than just selecting everything and clicking erase? also, I just got super duper a bit after I got retrospect. Why do you think it's better for cloning? |
You're not saying very much. What are you DOING? What DOES happen when you do that? When attempting to trash a folder you don't own, you should get a dialog window titled Authenticate, saying (quote): "Finder requires that you type your password." So... are you seeing that, or not? Describe exactly what you do and what happens. (Pretend we can't see your computer) You would rather erase everything, than learn to use a few Terminal commands? Good luck... let me know how it turns out. |
^ Indeed. This is about the point where if it were someone I knew, I'd start asking him to turn VNC on.
|
| All times are GMT -5. The time now is 02:59 AM. |
Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.