File -
Used to store data of any form for an indefinate period. Some files also
contain executable data which makes them program files.
Most file systems support this type of object.
Directory -
Used to contain and organize other objects (including other directory
objects).
Most file systems support this type of object.
Symbolic Link -
Used to reffer to another object (including possibly another symbolic
link). Symbolic link objects do not have permissions, they inhert
the permissions of their destination object. When copying, moving,
or deleting a link, the actual link itself will be operated on and not
its destination.
This type of object is not supported on all file systems.
FIFO Pipe -
Used to store a small amount of data and then allow that data to be
read and removed. FIFO stands for First In First Out.
This type of object is not supported on all file systems.
Socket -
Used to send data between two processes who open this object.
This type of object is not supported on all file systems.
Block Device -
Used to reference a physical or virtual device by allowing programs
to open them and read/write data to them. Most block devices are found
in the
/dev
directory.
This type of object is not supported on all file systems.
Character Device -
Similar to Block Devices except that Character Devices are
unbuffered.
Endeavour displays permissions in the standard string format
rwxrwxrwx
, where the rwx
triplets apply
(in order) to the owner, group, and other (as seen in ls
,
see man ls
for more information).
r
- Allows reading of the object.
w
- Allows writing/modifying of the object.
x
- Allows execution of the object, or in the case
of directories it allows the searching of the directory.
S
- Sets the uSer id level to the owner of the
object instead of the user who is accessing it. This permission often
reffered to as setuid. Warning, this permission might be
unset if the owner of the object changes.
G
- Sets the Group id level to the group of the
object instead of the group of the user who is accessing it.
This permission often reffered to as setgid. Warning, this
permission might be unset if the group of the object
changes.
T
- STicky bit, allows anyone to read,
write and execute the object but not delete it.
There are two ways to change the permissions of an object:
All disk objects have a defined owner and group. You can only change the owner or group of a disk object if you are running Endeavour with the effective id of the root user.
To do this, type:
su
/usr/bin/endeavour2 &
Be careful when running Endeavour as root, since you have the ability
to modify or remove any object on the system. If you make a
mistake then your system may be rendered inoperable!
Once you are running Endeavour as root, there are two ways to change the owner or group of an object:
Endeavour Mark II is Copyright © 1997-2004 WolfPack Entertainment |