1.

Solve : Renaming or Chown, on Ubuntu6.06?

Answer»

:-?
HI, can anyone help please?

This may be more of a Unix/Linux admin issue than Ubuntu, but on Ubuntu6.06,
I am having trouble renaming the directory (note . & _):
xyz/j2re.1.4.2_08 to the name: xyz/jre.
(the operation has to be carried out by a specific user eg. XYZAdmin)
It can't get done as XYZAdmin: permission denied;
I tried even as root, but the operation is not allowed.
Can't remember the exact message,... but for some reason it can't be modified.

Also is there some way to change the autocompletion?
Normally the ESCKey gives a list of all possible way to complete the command line argument,
on Ubuntu it has to be pressed at least 3 times to get the list and when continuing to complete
some of the last typed characters get erased (eg. the _08 above);
and then to select a choice, the enter key has to be pressed twice... ¿?
:-?

Thanks a lot, for the advice...
Quote

I am having trouble renaming the directory (note . & _):
xyz/j2re.1.4.2_08 to the name: xyz/jre.
Check the permissions, by doing ls -l xyz from the folder that contains xyz. Chances are, no one has permission to change the folder. But root can of COURSE grant permssion to itself.

Quote
Also is there some way to change the autocompletion?
Absolutely, but there are many different ways to change it. You need to read the bash manual: info bash Then you can set it up the way you want it.Hi Rob,
Thanks for the reply.
even with chmod 777, Root can't change this EITHER. The error message is:
Bareword "j2re" not allowed while "strict subs" in use at (eval 1) line 1.
Any idea what it means??
I've found "strict subs" in vcs1, but can't read this,
it's a "c" not a file of directory...
:-?

will look at info bash.

thanks a lot
Puzzling. Are you changing this from a file EXPLORER or from the shell?Hi Roy,

I'm changing it from a shell.
It seems 'strict subs' has to do with some pragma settings...
I'm trying the options of using a symbolic link, or
moving the contents into a dir root creates,
but the mv takes the entire j2xxx... directory into the jre dir...
Any suggestions?
do you know what the c in crwxrwxrwx is?
:-?

thnx a lotQuote
Hi Roy,
Who's 'Roy'? :-?

Quote
do you know what the c in crwxrwxrwx is?
It's a "character special" file, not a normal file, and not a directory. Can you tell me: why do you want to rename this file? Something somewhere in the Java installation will be dependent on this file, so you can't just rename it willy-nilly.I am sorry ROB!... your name has roy at the end, and I must have written it because of that.

The installation requires the name that way.
I got it right with some trick moves, but I think it works with a symbolic link too.

For anyone wanting to use the fast auto-completion: the tab key has to only be touched once to get the completed file name.

Thanks ROB!

For the info of all, Ubuntu installs well on an Acer 5601, maybe only the sound doesn't work. But WIfi is done automatically.


Have a good day wherever you are.


Discussion

No Comment Found