Formating and changing permissions
Hi. Im very new with Ubuntu 9.04 as i HATE windows. My questions are
1. How do i format a HDD? 2. How can i change the permissions when trying to hide a folder? I have searched a lot of Linux forums and have tried many different suggestion but none seem to work for me. Like i mentioned, im very new to this, about 4 hours now. The reason i wish to format 1 of my HDD is so it has Linux format on it and not Windows. When i try to hide a folder, i get the message 'you are not the owner, so you can not change these permissions'. I am the owner and its not 'root'. I will be greatful for any help. Thanks in advance. |
Hi. Im very new with Ubuntu 9.04 as i HATE windows. My questions are
1. How do i format a HDD? 2. How can i change the permissions when trying to hide a folder? I have searched a lot of Linux forums and have tried many different suggestion but none seem to work for me. Like i mentioned, im very new to this, about 4 hours now. The reason i wish to format 1 of my HDD is so it has Linux format on it and not Windows. When i try to hide a folder, i get the message 'you are not the owner, so you can not change these permissions'. I am the owner and its not 'root'. I will be grateful for any help. Thanks in advance. |
1. Install gparted:
Quote:
2. What exactly do you want to modify with the folder you are talking about? |
Quote:
I wish to make the folder hidden and password protected upon view. |
Quote:
1. You can use mke2fs to create an ext2/3 file system on your HDD. 2. chmod can be used to change permissions on files/folders. Typing Code:
man mke2fs Code:
man chmod cheers, jdk |
Quote:
i found out that by putting a . (dot) infront of the folder name and then pressing Ctrl H, i can hide it from view but i want to hide it so pressing Ctrl H or something will prompt a password. can wfat im asking be done? |
These are all programs that should be already installed on your system. Yes, placing a dot in front of a filename with "make it sort of invisible" but any file manager can be set show all files including hidden ones. They are not very hidden by your method. Changing permissions is more secure.
cheers, jdk |
If gparted is not installed by default, you need to go to the command line, log in as root (su + password) and type: apt-get install gparted
Then it will appear in the menu. |
Quote:
Code:
sudo mkfs.vfat /dev/<whatever> Code:
sudo fdisk -l Quote:
Describe exactly what do you want to do. By default, no use should be able to see your files unless you grant them permissions to do so. You can use this command over any file or directory to make sure that no other user (but you) is able to read your files or enter your directories: Code:
chmod go-rwx <whatever file or dir> Quote:
Root of course can change the ownership and permissions of any file. You should only be changed permissions in the files on your home directory, the rest of the files of your system (i.e. in /etc or /usr or whatever that's not /home) do have a given ownership and permissions for a reason, and changing them could greatly damage your installation to the point of rendering it useless. Try do describe what exactly do you want to do. About the password thing, you can't password protect a directory. You could however take another approach, like use a password protected archive on an encripted partition (that you could in turn mount in whatever directory you want). |
Quote:
Code:
sudo apt-get install gparted |
Quote:
|
All times are GMT -5. The time now is 02:08 PM. |