I already have cuda 7.5 and am trying to install 10.0 following the answer at How to safely upgrade CUDA 7.5 to 8.0?. Should I install a symbolic link and what is a symbolic link?
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:
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
So I have
f[x_] := g[x]/g'[x] FullSimplify[Integrate[f[x], x]]
and I’m trying to get F(x) in terms of g(x) but it gives the random expression below as output
1/4 (x^2 + 2 Log[x])
How would I get F(x) based on g(x) to be returned?
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.
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:
chmod 755 someLink– but this changes linked directory (someDir) permission.
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
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.
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
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
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.
I am looking for a way, if it exists, to know if a the path to a folder is a symbolic link or the original path to the folder.
Is there such a thing ?