ubuntu@ubuntu:/mnt$ mkdir homedir
mkdir: Permission denied
ubuntu@ubuntu:/mnt$ sudo mkdir homedir
ubuntu@ubuntu:/mnt$ sudo mount /dev/sda3 ./homedir/
ubuntu@ubuntu:/mnt$ ls
homedir
ubuntu@ubuntu:/mnt$ cd homedir/
ubuntu@ubuntu:/mnt/homedir$ ls
lost+found  ubuntu
ubuntu@ubuntu:/mnt/homedir$ cd ubuntu/
ubuntu@ubuntu:/mnt/homedir/ubuntu$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  
hello  snap
ubuntu@ubuntu:/mnt/homedir/ubuntu$ cat hello 
ubuntu@ubuntu:/mnt/homedir/ubuntu$ ls -lhrt 
total 36K
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Desktop
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Templates
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Downloads
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Public
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Documents
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Pictures
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Videos
drwxr-xr-x 2 ubuntu ubuntu 4.0K Oct  7 16:47 Music
drwx------ 4 ubuntu ubuntu 4.0K Oct  7 16:47 snap
-rw-rw-r-- 1 ubuntu ubuntu    0 Oct  7 16:49 hello
ubuntu@ubuntu:/mnt/homedir/ubuntu$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125133

Title:
  manual partitioning re-using home partition - snaps fail to seed,
  files are present but empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2125133/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to