Cannot see All the Ubuntu User files

Hello openSuSe Friends :slight_smile:

Here are the facts and problem :

  • Can see ALL the root files “/” of Ubuntu mounted partition in openSuSe 11.3
  • But CANNOT see ALL the files inside the user “human” folder in the mounted Ubuntu partition
  • Can only see these files inside the user “human” in the mounted Ubuntu partition
linux-ictb:/srv/www # ll -a /Ubuntu/home/human/
total 12
dr-xr-xr-x 3 human vboxusers 4096 2010-10-29 14:09 .
drwxr-xr-x 4 root  root      4096 2010-11-28 23:43 ..
lrwxrwxrwx 1 human vboxusers   56 2010-10-29 14:07 Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop
drwx------ 3 human vboxusers 4096 2010-11-05 09:54 .cache
lrwxrwxrwx 1 human vboxusers   31 2010-10-29 14:07 .ecryptfs -> /home/.ecryptfs/human/.ecryptfs
lrwxrwxrwx 1 human vboxusers   30 2010-10-29 14:07 .Private -> /home/.ecryptfs/human/.Private
lrwxrwxrwx 1 human vboxusers   52 2010-10-29 14:07 README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt

Is using & having these system :

  • openSuSe 11.3
  • Triple boot of Ubuntu, openSuSe, Windows 7

linux-ictb:/srv/www # df -h
Filesystem            Size  Used Avail Use% Mounted on  Operating System
/dev/sda5              34G   11G   22G  34% /           openSuSe 11.3
devtmpfs              968M  256K  968M   1% /dev        Don't know what is this :-)
tmpfs                 970M  4.0K  970M   1% /dev/shm    Don't know too
/dev/sda3             193G  114G   80G  59% /windows/C  Windows 7
/dev/sda2              13G   28M   13G   1% /windows/D  An unused partition, yet to be used or recovered
/dev/sda4              55G   24G   29G  45% /Ubuntu     Finally, the naughty boy that doesn't want to show all the user "human" folder files.

  • Anymore that need to included ? If yes, please tell.

Any ideas of on what is the cause(s) of this effect ?

Thanks a lot, openSuSe Friends :slight_smile:

ls -la /Ubuntu/home/human/*

or (recursively):

find /Ubuntu/home/human -ls

Thanks, please_try_again for the reply, will try again (your commands) :slight_smile:


linux-ictb:~ # ls -la /Ubuntu/home/human/*
lrwxrwxrwx 1 human vboxusers 56 2010-10-29 14:07 /Ubuntu/home/human/Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop                                                                                                                                    
lrwxrwxrwx 1 human vboxusers 52 2010-10-29 14:07 /Ubuntu/home/human/README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt


linux-ictb:~ # find /Ubuntu/home/human -ls
2892447    4 dr-xr-xr-x   3 human    vboxusers     4096 Oct 29 14:09 /Ubuntu/home/human
2892451    0 lrwxrwxrwx   1 human    vboxusers       31 Oct 29 14:07 /Ubuntu/home/human/.ecryptfs -> /home/.ecryptfs/human/.ecryptfs
2892454    0 lrwxrwxrwx   1 human    vboxusers       52 Oct 29 14:07 /Ubuntu/home/human/README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
2892465    4 drwx------   3 human    vboxusers     4096 Nov  5 09:54 /Ubuntu/home/human/.cache
2892466    4 drwx------   2 human    vboxusers     4096 Oct 29 14:09 /Ubuntu/home/human/.cache/wallpaper
2892467  436 -rw-r--r--   1 human    vboxusers   443530 Oct 29 14:09 /Ubuntu/home/human/.cache/wallpaper/zoom_1366_768__usr_share_backgrounds_warty-final-ubuntu.png
2892500    0 -rw-r--r--   1 human    vboxusers        0 Nov  5 09:54 /Ubuntu/home/human/.cache/motd.legal-displayed
2892452    0 lrwxrwxrwx   1 human    vboxusers       30 Oct 29 14:07 /Ubuntu/home/human/.Private -> /home/.ecryptfs/human/.Private
2892455    0 lrwxrwxrwx   1 human    vboxusers       56 Oct 29 14:07 /Ubuntu/home/human/Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop

Again, thanks please_try_again, I had tried your commands again :slight_smile:

Just wondering why the primary group of user human is vboxusers. That doesn’t look right. vboxusers should normally be a secondary group (so wouldn’t show up in this output).

Are you running this command as root? If not, try with sudo.
If you need to follow symlinks you can use the option L :

sudo find -L /Ubuntu/home/human -ls

Hello :slight_smile:

Wondering the same too.

Those commands were executed in {openSuSe Konsole and logged into “su” root mode.}

Right now, replying using Ubuntu operating system. Here are the commands executed in Ubuntu.


human@Ubuntu:~$ ls /home/human/
boot     Documents  examples.desktop  Notes     Public  Templates   Videos
Desktop  Downloads  Music             Pictures  script  Ubuntu One  workspace

Suppose to see these above folders in openSuSe.

human@Ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

human@Ubuntu:~$ uname -a
Linux Ubuntu 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 10:18:49 UTC 2010 i686 GNU/Linux

Will get back to openSuSe right now to execute that one.

Wondering, is openSuSe (non-debian) is also using sudo ?! Gonna try that out, though.

Thanks a lot, please_try_again (, a cute username) :slight_smile:

Executed in openSuSe os.

human@**openSuSe**:~> sudo find -L /Ubuntu/home/human -ls
2892447    4 dr-xr-xr-x   3 human    vboxusers     4096 Oct 29 14:09 /Ubuntu/home/human
2892451    0 lrwxrwxrwx   1 human    vboxusers       31 Oct 29 14:07 /Ubuntu/home/human/.ecryptfs -> /home/.ecryptfs/human/.ecryptfs
2892454    0 lrwxrwxrwx   1 human    vboxusers       52 Oct 29 14:07 /Ubuntu/home/human/README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
2892465    4 drwx------   3 human    vboxusers     4096 Nov  5 09:54 /Ubuntu/home/human/.cache
2892466    4 drwx------   2 human    vboxusers     4096 Oct 29 14:09 /Ubuntu/home/human/.cache/wallpaper
2892467  436 -rw-r--r--   1 human    vboxusers   443530 Oct 29 14:09 /Ubuntu/home/human/.cache/wallpaper/zoom_1366_768__usr_share_backgrounds_warty-final-ubuntu.png
2892500    0 -rw-r--r--   1 human    vboxusers        0 Nov  5 09:54 /Ubuntu/home/human/.cache/motd.legal-displayed
2892452    0 lrwxrwxrwx   1 human    vboxusers       30 Oct 29 14:07 /Ubuntu/home/human/.Private -> /home/.ecryptfs/human/.Private
2892455    0 lrwxrwxrwx   1 human    vboxusers       56 Oct 29 14:07 /Ubuntu/home/human/Access-Your-Private-Data.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop

Executed in Ubuntu os.

human@**Ubuntu**:~$ ls -l /home/human/
total 72
drwxr-xr-x  4 human human  4096 2009-10-04 00:45 boot
drwxr-xr-x  2 human human  4096 2010-11-28 23:45 Desktop
drwxr-xr-x  2 human human  4096 2010-11-16 05:41 Documents
drwxr-xr-x 14 human human 12288 2010-12-02 18:44 Downloads
-rw-r--r--  1 human human   179 2010-10-29 14:07 examples.desktop
drwxr-xr-x  2 human human  4096 2010-12-02 03:12 Music
drwxr-xr-x  3 human human  4096 2010-11-28 05:52 Notes
drwxr-xr-x  3 human human  4096 2010-12-02 03:12 Pictures
drwxr-xr-x  2 human human  4096 2010-10-29 14:11 Public
drwxr-xr-x  2 human human  4096 2010-12-02 19:05 script
drwxr-xr-x  2 human human  4096 2010-10-29 14:11 Templates
drwxrwxr-x  2 human human  4096 2010-11-29 06:10 Ubuntu One
drwxr-xr-x  3 human human  4096 2010-11-07 12:14 Videos
drwxr-xr-x  4 human human  4096 2010-12-02 10:05 workspace

Those are clearly not the same folder. You should execute mount under Ubuntu and under openSUSE and post the output.

@openSuSe


human@**openSuSe**:~> mount
/dev/sda5 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda3 on /windows/C type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda2 on /windows/D type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=512,default_permissions)
/dev/sda4 on /Ubuntu type ext4 (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

@Ubuntu

human@**Ubuntu**:~$ mount
/dev/sdb4 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/home/human/.Private on /home/human type ecryptfs (ecryptfs_sig=13fa31b0c5c9b985,ecryptfs_fnek_sig=d08765fa1d3e80df,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
gvfs-fuse-daemon on /home/human/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=human)
/dev/sda on /media/pd type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)

Looks like is an encryption issue ?!
Just for the info, the Ubuntu partition is mounted as /Ubuntu in openSuSe root “/”
When I had the *** Kubuntu *** installed, open up the rekonq > the rekonq then prompted the password > password was entered > every files in human folder of Ubuntu can be seen, is it an authentication issue ?!

Hmn, only the user human folder seems to be different, other root folder are the same.

Here are the verifications

@openSuSe


human@**openSuSe**:~> ll /Ubuntu/var/www/
total 20
-rw-r--r--  1 root  root       177 2010-11-05 16:03 index.html
drwxr-xr-x  2 human vboxusers 4096 2010-11-27 23:01 mperl
drwxr-xr-x  3 human vboxusers 4096 2010-11-29 03:12 qwerq
drwxrwxrwx 14 human vboxusers 4096 2010-11-29 02:19 sks
-rw-r--r--  1 root  root        20 2010-11-05 16:48 testphp.php

is the equivalent to

@Ubuntu


human@Ubuntu:~$ ll /var/www/
total 32
drwxrwxr-x  6 root  root  4096 2010-11-28 22:21 ./
drwxr-xr-x 15 root  root  4096 2010-11-05 16:03 ../
-rw-r--r--  1 root  root   177 2010-11-05 16:03 index.html
drwxr-xr-x  4 human human 4096 2010-11-27 23:00 .metadata/
drwxr-xr-x  2 human human 4096 2010-11-27 23:01 mperl/
drwxr-xr-x  3 human human 4096 2010-11-29 03:12 qwerq/
drwxrwxrwx 14 human human 4096 2010-11-29 02:19 sks/
-rw-r--r--  1 root  root    20 2010-11-05 16:48 testphp.php

Thanks :slight_smile:

You’re not mounting your Ubuntu partition under openSUSE but a different one. Replace sda4 with sdb4 in /etc/fstab on openSUSE.

Replace sda4 with sdb4 in /etc/fstab on openSUSE.

the /etc/fstab file shown is NOT in DEVICE NAME, instead it’s in DEVICE ID form
Hitachi/something-something/asdfhshshf-part-1

However I remount Ubuntu partition again, by going Yast > “System” at left panel > “Partitioner” at right panel > remount the Ubuntu partition again by setting the fstab option to use DEVICE NAME instead, finally the ubuntu device name in /etc/fstab change to
/dev/sda4

But I believe that will not work if changing /dev/sda4 to /dev/sdb4 because the /dev directory has
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
… and so on
and only have one of type “sdb” that is,
/dev/sdb

However, I still change /dev/sda4 to /dev/sdb4

And the result ?! I’m now in Windows 7 Professional, because I can no longer boot into openSuSe, the /etc/fstab configuration is wrong. openSuSe cannot verify the drive correctly…something like that, so it can no longer startup. I have to learn how to use vi to edit the /etc/fstab and change back to /dev/sda4
D*mn, why do I keep forgetting the vi command ?!

My Ubuntu now is also broken, the Gnome is not showing, because I follow this tutorial to delete human user password
Linux: Delete user password because I believe it is an authentication and encryption of the human home folder issue. It’s to do with “encryptfs”

Please_Try_Again to read these

The two commands showing the Apache Web directory, those are my own created project files, NOT the linux system files. Those 2 commands showing the existence of same folders content, that confirmed that the Ubuntu drive was mounted correctly in openSuSe.

Thanks a lot, please_try_again, I’m please to hear your solution again.

Thanks :slight_smile:

Yep. You can mount by disk ID, UUID, Label or device name. Mounting by device names is not a good idea but, as it didn’t require further explanation … I personally mount by UUIDS. You can read the UUIDs for all devices by simply typing the command: blkid. That would have helped too.

Just a silly question (that I should have asked before): how many HDs do you have?

Yep it comes to the same.

Your assumption was correct … but I couldn’t see that you didn’t have that device from a distance.

That wasn’t good (under these circumstances). :frowning:

Yes. OpenSUSE, Fedora and other Linux distros should learn how to handle such errors. Ubuntu normally ignores missing devices and wrong entries in /etc/fstab, as long as they are not needed, while Unix asks for confirmation before proceeding.

Can you not mount /dev/sda5 in Ubuntu?

sudo mount -t ext4 /dev/sda5 /mnt
sudo gedit /mnt/etc/fstab

Or boot from a Live CD ?

Or even use such a command:

cp /etc/fstab /etc/fstab.bad 
sed 's|sdb4|sda4|' /etc/fstab.bad > /etc/fstab

That wasn’t my fault. :wink:

I never uses encrypted filesystems, so I don’t know. But I guess that’s probably the cause of all your troubles.

Yes. But don’t use ll. It’s not a command, it’s an alias. It could produce diffferent results under different OS (as you might have noticed from your example). Use ls -la if it comes to compare outputs.

You can run **blkid /dev/sda4 **under openSUSE and blkid /dev/sdb4 under Ubuntu to see if they are the same device … or is /dev/sdb4 just a faked device generated by the encryption. I have no idea. :frowning:

The issue is obvious from a previous comment. The user HUMAN has encrypted it’s home directory and the key material is not available to the opensuse user. Gather your key material and unencrypt the directory via opensuse and you will see all of your content.

This directory is encrypted. Use the key material for user human and unencrypt it when you mount it in opensuse.

Thanks to please_try_again and jpugh

I will try to solve that later, cause now am having another problem with my web server :smiley: Problem seems endless, I have just installed openSuSe 3-5 days ago and used it for the very first time and I’m in love with it, because of many things like Yast, KDE programs and many many more. However, those days and until today I have been just solving problems & problems, have not started doing my work yet…
Those problems are quite commonly faced

  • Windows 7 conquered the MBR and causes openSuSe cannot be boot in, but luckily it’s already solved.
  • Another one is that the keyboard Fn key does not work for certain key like adjusting the brightness, and I have to wear sunglasses literally because the screen was in maximum brightness, luckily it was already solved too

But overall, I love openSuSe and I love Ubuntu and I love Windows 7, all of them have their own advantages and disadvantages. They complete each other.

Thanks