![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
To access the contents, click the chapter and section titles.
Complete Idiot's Guide to Linux
File PropertiesAfter you create a file or folder, most of the manipulations youll perform will be in the form of renaming or changing permissions. KFM provides shortcuts to some of the operations described in previous sections by right-clicking on its icon. A context-sensitive menu will pop up to show you several options (see the next figure).
The commands in a context-sensitive menu depend on what you click onhence the name.
Renaming a File or FolderTo rename a file or folder, right-click on the file or folder and choose Properties from the menu that is displayed. This will display a panel that allows you to rename the file (see the following figure). When renaming a file, be careful not to change the files extension, if it has one. The file extension consists of the three or more characters that follow a period at the end of the filename. The extension associates the file with an application. There are many things that you should not rename. Everything inside your home directory is yours and can be renamed at will. Files in the Linux root directory or other system-oriented areas, however, should be left alone. Most users dont need to worry; as a general rule, Linux wont allow you to change anything which shouldnt be changed unless you are working in the superuser (root) account.
Setting File and Folder PermissionsThe Properties panel also allows you to modify and set the permission settings for files and folders you create. Permissions are covered in great detail in Chapter 16, Permissions: Protecting and Sharing Your Work. If you feel you need to control permissions, I recommend that you read this chapter first to understand the implications of the settings you change, as permissions is an advanced topic. This section explains how to change permissions using KFM and assumes that you understand these implications. Permissions allow you to protect your files and folders from other users. By default, files you create will have a set of permissions assigned to them. When using KDE you can change file permissions using graphical controls. To get to the permissions panel, right-click a file or a folder and choose Properties from the menu that appears. Then choose the Permissions tab (see the next figure).
Permissions can be altered a number of ways in the Permissions tab:
The panel will look slightly different depending on whether you are working on a file or a folder. If you are working on file, the permissions columns will be called Read, Write, and Execute permissions. Otherwise, they will be called Show Entries (Read), Write Entries (Write), or Change Into (Execute). Although they have a different label, their functionality is exactly the same.
In the preceding figure of the Permissions Panel, the user (owner of the file) has Read and Write permissions; members of the group assigned to the file have Read and Write permissions; and other users are able to read the file but are not able to modify it because they lack write permissions. A permission setting is enabled if it is checked. Permissions can only be assigned by the owner of the file or the superuser (root). Dont change permissions on a file or folder unless you know what you are doing. For example, if you remove the Change Into settings (Execute permissions) for a folder, you will make it impossible for any user to navigate or open files in that folder.
|
![]() |
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |