[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ3 Permission Denied saving MIME.TYPE



> Hi -
> I searched the archives and learned how to add the
> Shockwave/Flash MIME type to my server. . .I
> downloaded Telnet for my Mac, and successfully logged
> in as:
> LOGIN:  admin
> PASSWORD (my current admin password).
> 
> It takes me right in, and I successfully went to the
> etc/httpd/conf/ area, and did "pico" on the mime.type
> file . . .I added the application/x-shockwave-flash
> mimes type and the swf extension.  The telnet window
> shows the file is "MODIFIED", and when I click EXIT,
> it says "Save Modified Buffer", and I click YES . .
> It then says "File Name to Write:  mime.types
> 
> I hit ENTER, and it says:
> [Cannot open file for writing:  Permission Denied]
> 
> I'm not sure what I'm going wrong - I'm new to the
> RaQ3, new to TelNet, and I'm trying to follow the
> instructions that I've found in the archives.
> 
> THanks in advance, again.
> Fred 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>

Hi Fred,

you have to gain root rights first before editing this file.

After loggin in as admin, type this:

su -

Do type it like shown above (with blank between su and '-').
Now type in the admin password again. You will see, the prompt changes from
[admin@server] to [root@server]

Now you are the super-user on your machine. But be careful: You will be able
to remove files without being prompted.

Afterwards do the pico-thingy...


By the way, take into consideration that any transmissions, even your
passwords, are done in plain text in telnet mode! (which is insecure).

Get SSH for encrypted, secured telnet transmissions. Search the cobalt-list
archive, knowledgebase on SSH.

Keywords are: OpenSSH, secure shell, SSH

[Hello Mac-User:] Check for MacSSH at http://versiontracker.com
It's simply first choice for telnet and/or ssh sessions.

Apart from that, I wonder, if you really need to set this mime.type. Just
put your .swf file into the /web directory of one of your virtual servers.
If your browser is set up correctly (as default after installing Flash or
Director PlugIns) it'll work fine without changing mime.types.

Feel free to contact me directly...

Hendrik.