How to unlock a folder.

Asked by guidemeintheeyesofblindness@yahoo.com

I transferred some word documents to ubuntu 8.04 from windows xp.

The new folder shows a little lock icon in the corner and I cannot edit it.

Question one- Why the hell does it do this?

Question two- How do I unlock the folder?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
fab-furnari (fab-furnari) said :
#1

Can you see the permission on those files? Try to right-click on the file -> Properties -> Permissions tab and see the owner of the file.
If you haven't the write permission, try to
sudo chown user:user file
sudo chmod u+w file
(obviously substitute user with your username and file with the filename of the document.

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#2

Sometimes documents don´t visualize exactly the same in Open Office as they do in MS Word. This is a font related issue. Please install the additional font package. Open a Terminal from Applications->Accessories->Terminal and type

sudo apt-get update
sudo apt-get install cabextract
sudo apt-get install msttcorefonts

Hope this helps

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#3

Question one - All of the files on a system have permissions that allow or prevent others from viewing, modifying or executing. A user has full permission and access to any files that they create. Since this file came from Windows, linux is not recognizing the user as the owner of this file and you do not have permission to access them.

Question two - You can change the ownership and permissions.

Please read https://help.ubuntu.com/community/FilePermissions

For folders you can user the -R option to recurse folder. Just be careful when use this ( If this is done on a folder with a symbolic link to another folder, that folders permissions will also be changed).

Ex. for home directory.

sudo chown -R user:user /home/user
sudo chmod 755 -R /home/user

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

How to install msttcorefonts

Please first enable the multiverse repository:

Open System->Administration->Software sources-> [ Tab Ubuntu software ]
enable "Software restrictecd by copyright or legal issue ( multiverse )"
Close and confirm the repository reload.

Then open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo aptitude update
sudo aptitude install cabextract
sudo aptitude install msttcorefonts

give your user password when requested, you don't see nothing when you type it, then press enter.

Always useful is the online Ubuntu doc https://help.ubuntu.com/8.04/
Hope this helps

Revision history for this message
yans (yanzpui) said :
#5

i have the same problem and event open the properties..all menu for permissions in grey color and cannot open it.
please advice step by step solutions

Revision history for this message
yans (yanzpui) said :
#6

i have the same problem and event open the properties..all menu for permissions in grey color and cannot open it.
please advice step by step solutions

Can you help with this problem?

Provide an answer of your own, or ask guidemeintheeyesofblindness@yahoo.com for more information if necessary.

To post a message you must log in.