PDA

View Full Version : How to unlock jpeg? Permissions = fetching!?




lemondrops
Jul 3, 2012, 07:43 AM
I hope you can help.

I seem to have a jpeg file which is locked and I cannot unlock it.

I went to Get Info and I cannot uncheck the Locked box.
Under Sharing & Permissions it says "Fetching"
https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-18812857-130094/294-600/screenshot.png

Any idea what has happened and how to fix this problem?



old-wiz
Jul 3, 2012, 08:18 AM
have you tried reboot first?

ScoobyMcDoo
Jul 3, 2012, 08:38 AM
I see down at the bottom, that the only user/group that has write permissions to this file is "fetching...". I have read this has something to do with when you have upgraded your machine from earlier operating system, particularly, Tiger.

Anyway, click the "+" in the sharing and permissions and add yourself as "read & write". Or you could just give "staff" read and write and that will probably work.

If your account is not an admin, you may have to enter an admin password to change the permissions.


Edit: You might also try running a repair permissions from disk utility. Not sure if it will help or not, but won't hurt.

lemondrops
Jul 3, 2012, 09:03 AM
have you tried reboot first?

I just tried reboot and nothing changed.

----------

I see down at the bottom, that the only user/group that has write permissions to this file is "fetching...". I have read this has something to do with when you have upgraded your machine from earlier operating system, particularly, Tiger.

Anyway, click the "+" in the sharing and permissions and add yourself as "read & write". Or you could just give "staff" read and write and that will probably work.

If your account is not an admin, you may have to enter an admin password to change the permissions.

This is a brand new Macbook Pro. I only just got it last week, new model, so it isn't an upgrade problem.

I tried to add myself (I am an admin) but I did not appear on the list of names.
I've also tried amending the privileges from read only to read & write but again nothing changed.

Sigh.

ScoobyMcDoo
Jul 3, 2012, 09:05 AM
Did you try repair permissions?

lemondrops
Jul 3, 2012, 09:07 AM
Did you try repair permissions?

How do you repair permissions?

I've never had a Mac before so the system is still a bit new to me.

EDIT: I've just seen your addition to your previous post. I'm running a repair permissions now through Disk Utility. Thanks.

lemondrops
Jul 3, 2012, 09:28 AM
Did you try repair permissions?

Repair permissions have completed and nothing changed.
I tried rebooted again to see if that helped but no difference :confused:

ScoobyMcDoo
Jul 3, 2012, 09:50 AM
little bastard is being obstinate. Let's see if we can fix this with the command line. Fire up a terminal and type these commands:

cd Music/Music/Compilations/End\ of\ the\ Road\ 2011\ Compilation
sudo chflags nochg WHITE\ HEAT\ POSTER.jpg

lemondrops
Jul 3, 2012, 12:20 PM
little bastard is being obstinate. Let's see if we can fix this with the command line. Fire up a terminal and type these commands:

cd Music/Music/Compilations/End\ of\ the\ Road\ 2011\ Compilation
sudo chflags nochg WHITE\ HEAT\ POSTER.jpg



I've typed in what you said and it has come up with this warning:

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Is it okay to proceed?

http://i50.photobucket.com/albums/f307/lily_spot/b3338f19.png

ScoobyMcDoo
Jul 3, 2012, 12:54 PM
Yes, it's ok to proceed.

Just so you know, the sudo command means "Swich User then DO". When no user argument is specified, it uses the "root' or "admin" user account, which has the ability to do anything you tell it to, thus the warning. You could do the command "sudo rm -rf /" and it would wipe out your entire drive, so they give you that warning the first time you use sudo just to make sure you know what you are doing. Of course, you may say to yourself "Hey I don't know what I am doing and I am putting complete trust in some random guy on the internet" Well .. yea you kinda are .. but trust me it's ok to proceed with this command.

lemondrops
Jul 3, 2012, 01:04 PM
Yes, it's ok to proceed.

Done.
Came back with this:

chflags: invalid flag: nochg

I've check the status of the jpg and no change, tried to add myself again and change the privileges but still no joy.

:confused:

It really isn't playing ball is it!

EDIT: Thanks for the explanation :) I'd wondered what the command meant. It is a little un-nerving playing around like this with a brand new Mac, especially since I don't know what I'm doing at all...but it would be nice to fix the problem.

ScoobyMcDoo
Jul 3, 2012, 01:08 PM
Done.
Came back with this:

chflags: invalid flag: nochg

I've check the status of the jpg and no change, tried to add myself again and change the privileges but still no joy.

:confused:

It really isn't playing ball is it!

My bad, the flag is "nouchg" (notice the added "u")

lemondrops
Jul 3, 2012, 01:18 PM
My bad, the flag is "nouchg" (notice the added "u")

Hurray!
I corrected the mistake and the file in now unlocked :)

Thank you very much!

The status of Sharing & Permissions still says "fetching" though, which is a bit odd. The other files in the same folder are all linked to me, so maybe it's just some sort of weird anomaly.
You don't think this will cause a problem further down the line do you?

ScoobyMcDoo
Jul 3, 2012, 02:05 PM
Hurray!
I corrected the mistake and the file in now unlocked :)

Thank you very much!

The status of Sharing & Permissions still says "fetching" though, which is a bit odd. The other files in the same folder are all linked to me, so maybe it's just some sort of weird anomaly.
You don't think this will cause a problem further down the line do you?

Glad you got it fixed.

I don't know much about the "fetching..." issue. I have never had it on my mac. I googled it and just skimmed a bit, but did not read enough to learn much. The discussion I saw was on the apple support forum, so you might do a search over there to get some more insight.

lemondrops
Jul 3, 2012, 02:07 PM
Glad you got it fixed.

I don't know much about the "fetching..." issue. I have never had it on my mac. I googled it and just skimmed a bit, but did not read enough to learn much. The discussion I saw was on the apple support forum, so you might do a search over there to get some more insight.

Thank you :-)

Have a nice evening.