Home folder icons are black-and-white symbolic icons with the Adwaita icon theme

How can I get the standard colored Gnome Adwaita folder icons when I select the Adwaita icon theme?

When I select Adwaita (default) as my icon set in GnomeTweaks, all of the icons displayed in Nautilus in my home folder are black-and-white symbolic icons.

I reinstalled the adwaita-icon-theme package, but this did not solve the problem.

There is only one places folder inside my Adwaita icon theme.

find /usr/share/icons/Adwaita -name places /usr/share/icons/Adwaita/scalable/places 

I looked in /usr/share/icons/Adwaita/scalable/places, and I see the same black-and-white symbolic icons:

ls -1 /usr/share/icons/Adwaita/scalable/places folder-documents-symbolic.svg folder-download-symbolic.svg folder-music-symbolic.svg folder-pictures-symbolic.svg folder-publicshare-symbolic.svg folder-remote-symbolic.svg folder-saved-search-symbolic.svg folder-symbolic.svg folder-templates-symbolic.svg folder-videos-symbolic.svg network-server-symbolic.svg network-workgroup-symbolic.svg start-here-symbolic.svg user-bookmarks-symbolic.svg user-desktop-symbolic.svg user-home-symbolic.svg user-trash-symbolic.svg 

(I am using Ubuntu 19.04, and I have the gnome-session package installed).

Here is a screenshot of my home folder:

Screenshot of home folder showing black-and-white symbolic folder icons

Do world-writable systemd .service files created as symbolic links in /etc/systemd/system impose a security threat?

Do world-writable systemd .service files created as symbolic links in /etc/systemd/system impose a security threat?

Would it be possible to somehow modify the links to target arbitrary .service files on the system, and make systemd execute those files as root?

The permissions for the /etc/systemd/system directory is as follows:

drwxr-xr-x. 11 root root 4096 Aug 30 12:57 /etc/systemd/system/ 

and the world-writable links in this directory are:

1050594    0 lrwxrwxrwx   1 root     root            9 Apr  9 11:53 /etc/systemd/system/ctrl-alt-del.target -> /dev/null 1050595    0 lrwxrwxrwx   1 root     root            9 Apr  9 11:54 /etc/systemd/system/sensu-server.service -> /dev/null 1052003    0 lrwxrwxrwx   1 root     root            9 Apr  9 11:54 /etc/systemd/system/sensu-api.service -> /dev/null 1052037    0 lrwxrwxrwx   1 root     root            9 Apr  9 11:55 /etc/systemd/system/dataeng.service -> /dev/null 

Processing triggers for libc-bin (2.28-0ubuntu1) … /sbin/ldconfig.real: /usr/lib/libgraph.so.1 is not a symbolic link

Can someone help me with this problem i have been facing this problem since i have installed libgraph-1.0.2 in my Ubuntu 18.10. Actually i was trying to use graphics.h library in my program so while installing this libgraph for letting the graphic library work with my c++ using SDL.

it would be great if some one would help me through this i am trying to solve this problem from last 2 days. i have searched the whole internet to sort out this problem. and yeah this is my first time on askubuntu.

i am facing this problem in many different installations in ubuntu like the below one when i was installing OpenGL

b_cass_@BCasS:~$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev

Reading package lists… Done Building dependency tree Reading state information… Done libglu1-mesa-dev is already the newest version (9.0.0-2.1build1). libglu1-mesa-dev set to manually installed. The following packages were automatically installed and are no longer required: libhdb9-heimdal libkadm5clnt7-heimdal libkadm5srv8-heimdal libkafs0-heimdal libotp0-heimdal libsl0-heimdal Use ‘sudo apt autoremove’ to remove them. The following additional packages will be installed: freeglut3 libegl1-mesa-dev libgl1-mesa-dev The following NEW packages will be installed: freeglut3 freeglut3-dev The following packages will be upgraded: libegl1-mesa-dev libgl1-mesa-dev mesa-common-dev 3 upgraded, 2 newly installed, 0 to remove and 88 not upgraded. Need to get 927 kB of archives. After this operation, 1,078 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1http://ppa.launchpad.net/system76/pop/ubuntucosmic/main amd64 libgl1-mesa-dev amd64 18.2.8-0ubuntu0~18.10.2pop1 [54.2 kB] Get:2http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 freeglut3 amd64 2.8.1-3 [73.6 kB] Get:3 http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 freeglut3-dev amd64 2.8.1-3 [124 kB] Get:4http://ppa.launchpad.net/system76/pop/ubuntucosmic/main amd64 mesa-common-dev amd64 18.2.8-0ubuntu0~18.10.2pop1 [608 kB] Get:5http://ppa.launchpad.net/system76/pop/ubuntucosmic/main amd64 libegl1-mesa-dev amd64 18.2.8-0ubuntu0~18.10.2pop1 [67.6 kB] Fetched 927 kB in 9s (104 kB/s) Selecting previously unselected package freeglut3:amd64. (Reading database … 429037 files and directories currently installed.) Preparing to unpack …/freeglut3_2.8.1-3_amd64.deb … Unpacking freeglut3:amd64 (2.8.1-3) … Preparing to unpack …/libgl1-mesa-dev_18.2.8-0ubuntu0~18.10.2pop1_amd64.deb … Unpacking libgl1-mesa-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) over (18.2.8-0ubuntu0~18.10.2) … Preparing to unpack …/mesa-common-dev_18.2.8-0ubuntu0~18.10.2pop1_amd64.deb … Unpacking mesa-common-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) over (18.2.8-0ubuntu0~18.10.2) … Preparing to unpack …/libegl1-mesa-dev_18.2.8-0ubuntu0~18.10.2pop1_amd64.deb … Unpacking libegl1-mesa-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) over (18.2.8-0ubuntu0~18.10.2) … Selecting previously unselected package freeglut3-dev:amd64. Preparing to unpack …/freeglut3-dev_2.8.1-3_amd64.deb … Unpacking freeglut3-dev:amd64 (2.8.1-3) … Setting up freeglut3:amd64 (2.8.1-3) … Setting up mesa-common-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) … Setting up libgl1-mesa-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) … Processing triggers for libc-bin (2.28-0ubuntu1) … /sbin/ldconfig.real: /usr/lib/libgraph.so.1 is not a symbolic link

Setting up libegl1-mesa-dev:amd64 (18.2.8-0ubuntu0~18.10.2pop1) … Setting up freeglut3-dev:amd64 (2.8.1-3) …

Look at those bold ones. I got this error also when i was installing opencv.please solve it.

Is it possible to change the permissions for the symbolic link?

I am trying to change the permissions for the symbolic link.

Making directory and symbolic link

As how you can see in the image, the soft link has 777 permissions, but i would like to change that.

I tried to change that by:

  1. chmod 755 someLink – but this changes linked directory (someDir) permission.
  2. chmod -h 755 someLink – this brings eroor chmod: invalid option --'h'

Is there a way how to change symbolic link permissions? I am on Ubuntu 18.04

Many thanks in advance

How do you create a symbolic folder link in quick access for a non admin user?

Some colleagues of mine have been having problems renaming quick access folders on a Windows 10 machine.

They want to rename just the quick access folder whilst maintaining the network folder name it links too.

e.g. Network drive\folder

quick access comes up as “folder” in this scenario. However for example they rename the “folder” in quick access to “johns folder” but it causes the folder on the network to be renamed as well to “johns folder“. So both now quick access and the network folder are renamed to “johns folder“. Is there a way to isolate this just to rename the quick access link.

Furthermore this needs to be done without the restriction of Admin privileges.

I have tried two different pieces of software “symbolic link creator” and “Linkmaker“. Both good pieces of software for symbolic linking folders, however they need admin privileges to run. If anyone knows any software or ways that doesn’t involve the use of admin privileges that would be much appreciated.

Debugging how symbolic link is getting broken in ubuntu 16.04?

I have a symbolic link of the form

ubuntu@platform1:~$   ls -lrt total 28 drwxr-xr-x  4 ubuntu ubuntu 4096 Mar  2 15:02 deploy lrwxrwxrwx  1 ubuntu ubuntu   14 May 25 18:27 logs -> /var/log/arkin 

Disk layout

ubuntu@platform1:~$   df -h Filesystem                    Size  Used Avail Use% Mounted on /dev/mapper/vg-var            853G  3.7G  806G   1% /var /dev/mapper/vg-var+log         49G  1.1G   45G   3% /var/log /dev/mapper/vg-var+log+audit   20G   60M   19G   1% /var/log/audit /dev/mapper/vg-home            30G  6.5G   22G  24% /home 

But many times I am observing that symbolic link is changed to

drwxr-xr-x  6 ubuntu ubuntu 4096 May 31 08:41 logs 

Can someone let me know if there is a way to enable audit logs on the folder /home/ubuntu/logs so that I can get some idea which operation is breaking the symbolic link and creating a new /home/ubuntu/logs or some other ways I can debug this problem?

  • Filesystem – ext4
  • OS – Ubuntu 16.04

why my script in /etc/init.d with K symbolic link in rc0.d and rc6.d and S symbolic link in rc5.d is not working on shutdown?

I’m writing a script which I want to run before every shutdown of my ubuntu system. I have placed my script named myscript inside /etc/init.d folder and then created symbolic links in rc0.d and rc6.d as K01myscript and S01myscript in rc5.d. But the problem is that the script is not running at all.