[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Mail Forwarding
- Subject: Re: [cobalt-users] Mail Forwarding
- From: "WebMost" <rdavis@xxxxxxxxxxx>
- Date: Thu Jan 6 08:02:27 2000
----- Original Message -----
From: Jason Braverman <jason@xxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 06, 2000 10:47 AM
Subject: Re: [cobalt-users] Mail Forwarding
> I am logged in as root, but the file is read only. I am only starting to
> learn unix so any information on how to edit this and save it would be
> great.
1) To make sure you are logged in as "root", do this:
su - <enter>
<type in your password><enter>
Now, you should see [root <dir>] at your prompt (where <dir> is the
directory you are in)
2) To set permissions, use "chmod <###> <file>" where <###> is the
three-digit permission and <file> is the file.
for instance:
"chmod 755 thisfile.cgi"
Here's how permissions work:
Each file has three sets of permissions. One is for the owner, one is for
the group, and one is for the world in general. That's why you have three
digits -- each digit is for owner, group, and world, in that order.
Permissions come in four flavors:
0 is no permission at all
1 is permission to execute the file
2 is permission to edit the file
4 is permission to read the file
The numbers are added to make each file permission digit. So, 5, for
instance, is a combination of 4 and 1. Thus, 5 is permission to execute or
read, but not to edit the file.
If I type:
"chmod 754 file.example"
Then I have told the system that:
the file owner may edit, read, or execute the file
the group associated with the file may execute or read the file
the rest of the world may only read the file.
Got it? Congratulations! You are now a certified geek!
Aloha
Davis
>
> Thanks!
>
> -Jason
> ----- Original Message -----
> From: "Dom Latter" <qube@xxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Thursday, January 06, 2000 9:21 AM
> Subject: Re: [cobalt-users] Mail Forwarding
>
>
> > Jason Braverman wrote:
> > >
> > > Thanks,
> > >
> > > I have a RaQ2. I do not want the local system to drop the mail and
> forward
> > > it to a second address, That is accomplished from the web interface
very
> > > easily. I want to RETAIN the mail and CC: it to anotehr address at
the
> same
> > > time. Any ideas?
> >
> > Yes, we *know* what you want to do!
> >
> > > Also, when I try to edit "aliases" with VI it will not let me save the
> file
> > > even if I issue a :w! how do I get VI to save the changes?
> >
> > Are you logged in as root? Check the permissions on the file.
> >
> > I don't want to start a Un*x editor war (probably even more tedious than
> > an OS war), but for those that think that vi is the centre of evil,
emacs
> > is available from the Cobalt site.
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>