Hi, I’m anew Suse user.
I have openSUSE 11.3. I logged in as root in the konsole and I can’t change the directories in the home folder, for example I write “cd /home/java” and I get “No such file or directory” (and the directory exists).
Also I can’t copy or paste anything in the folders in “Root” from the GUI.
Any help?
Thank you.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post the output to the following:
ls -l /home
Good luck.
On 03/24/2011 07:36 AM, sharky02 wrote:
>
> Hi, I’m anew Suse user.
> I have openSUSE 11.3. I logged in as root in the konsole and I can’t
> change the directories in the home folder, for example I write “cd
> /home/java” and I get “No such file or directory” (and the directory
> exists).
> Also I can’t copy or paste anything in the folders in “Root” from the
> GUI.
> Any help?
> Thank you.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJNi0ziAAoJEF+XTK08PnB5wXIQAKB/Xys6AkM7E0Pcr1ba1qRi
VBXE+lzBJwdQiEl5ktN0uxUzDiIL2s41E14NfcHwNX/kBt2jBMbP36l2g0om310Z
4hjGdWMRhtyFasYvrOfgEMqpKml4uUifBOdMx8FgDiK8c4t2yNXZ0lZcV31a/V4c
j2mtWT9QsFPDQYXCWbcyiACISMaJZA7UfLBR4qPhnJPATgCstVTbKToAte+b+nZH
PdD42bwdkxr6v3l3F30W7+cMdsTqCtjIpbegvlIZN6fr7FxNAOqupm5i05UeYsSo
5YlQ/igY4X42LT37HNmh6IJjjqVXjbmvj8J2e4cHYUk8ullM6FTofFTdkq8TL4vD
t0dNjKHrEC9/hBLhB0Bbev7pO4TokBaUVqUFolofNYV7FQ+BDbz2zxbVzIRwQnuK
ZVTthJdoKeSlEvijfy5vPm8XYp0RyjLPIjn/UEDRBWzKrso5SrILiaJkvG/NHxxS
TqDAPFOx3pW71EyE2xiLPdDVXGZMglkLzSm3WHmxiJHq1DZMwJkk1Bx1UPxBhXus
Ko0+jRK8HScotI38R8s2eyf5TIxlB+VQ8HAEHmGd+JCuIHvHaQI3u2wZ3YjOD0Gv
WKNUDpD3GHxsAher829qsch7juSR6fRmXUts8XP3KK/3n6Xkdnd1xahCV7k4A8O4
7tn1EhAyJa0i1bDVmmvv
=+D90
-----END PGP SIGNATURE-----
ab wrote:
> Post the output to the following:
>
> ls -l /home
>
> Good luck.
Or even
ls -la /home
and
df -h
The previous posts about posting directory and file permissions are on point.
I’ll add that I’ve also faced various permission issues using Dolphin in the past, usually doing file operations on a NTFS file system created in Windows… but have been able to perform the same operations from the CLI… and despite fiddling around with permissions both as root and remounting in Windows.
So, have resigned myself to just doing those operations from the CLI.
As for your changing to your java directory, IIRC normally that directory is hidden. You probably need to “unhide” your hidden directories and files…
HTH,
Tony
Hm, /home/java means normaly that there is a user installed with username java.
Inside my home diretory:
henk@boven:~> l java
ls: kan geen toegang krijgen tot java: Bestand of map bestaat niet
henk@boven:~> l .java
totaal 12
drwxr-xr-x 3 henk wij 4096 sep 6 2007 ./
drwxr-xr-x 76 henk wij 4096 mrt 24 15:56 ../
drwxr-xr-x 8 henk wij 4096 dec 7 2007 deployment/
henk@boven:~>
My conclusion: in most systems there is no /home/java, in most systems there is no* /home/<user>/java*, in most systems there is /home/<user>/.java.
Thus @sharky02, you conclusion
for example I write “cd /home/java” and I get “No such file or directory” (and the directory exists).
is a bit strange. Please PROVE that /home/java exists, not by saying so but by showing the computer output of e.g. an appropriate* ls* statement.
It might also be interesting to see other examples where you prefarably show the* ls* and cd statements both in the same computer output.
Hi,
thanks for the replies.
My user name is systemfailure.
Interestingly, this time when I logged in as root my username was displayed as linux:/home/systemfailure # instead of linux:/home #.
The problem persists, however.
Yes, I do have a /home/<user>/java directory, I created it myself to put the JRE .bin file into it.
Here are all commands you mentioned, as you can see I can’t go into either /java or /Downloads.
systemfailure@linux:~> su
Password:
linux:/home/systemfailure # ls
.adobe Desktop .esd_auth .gnome2 .local .ooo3 .pulse-cookie .vimrc .y2log
.bash_history .directory .fontconfig .gtkrc-2.0-kde4 logs Pictures .skel .Xauthority .y2usersettings
.bashrc .dmrc .fonts .hplip .macromedia .profile .Skype .xim.template
bin Documents .fonts.conf .inputrc .marble Public Templates .xine
.config Downloads .gconf java .mozilla public_html .thumbnails .xinitrc.template
.dbus .emacs .gconfd .kde4 Music .pulse Videos .xsession-errors
linux:/home/systemfailure # cd /java
bash: cd: /java: No such file or directory
linux:/home/systemfailure # cd /Downloads
bash: cd: /Downloads: No such file or directory
linux:/home/systemfailure # ls -l /home/systemfailure
total 548
drwx------ 3 systemfailure users 4096 2011-03-22 23:25 .adobe
-rw------- 1 systemfailure users 1497 2011-03-24 15:32 .bash_history
-rw-r--r-- 1 systemfailure users 1177 2011-03-22 22:33 .bashrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:34 bin
drwxr-xr-x 5 systemfailure users 4096 2011-03-24 13:21 .config
drwx------ 3 systemfailure users 4096 2011-03-22 22:35 .dbus
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 23:19 Desktop
-rw------- 1 systemfailure users 39 2011-03-22 23:47 .directory
-rw------- 1 systemfailure users 26 2011-03-22 22:35 .dmrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 14:37 Documents
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:32 Downloads
-rw-r--r-- 1 systemfailure users 1637 2011-03-22 22:33 .emacs
-rw------- 1 systemfailure users 16 2011-03-22 22:40 .esd_auth
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:47 .fontconfig
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 .fonts
-rw-r--r-- 1 systemfailure users 530 2011-03-23 13:20 .fonts.conf
drwx------ 3 systemfailure users 4096 2011-03-24 22:04 .gconf
drwx------ 2 systemfailure users 4096 2011-03-24 22:05 .gconfd
drwx------ 2 systemfailure users 4096 2011-03-22 22:36 .gnome2
-rw-r--r-- 1 systemfailure users 338 2011-03-22 22:35 .gtkrc-2.0-kde4
drwxr----- 2 systemfailure users 4096 2011-03-22 22:36 .hplip
-rw-r--r-- 1 systemfailure users 861 2011-03-22 22:33 .inputrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:19 java
drwx------ 4 systemfailure users 4096 2011-03-22 23:09 .kde4
drwxr-xr-x 3 systemfailure users 4096 2011-03-22 22:36 .local
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 09:59 logs
drwx------ 3 systemfailure users 4096 2011-03-22 23:25 .macromedia
drwxr-xr-x 3 systemfailure users 4096 2011-03-22 23:45 .marble
drwxr-xr-x 4 systemfailure users 4096 2011-03-22 22:36 .mozilla
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 00:03 Music
drwx------ 3 systemfailure users 4096 2011-03-23 23:20 .ooo3
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Pictures
-rw-r--r-- 1 systemfailure users 1028 2011-03-22 22:33 .profile
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Public
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:33 public_html
drwx------ 2 systemfailure users 4096 2011-03-22 22:36 .pulse
-rw------- 1 systemfailure users 256 2011-03-22 22:36 .pulse-cookie
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 .skel
drwx------ 3 systemfailure users 4096 2011-03-24 22:30 .Skype
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Templates
drwx------ 4 systemfailure users 4096 2011-03-23 08:23 .thumbnails
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Videos
-rw-r--r-- 1 systemfailure users 1002 2011-03-22 22:33 .vimrc
-rw------- 1 systemfailure users 99 2011-03-24 21:03 .Xauthority
-rw-r--r-- 1 systemfailure users 1940 2011-03-22 22:33 .xim.template
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 21:03 .xine
-rwxr-xr-x 1 systemfailure users 1446 2011-03-22 22:33 .xinitrc.template
-rw------- 1 systemfailure users 314820 2011-03-24 23:02 .xsession-errors
-rw-r--r-- 1 systemfailure users 47921 2011-03-24 13:19 .y2log
-rw-r--r-- 1 systemfailure users 281 2011-03-24 13:17 .y2usersettings
linux:/home/systemfailure # ls -la /home/systemfailure
total 556
drwxr-xr-x 34 systemfailure users 4096 2011-03-24 23:02 .
drwxr-xr-x 4 root root 4096 2011-03-22 22:33 ..
drwx------ 3 systemfailure users 4096 2011-03-22 23:25 .adobe
-rw------- 1 systemfailure users 1497 2011-03-24 15:32 .bash_history
-rw-r--r-- 1 systemfailure users 1177 2011-03-22 22:33 .bashrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:34 bin
drwxr-xr-x 5 systemfailure users 4096 2011-03-24 13:21 .config
drwx------ 3 systemfailure users 4096 2011-03-22 22:35 .dbus
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 23:19 Desktop
-rw------- 1 systemfailure users 39 2011-03-22 23:47 .directory
-rw------- 1 systemfailure users 26 2011-03-22 22:35 .dmrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 14:37 Documents
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:32 Downloads
-rw-r--r-- 1 systemfailure users 1637 2011-03-22 22:33 .emacs
-rw------- 1 systemfailure users 16 2011-03-22 22:40 .esd_auth
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:47 .fontconfig
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 .fonts
-rw-r--r-- 1 systemfailure users 530 2011-03-23 13:20 .fonts.conf
drwx------ 3 systemfailure users 4096 2011-03-24 22:04 .gconf
drwx------ 2 systemfailure users 4096 2011-03-24 22:05 .gconfd
drwx------ 2 systemfailure users 4096 2011-03-22 22:36 .gnome2
-rw-r--r-- 1 systemfailure users 338 2011-03-22 22:35 .gtkrc-2.0-kde4drwx------ 3 systemfailure users 4096 2011-03-24 23:03 .Skype
drwxr----- 2 systemfailure users 4096 2011-03-22 22:36 .hplip
-rw-r--r-- 1 systemfailure users 861 2011-03-22 22:33 .inputrc
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 14:19 java
drwx------ 4 systemfailure users 4096 2011-03-22 23:09 .kde4
drwxr-xr-x 3 systemfailure users 4096 2011-03-22 22:36 .local
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 09:59 logs
drwx------ 3 systemfailure users 4096 2011-03-22 23:25 .macromedia
drwxr-xr-x 3 systemfailure users 4096 2011-03-22 23:45 .marble
drwxr-xr-x 4 systemfailure users 4096 2011-03-22 22:36 .mozilla
drwxr-xr-x 2 systemfailure users 4096 2011-03-23 00:03 Music
drwx------ 3 systemfailure users 4096 2011-03-23 23:20 .ooo3
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Pictures
-rw-r--r-- 1 systemfailure users 1028 2011-03-22 22:33 .profile
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Public
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:33 public_html
drwx------ 2 systemfailure users 4096 2011-03-22 22:36 .pulse
-rw------- 1 systemfailure users 256 2011-03-22 22:36 .pulse-cookielinux:/home/systemfailure #
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 .skel
drwx------ 3 systemfailure users 4096 2011-03-24 23:03 .Skype
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Templates
drwx------ 4 systemfailure users 4096 2011-03-23 08:23 .thumbnails
drwxr-xr-x 2 systemfailure users 4096 2011-03-22 22:35 Videos
-rw-r--r-- 1 systemfailure users 1002 2011-03-22 22:33 .vimrc
-rw------- 1 systemfailure users 99 2011-03-24 21:03 .Xauthority
-rw-r--r-- 1 systemfailure users 1940 2011-03-22 22:33 .xim.template
drwxr-xr-x 2 systemfailure users 4096 2011-03-24 21:03 .xine
-rwxr-xr-x 1 systemfailure users 1446 2011-03-22 22:33 .xinitrc.template
-rw------- 1 systemfailure users 314820 2011-03-24 23:02 .xsession-errors
-rw-r--r-- 1 systemfailure users 47921 2011-03-24 13:19 .y2log
-rw-r--r-- 1 systemfailure users 281 2011-03-24 13:17 .y2usersettings
linux:/home/systemfailure # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 16G 3.3G 12G 23% /
devtmpfs 467M 212K 467M 1% /dev
tmpfs 467M 4.0K 467M 1% /dev/shm
/dev/sda7 23G 525M 21G 3% /home
/dev/sda1 100M 25M 76M 25% /windows/C
/dev/sda2 72G 52G 21G 72% /windows/D
linux:/home/systemfailure #
Never mind, figured it out. The syntax was wrong.
Told you I’m a newbie.
The issue with not being able to create folders/copy/paste in “Root” with Dolphin still stands though. Do you know how can I do this without konsole?
Thank you again.
On 03/24/2011 10:36 PM, sharky02 wrote:
>
> Yes, I do have a /home/<user>/java directory, I created it myself to
> put the JRE .bin file into it.
why would you want to put the JRE in a directory in your home?
you are trying to do it the way you did it in another system…Linux
is not that system and you can not do things here, their way…
to install Java open YaST, go to Software Management, search on Java
and left click on the Java you want…i strongly sugges to install
the Sun Java and not the openJava…
> Here are all commands you mentioned, as you can see I can’t go into
> either /java or /Downloads
> linux:/home/systemfailure # cd /java
> linux:/home/systemfailure # cd /Downloads
you can go to /home/systemfailure/java directory, but you can NOT do
it by asking to go to /java, because those two are very different places
so try this, as yourself…you do NOT have to be root to do this:
cd /home/systemfailure/java
or
/home/systemfailure/Downloads
and you will go right in
> systemfailure@linux:~> su
> Password:
> linux:/home/systemfailure # ls
> linux:/home/systemfailure # ls -l /home/systemfailure
> linux:/home/systemfailure # ls -la /home/systemfailure
you did not give the requested output from:
ls -l /home
ls -la /home
instead you gave the results of three which no one asked for:
ls
ls -l /home/systemfailure
ls -la /home/systemfailure
and, no one asked you to do it as root…
it is VERY important to be VERY precise here…otherwise you will
eventually learn that one wrong typo as root can kill your whole
system…so do things as root only when required…only
–
DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11
On 03/24/2011 01:36 PM, sharky02 wrote:
> linux:/home/systemfailure # cd /java
If your working directory is /home/systemfailure, the above command
won’t take you to /home/systemfailure/java because of the slash at the
beginning of ‘/java’. What you want to say is:
cd java
Saying ‘cd /java’ is telling the system to go to the root of the drive.
Sort of like saying
'cd c:\java'
when you're trying to
'cd c:\documents and settings\systemfailure\java'
> bash: cd: /java: No such file or directory
> linux:/home/systemfailure # cd /Downloads
> bash: cd: /Downloads: No such file or directory
Do this:
cd
ls -l
See, no java or Downloads directories. If you preceed a directory name
with a / you have to give the full path to the sub-directory. If you’re
already in a subdirectory you just pass the name of the directory one
level deeper w/o a slash. Or you can say ./ instead. The ./ means
“this directory” so saying
cd ./java
would mean cd into the directory called java relative to the current
directory.
Hope that helps…
–
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
“In the history of the world, no one has ever washed a rented car.”
- Lawrence Summers
On 03/24/2011 01:36 PM, sharky02 wrote:
>
> Hi,
> thanks for the replies.
> My user name is systemfailure.
> Interestingly, this time when I logged in as root my username was
> displayed as linux:/home/systemfailure # instead of linux:/home #.
> The problem persists, however.
> Yes, I do have a /home/<user>/java directory, I created it myself to
> put the JRE .bin file into it.
> Here are all commands you mentioned, as you can see I can’t go into
> either /java or /Downloads.
Oh - one more thing. When you install a package, it will generally put
it in the right location itself. No need to create directories in funny
places. By convention, when you download the source for something and
want to make it globally accessible you can stash it in /usr/local/src
(or a directory under there).
For binary files, a common place to put them is /opt/bin if they’re not
a standard part of your distro. If they came from your distro’s package
manager you’ll probably find them installed in /bin or /usr/local/bin.
…Kevin
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
“In the history of the world, no one has ever washed a rented car.”
- Lawrence Summers
No need to add much here.
@sharky02: do read and understand what people are telling you above. You are making a lot of mistakes like:
. being root when you shouldn’t;
. using absolute pathes to files/directories where you think you use relative ones;
. not providing the information people asked for here by changing the statements they gave you to your own whim;
. not installing the way that openSUSE special devised to make things easy;
. and maybe more.
Please first undo everything you did before you started what you wanted to do (you did not tell what you want to achieve, but most here guess that you want to install Java on your system).
Then please come back, explain what your goal is (or directly install Java via YaST > Software > Software Management).
And about being root, read: SDB:Login as root - openSUSE
Hello.
it is VERY important to be VERY precise
I suggest you calm down and stop shouting.
first undo everything you did
I solved the problems myself eventually and said so in post #7, but it seems you didn’t bother to read it.
@Kevin Miller
Thanks for the explanations, man!
I didn’t know about the ./, I’ll definitely use it.
Cheers!