Unlock Photos ?
- Inicie sesión ou rexístrese para enviar comentarios
This may sound daft, I put over a thousand photos onto a non re-writable dvd.
I've just loaded them onto My computor and they come up locked.Whilst I can change the permissions for an idividual picture no problem this will take hours.
Is there a way of doing the whole lot in one go?
Sure is. Open a terminal window and input
sudo chown -R `whoami`:`whoami` /path/to/images
This will make you the owner of all files recursively in the path.
EDIT:syntax fixed ...
I entered this in terminal
chown -R 'john': 'john' /john/Photos/100NIKON
and got the message chown: cannot access `:': No such file or directory
'/' is the root of the system. Your home directory is not directly at the root of the system. That is you error. Here is a right command:
$ chown -R john:john ~/Photos/100NIKON
I use "~" which denotes your home directory. It is "/home/john" if you are using the system with the "john" account.
You can do this without even opening a terminal window. Just select all the pictures, right click, choose Properties, go to the Permissions tab, and set the permissions however you want them.
:) Much better explanation. This is exactly what I'm talking about above (in the other thread). Telling a user to open a terminal is never going to fly with less technical users yet it is the default explanations we all give. We have assumed people can figure out the terminal. Now it is true most new users are at least this capable right now... but what about tomorrow? Right clicking and changing the permissions *is* be a better solution for the less technical user. Though it would be ideal if the defaults were to set different so that the files had read/write permissions rather than read-only permissions by default. In any case though... you got to start somewhere. And simpler explanations is a good start.
I'm not afraid of using a terminal but My ignorance is usualy finding and using the correct path.
However it is gratifying that such a simple problem should elicit such generous help from forum members.
That doesn't work, selecting all the pictures and right clicking the permissions tab is 'greyed' out
That's probably because you're not the owner, which means you need to do it as root. You can do this by running "gksudo nautilus" (assuming you're using GNOME) and browsing over to the folder, then change the owner in the permissions tab to you. Or you could use chown with sudo.
Assuming you're already the owner, you need to cd to the directory with the pictures and use this command:
chmod -c u+w *
- Inicie sesión ou rexístrese para enviar comentarios