Both the answers given in the previous posts should work, just beware of the
correct syntax.

What do you mean by "locked"?

If that means that you cannot modify them, use

chmod u+w /path/to/photos/*

this will actually make writable ALL files in the directory.

If instead you're NOT the owner, use

chown -R john:john /path/to/photos

this assumes that your username is john - you can find out with the whoami
command. No need to quote the user name and no space after the colon.

If you're not the owner of the directory, you might need to do

sudo chown -R john:john /path/to/photos

You might also need to apply the chmod command afterwards.

A very useful resource is the *nix manual 'man' that will give you more
information about the various commands and their options, e.g.

man chown

man chmod

...and even

man man

Best,

-- 
Stefano

Fortune of the day: "You will stop at nothing to reach your objective, but only
because your brakes are defective."

Attachment: signature.asc
Description: PGP signature

Reply via email to