Unlocking folder in Dapper Ubuntu
I have Dapper 6.06.1 and have a 'locked' folder on my desktop.
Its just a bunch of photos that I transferred from XP to Mepis and then to Ubuntu on a memory stick but I would appreciate it if someone would tell me (or point me to a link) how to get rid of the 'padlock'. Thanks. Lewis. ***** |
I think that means you don't have proper access (I don't use Gnome desktop). You can probably chmod it from the command line or right click on it and see if you can change the permissions to something you can read (like 644 rw-r--r--).
|
Quote:
Assuming you have not activated the root account in Ubuntu, you would do something like this: sudo chown -R <yourname> <foldername> The translation of this gibberish is roughly as follows: Operating with super-user privileges (sudo), please change the owner (chown) for the folder named <foldername>, and all of its contents (-R), to <username>. You may also need to change permissions... For more detail--do these (in the terminal) man chown man chmod |
Quote:
Thanks for your help here, I appreciate it. I am having trouble executing these commands and it seems to be because the folder is named My Pictures. Although I have tried with using quotation marks, apostrophes and also with a hyphen in between, I still get a message 'no such file'. >>> yuio@yuio-desktop:~$ cd desktop yuio@yuio-desktop:~$ cd Desktop yuio@yuio-desktop:~/Desktop$ sudo chown -R yuio My Pictures chown: cannot access `My': No such file or directory chown: cannot access `Pictures': No such file or directory yuio@yuio-desktop:~/Desktop$ <<< I MUST be doing something wrong, right? Kind regards. Lewis. ***** |
Here's a little demo:
Code:
[root@mherring-w2k mherring]# mkdir play This also works: Code:
[root@mherring-w2k play]# chown -R root abc\ def Another trick is simply to use the wild card--as long as it is unique, you can access the directory of file name with the 1st few letters + "*". Thus, In my example, Code:
chown -R name abc* |
Quote:
Thanks for all your efforts but I'm still completely confused and cannot get anything to work. I'm seeing the folder in my Desktop, not my Home folder but when I open Terminal, it opens as:- yuio@yuio - desktop:-$ whereas I 'think' that should be yuio@yuio:-$ If so I've screwed up somewhere. Kind regards. Lewis. ***** |
I
Quote:
What you describe above is simply the prompt that normally appears in a CLI (terminal). Here is a line from you original post: Quote:
It appears that--in you more recent post, you may have a typo--ie the prompt should look more like the one in your original post. When you cd to the Desktop, you should then see: yuio@yuio-desktop:~/Desktop$ |
Quote:
I'm assuming you've tried Right Click/Properties/Permissions tab. Check all the boxes. I've unlocked a couple files like that. IGF |
Quote:
WOW!! That was too easy. :-) It worked like a charm. Many thanks. Lewis. ***** |
Quote:
Now its making more sense to me. Kind regards. Lewis. ***** |
All times are GMT -5. The time now is 05:33 PM. |