all root file folders have padlock emblem on them

Asked by John Adsit

the /root file folder & all sub folders have a padlock emblem on them, can not open the folders. I did not have ownership & permissions for the /dev/fd0 and when I tried to change the ownership & permissions , some how I got padlock emblems on the root directory. I have a computer with ubuntu 7.04 installed, no other os, single user. I have reinstalled ubuntu 7.04 from the installation CD , trying to correct this issue but to no avail.

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
marcobra (Marco Braida) (marcobra) said :
#1

That files are locked because you (the user that you are using now) is not the owner of the files.
Under /root the owner of files is root the powerful user of the system.
I suggest to .not. change owner for that files.
You can do command as root user by using "sudo" command, the sudo command will ask you a user password, you must type it (you don't see any screen chars) then press enter.
From terminal, to change owner of a file
sudo chown username <nameoffile or directory>
to change owner to all files into a directory and subdirectory and the directory itself
sudo chown -R user directoryname

sometimes changing permission of files may be better than changing owner view the usage man page of chmod
man chmod

Referring to your floppy issue: can you copy and paste your /etc/fstab contents
sudo gedit /etc/fstab

Thank you

Can you help with this problem?

Provide an answer of your own, or ask John Adsit for more information if necessary.

To post a message you must log in.