User-dirs-dirs looked strange:

martin@ThinkPad-P14s-Gen-3:~$ cat .config/user-dirs.dirs 
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

Changing it to: 
martin@ThinkPad-P14s-Gen-3:~$ cat .config/user-dirs.dirs 
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

and running sudo xdg-user-dirs-update restored the folders with the
correct icons. No idea what caused this in the first place.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/2036597

Title:
  Strange permissions and/or links to default directories in home folder
  (Music, Pictures, Public, Templates and Videos))

Status in nautilus package in Ubuntu:
  New

Bug description:
  Can't enter these folders. This is on an almost fresh install of
  Mantic.

  martin@ThinkPad-P14s-Gen-3:~$ cd Music
  bash: cd: Music: Too many levels of symbolic links


  martin@ThinkPad-P14s-Gen-3:~$ ls -l
  total 2988
  drwxrwxr-x  3 martin martin    4096 Sep 18 12:44 bin
  drwxr-xr-x  2 martin martin    4096 Sep 19 13:48 Desktop
  drwxr-xr-x 19 martin martin    4096 Sep 18 12:42 Documents
  drwxr-xr-x  4 martin martin    4096 Sep 19 13:48 Downloads
  drwx------  5 martin martin    4096 Sep 18 16:24 Dropbox
  lrwxrwxrwx  1 martin martin      18 Sep 19 13:56 Music -> /home/martin/Music
  lrwxrwxrwx  1 martin martin      21 Sep 19 13:56 Pictures -> 
/home/martin/Pictures
  lrwxrwxrwx  1 martin martin      19 Sep 19 13:56 Public -> /home/martin/Public
  drwxrwxr-x  3 martin martin    4096 Sep 18 16:25 R
  -rw-------  1 martin martin 3029503 Sep 19 14:08 references.bib
  drwx------ 13 martin martin    4096 Sep 19 13:56 snap
  lrwxrwxrwx  1 martin martin      22 Sep 19 13:56 Templates -> 
/home/martin/Templates
  lrwxrwxrwx  1 martin martin      19 Sep 19 13:56 Videos -> /home/martin/Videos

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: nautilus 1:45~rc-1ubuntu1
  ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
  Uname: Linux 6.5.0-5-generic x86_64
  ApportVersion: 2.27.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep 19 14:19:32 2023
  InstallationDate: Installed on 2023-09-18 (1 days ago)
  InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230918)
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)
  usr_lib_nautilus:
   nautilus-dropbox                  2019.02.14-1.2
   nautilus-extension-gnome-terminal 3.49.92-2ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2036597/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to