Skip to main content

Questions tagged [symbolic-link]

A symbolic link or symlink is a special type of file that contains a reference to another file or directory as an absolute or relative path. For most operations, symbolic links are transparent and the read or write operations on symbolic link files are redirected to the files that symbolic link files link to.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

ln: failed to create symbolic link. Operation not permitted

I have this problem when I put this: ln -s ../../data/*EOF . ln: failed to create symbolic link './S1A_OPER_AUX_POEORB_OPOD_20210510T121540_V20210419T225942_20210421T005942.EOF': Operation not ...
Claudia's user avatar
0 votes
1 answer
28 views

Why does `dpkg -S` return `no path found` when path begins with `/usr/lib/` but succeeds starting with `/lib/`?

I'm trying to find the package that installs libnss_mdns4_minimal.so.2 using dpkg -S. The output says no path found when the file path begins with /usr/lib/ but succeeds when it begins with /lib/. I'm ...
mpboden's user avatar
  • 1,609
-3 votes
0 answers
34 views

Broken Link: Can not open this File because it is Broken Symlink [closed]

I installed Ubuntu, I'm learning it and trying to get used to linux, but I keep getting problems.
Nedzhmetin Nedzhmiev's user avatar
0 votes
0 answers
94 views

nvme SSD is missing in /dev/disk/by-path on the ubuntu 22.04

issue : Missing NVME disk in the /dev/disk/by-path/ OS ver : Ubuntu 22.04 ( 5.15.0-78-generic ) systemd version : 249.11-0ubuntu3.12 nvme disk vendor : Samsung PM1733a RI 1.9TB/3.8TB The nvme disk ...
Sooyong's user avatar
0 votes
1 answer
63 views

creating symbolic link

Screenshot I was trying to create a symbolic link named lsfic6 in test directory of the file fic6 located in test/rep1/rep4/, so I ran: ln -s test/rep1/rep4/fic6 /home/user/test/lsfic6 I see that the ...
Nabil Sebtaoui's user avatar
0 votes
0 answers
78 views

Too many levels of symbolic links - moving a Windows installation

I have an NTFS drive containing a bootable Windows 10 drive C installation. In Ubuntu 22.04, I am using Files (is it still Nautilus?) to move that installation to another NTFS drive. Within that ...
Ray Woodcock's user avatar
1 vote
0 answers
94 views

Home folders are appearing on the desktop

Every time I login to Ubuntu, I see all the Home folders: Documents, Downloads, Videos, Music, etc. are all appearing on the desktop with red cross mark. It is not a shortcut, if I delete them on the ...
Raviteja K V N S's user avatar
0 votes
0 answers
38 views

gnome-terminal doesnt open [duplicate]

I decided to update python from 3.10.? to 3.12.0 (downloaded and compiled), after that i noticed my terminal doesn't start. Tried several solutions but no luck, i run terminal commands in visual ...
elanozturk's user avatar
0 votes
1 answer
75 views

How to create alias for a sub-folder to point to the parent folder?

I need to make a folder with name ./public/sop behave like it is ./public. I tried ln -s ./public/ ./public/sop and there were no errors. But it doesn't work. ls ./public/sop does not show the other ...
Old Geezer's user avatar
0 votes
1 answer
31 views

Weird Arrow elbems showing up in Caja

Wierd Arrow emblems are showing up in Caja, also in ls in Terminal these directory are highlighted light blue, but it seems that they are not a link at all. Output of ls: Gui: I'm using Ubuntu MATE ...
someuser's user avatar
1 vote
1 answer
201 views

Bulk rename symlinks in home folder?

When installing Linux on a new SSD, I created a user newuser with a different name than on the old system olduser. I successfully rsynced all the files from the old to the new SSD's home partition. ...
winkmal's user avatar
  • 136
0 votes
1 answer
233 views

Firefox can't read or write to directories symlinked across partitions

Using Ubuntu 22.04, I installed firefox from the mozillateam ppa (current installed version is 118.0.1). I have data stored on /dev/sda1, mounted as /data, and Ubuntu 22.04 installed on /dev/nvme0n1p2....
Robert McDonald's user avatar
1 vote
0 answers
352 views

Fatal error with usrmerge while upgrading to 22.04: duplicated locations of libssl and libcrypto files

I am finding what it seems a common issue when upgrading Ubuntu versions - a usrmerge fatal error which also prevents the correct symlink assignments. An indication that there was something wrong with ...
user1728935's user avatar
-3 votes
1 answer
100 views

Only an expert can solve this [closed]

I tried to mount my /dev/sdc HDD to /home. Then I tried to create a symlink to /home because my sdc HDD is 16tb. Basically, I got what I wanted, but now everything is complicated: wget doesn't work. ...
Uploadkom's user avatar
2 votes
0 answers
160 views

Empty XDG user directories turn into symbolic links

For some reasons, when an XDG user directory (i.e., Desktop, Downloads, Templates, Public, Documents, Music, Pictures, or Videos) is empty, it turns into a symbolic link after some time. Below is an ...
TVG's user avatar
  • 337
0 votes
0 answers
318 views

error opening directory too many levels of symbolic links

Ubuntu 22.04. It's giving an error opening directory too many levels of symbolic links. Please help
akash.venu8390's user avatar
1 vote
1 answer
136 views

Files app aka Nautilus shows lots of strange file icons and is slow

After I ran fsck the Files app aka Nautilus in Ubuntu 22.04.3 LTS always takes approx. a minute to startup and then shows approx. 50-100 file icons/symbols in the left sidebar. How can I get rid of ...
eatmydust's user avatar
2 votes
2 answers
253 views

Changing the location of Trash to a different disk?

In a computer with Ubuntu 22.04, I have the OS installed in a SSD (first disk) and I have a 10Tb Hard Drive (second disk) for large storage. I am trying to find what is the best way to have the Trash ...
SvanK's user avatar
  • 21
3 votes
2 answers
3k views

home/user/Desktop and Public Folders Show as Type Link (broken) (inode/symlink)

Ubuntu 22.04 LTS asked me for an update which I did and apparently everything went ok but upon restarting all my home folders appeared in my Desktop. Looking into my home folder I found out that home/...
Ventolinmono's user avatar
0 votes
0 answers
1k views

Too many levels of symbolic links

enter image description here I have installed Ubuntu 22.04. It's giving an error opening directory too many levels of symbolic links as shown in attachment. I am a newbie. Please help.
akash.venu8390's user avatar
7 votes
3 answers
2k views

Home directories turned into symbolic links without telling me the reason

it was a normal day for me like any other day and I decided to open my Laptop for work and what I see the first is the following: Then, I tried to find out what happened to these folders through the ...
Ayush's user avatar
  • 282
0 votes
1 answer
60 views

How to create a relative symbolic link for a file

I'm trying to create a link to a JS file. If I type ln -s ./script.js ./scriptLink it successfully creates a working link. But If I type ln -s ./script.js ../scriptLink, the link that's created has ...
Aleks Krumov's user avatar
0 votes
0 answers
318 views

node_modules installation on external SSD fails with "EPERM" error when installing packages

I'm trying to install Node.js packages on an external SSD connected to my Ubuntu operating system. However, I'm encountering an error during the installation process. Here are the details: Operating ...
Pravin Kori's user avatar
1 vote
0 answers
120 views

symlink to a bash script does not start on system startup

As per the subject, the symlink pointing to a bash script is not executed when starting Kubuntu 22.10. If I click on the symlink from Dolphin everything works, the original script is executed. andrea@...
CaneRandagio's user avatar
0 votes
1 answer
680 views

NFS mount best practice

Say I have some data on an NFS server that is currently mounted to /mnt/data on a client but I want to have it accessible at /home/user/data instead, both server and client are running 22.04. Would it ...
twinsuns's user avatar
0 votes
1 answer
41 views

miRDeep2 installation showing "ln: failed to create symbolic link './randfold': File exists" error. randfold is an essential for the miRDeep2 package

miRDeep2 installation showing ln: failed to create symbolic link './randfold': File exists" error in wsl. randfold is an essential for the miRDeep2 package. Please suggest a solution for ...
D'potion's user avatar
0 votes
1 answer
84 views

Having trouble moving symlinks from backup to boot partition

The context I have a dual-boot Ubuntu (Jammy Jellfish)/Windows laptop (Dell XPS 9550). My /boot partition was too small to support an update, so I used GParted to attempt to resize it. However, I ...
Alexander Nied's user avatar
0 votes
1 answer
162 views

I just upgraded to 22.04 LTS and all my symlinks are broken / drives mount with new names

I just tried to upgrade to 22.04 (Jammy Jellyfish) (from previous LTS) There were some issues, it said it couldn't do the whole thing, but it could download some packages. Eventually I seem to have ...
interstar's user avatar
  • 253
1 vote
1 answer
80 views

Why does `/etc/alternatives` being a symlink affect `apt`?

I've got the following Dockerfile: FROM ubuntu:22.04 # Step 1 RUN apt update && apt install -y wget # Step 2 # All your persistent configs are in /root. RUN mkdir -p /root/.symlinks/etc \ ...
user2468842's user avatar
1 vote
0 answers
61 views

Catfish search output displays filenames in symlinked folders as though they are duplicate files

I'm using Dolphin and Catfish in Ubuntu Studio. I'm looking for a way to get Catfish to either exclude files in symlink folders from search results, or to display them so it is obvious that they are ...
user311397's user avatar
0 votes
0 answers
67 views

I moved the /var to a partition to free space but don't know how to link it

I recently setup Ubuntu 23.04 but it was setup wrongly so I ran out of space it was supposed to be installed in both SSD and HDD but it only used the SSD one so I started moving data manually so that ...
Mostafa Ahmed AbdulRazik's user avatar
0 votes
0 answers
91 views

Making start link for program

I'm trying to make a clickable startup link for a new version of Arduino IDE, which is supplied as an AppImage file. I can start the file by selecting it and pressing return. I have created a link to ...
Jack O'Flaherty's user avatar
0 votes
1 answer
63 views

Symbolic link to read a syfs directly

Is there a way to read a sysfs using a symbolic link if I want to read a sysfs, for example, cat /sys/bus/usb/gps/time we usually type the cat followed by sysfs path and then enter Is there a way to ...
DEV's user avatar
  • 68
0 votes
2 answers
104 views

I want to copy my document directory, complete with sub-directories plus contents, from an old drive across to a new drive

I tried creating symlinks to the source and target drives using: sudo ln -s /media/phil/4A05-B4F6 /olddisc sudo ln -s /media/phil/3117e488-bf89-426e-a606-55e8397cf1ee /pcdisc I changed the directory ...
PhilR's user avatar
  • 1
0 votes
0 answers
671 views

Set LD_LIBRARY_PATH for with symlinks

As per the Ubuntu documentation - the only way to permanently set LD_LIBRARY_PATH is by adding a conf file to /etc/ld.so.conf.d/ If I manually run export LD_LIBRARY_PATH=~/nextcloudapp/squashfs-root/...
Terence Eden's user avatar
  • 1,796
2 votes
1 answer
1k views

Symlink on /usr/local/bin/ not working

Can someone explain why this is not working??? I don't get it. $ echo $PATH /usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games As you can see, I have /usr/local/bin in there. Then the ...
Mariano Martinez Peck's user avatar
-3 votes
1 answer
863 views

symbolic link command in Ubuntu [duplicate]

I wish to know about usage of Symbolic Link please. I saw it in "The Linux Command Line" Fifth Internet Edition Sincerely, Davood
david's user avatar
  • 3
2 votes
2 answers
503 views

Error 'update-initramfs: 175: awk: Too many levels of symbolic links' when using APT

I'm on Ubuntu 22.10, when trying to run apt or apt-get with {install|remove|auto-remove} I got the following error: Reading package lists... Done Building dependency tree... Done Reading state ...
ya22y's user avatar
  • 33
0 votes
0 answers
20 views

My terminal crashes with this error "ln: failed to create symbolic link '/usr/bin/python': File exists" [duplicate]

I'm not sure why it's happening. tried to add more symbolic links or change it but it is not happening, it's giving another error that there are too many symbolic links. some more issues I'm running ...
error's user avatar
  • 9
0 votes
0 answers
66 views

what is the correct way to use folders from another /home partition

I currently have Kubuntu 22.04 installed in partition A, and /home installed in partition B. I recently created partition C and installed Ubuntu 22.04 with gnome. Partition C has root and home ...
JackDaniels's user avatar
6 votes
2 answers
2k views

Is my /var directory OK, since /var/run isn't a symlink?

I am running Ubuntu 18.04. When I run: ls -la /var I get the following: drwxr-xr-x 10 root root 4096 Jan 2 15:46 . drwxr-xr-x 27 root root 4096 Jan 15 06:25 .. drwxr-xr-x 10 root root 4096 Jan ...
ammcom's user avatar
  • 183
0 votes
1 answer
124 views

How to create a shortcut to a document on Lubuntu desktop?

I am trying to create a shortcut for a word document (.docx) on Lubuntu desktop (22.04 LTS). I thought I could create a symlink as follows: ln -s a.docx ~/Desktop/ The symlink does get created and ...
tinlyx's user avatar
  • 3,240
0 votes
0 answers
680 views

How to create a symbolic link to certain files within a directory?

I want to create a symbolic link from Dir1, but only for certain files. Let's say I have these files within Dir1: file_1.a file_2.a file_2.a.b Now I want to create a symbolic link, but only to those *...
marius's user avatar
  • 1
0 votes
1 answer
411 views

Why is the size of a symlink equal to the size of it's path string?

I've read a different question regarding this where the answer was that a symlink stores the name and target + a few bytes for other metadata. Using "ls -l dir" on ext4, why does the symlink ...
Navy's user avatar
  • 3
0 votes
0 answers
58 views

.sh links stopped being executed by double click in Kubuntu

I am starting to experience a weird thing on Kubuntu. Double clicking on .sh links stopped working (expecting it to run), but double clicking on actual .sh file works. System information: Double ...
Wortig's user avatar
  • 101
0 votes
1 answer
193 views

awk command not working for rbash user

I have created a rbash user(restricted user) vega and I have created softlinks for the following commands-: awk,ls,free,top etc. Am trying to run a script for resource utilization and some of the ...
Praveen Kumar's user avatar
0 votes
1 answer
682 views

Permission denied when attempting to cd into a symlinked folder over samba

I currently have a couple of Ubuntu servers that each contain 13 hard drives that I need to make accessible to each other over a samba network. Currently each drive is mounted as a separate share, ...
Qwinn's user avatar
  • 41
-1 votes
1 answer
229 views

Mount internal hdd so as i can symlink my home subdirectories like downloads, documents to it

I am trying to dual boot my machine. Machine has a 128gb ssd and 1TB HDD. I gave 100 gbs of HDD for Windows(As i use it rarely). For ubuntu 20.04,(which i am installing. Not yet installed) i am giving ...
samrat's user avatar
  • 1
0 votes
1 answer
1k views

collect2: fatal error: cannot find ‘ld’ compilation terminated

I accidently overwrote the ld file in /usr/bin. I then removed the file and reinstalled binutils. Now I get the error in the title when I try to compile a C++ file with g++. The ld file is present in ...
prism's user avatar
  • 3
1 vote
1 answer
2k views

Getting error "Too many levels of symbolic links" when trying to navigate ubuntu

I'm just trying to navigate from the root to my desktop in ubuntu, but anytime I try to put "cd Desktop/" (relative path) Or even "cd ~/Desktop" (absolute path), I keep getting the ...
Samantha Walker's user avatar

1
2 3 4 5
13