Admin password required to save certain files?

Joined
Jan 23, 2007
Messages
174
Reaction score
3
Points
18
Some of my files are making me require the admin password to modify them. There are just code files that I created in my Documents folder. They are also making me give the password to create files in certain instances. I tried running a repair permissions, but the problem is still there. I'm the only user on this computer, is there something I can do so that it won't make me keep giving the password?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Sound like you will need to change the owner of the document to your account. Do a command I (get info) on the document. At the bottom, click on the detail twisty. If the document is not owned by you. Click on the pad lock and then change to your account. Most likely you will be prompted for the pass word again.
 
OP
Jhorra
Joined
Jan 23, 2007
Messages
174
Reaction score
3
Points
18
Can I select a folder and have it affect all files within?
 
OP
Jhorra
Joined
Jan 23, 2007
Messages
174
Reaction score
3
Points
18
It shows system, unknown and everyone for the users who have permissions. When I click the plus sign to add myself, it crashes out.
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
What is the name of the document that causes the crash?
 
OP
Jhorra
Joined
Jan 23, 2007
Messages
174
Reaction score
3
Points
18
Every file within the folder does it. I tried changing the folder itself in hopes it would change everything underneath it. I don't know if it makes any difference, but I created it using terminal for a new Rails application I'm working on.
 
Joined
Sep 1, 2007
Messages
59
Reaction score
0
Points
6
Same here, with all my private files I copied over from my old PC!
Try this:
Go to the Terminal and type

sudo chown -R Yourname:admin /Users/Yourname
If this does not work, try:
sudo chown -R Yourname:staff /Users/Yourname

(the :admin for example, stands for the user group)

and if that does not work as well, see what ls -l tells you about the file.
you can always change read, write and execute permissions with

sudo chmod u=wrx,g=rx
If you don't know what all the different commands mean, then read this:
http://en.wikipedia.org/wiki/Chmod very simple and well explained :)

Try fiddeling with those permissions and also try "X" = the big X. :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top