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
354 views

do-release-upgrade from 16.04 failing due to "Your python install is corrupted."

When trying to upgrade from 16.04 LTS via do-release-upgrade, I was getting the following error: Your python install is corrupted. Please fix the '/usr/bin/python3' symlink. Trying the many ...
Mark K Cowan's user avatar
0 votes
0 answers
1k views

symlink error with chmod

After installing fastqc, tried setting the permission using: chmod +x ~/miniconda3/bin/fastqc But got the error: chmod: cannot operate on dangling symlink '/home/usernname/miniconda3/bin/fastqc What ...
Gabriel's user avatar
0 votes
1 answer
64 views

Help file appered after a System Crash

I just tried to open a very large .csv File which couldnt be opened in LibreOffice due to to many numbers of rows. I restarted my PC and now I got a File named 'help' in my home folder if i try to cd ...
Dnns95's user avatar
  • 19
0 votes
1 answer
24 views

Link directory to another directory to ccopy files

I have a folder: /share/public I am working in the folder: /home/john/workingfolder It means that currently I am in the "workingfolder". I would like to send files to /share/public but ...
Carlitos_30's user avatar
0 votes
0 answers
519 views

How to link to different version of a shared object (.so) on different version of Ubuntu?

I have developed a program which links to ncurses-dev and I made a .deb installer for it. On Ubuntu 18, my main binary links to libncurses.so.5, but on Ubuntu 20, libncurses.so.6 exists instead of ...
Felix F Xu's user avatar
2 votes
1 answer
6k views

GPIO Failed to create symbolic link. Operation not permitted

I'm trying to create a symlink to an existing gpio symlink in the /sys/class/gpio/ directory, and I'm getting the following output: ln: failed to create symbolic link '/sys/class/gpio/MyLink': ...
jpb647's user avatar
  • 31
2 votes
0 answers
610 views

Cannot locate executable through symbolic link

I'm new to Linux/Mac OS in it's entirety, but I've learned a lot the last few days. My NativeScript app builds using the python command, but my system only has python3 installed. That is all fine, and ...
Koen's user avatar
  • 121
0 votes
1 answer
84 views

What kind of directories are these?

I'm looking at a directory that was created for backups. One of the subfolders is the root of a Git repo, and contains the .git folder. That folder also contains links to other folders in the system. ...
TonyG's user avatar
  • 187
1 vote
0 answers
122 views

Ubuntu 22 Firefox fails to start with symbollically linked home directory

On installing Ubuntu 22 in a separate new partition on a machine previously running Ubuntu 20, I have replaced the installed /home/chris with a symbolic link to my old /home/chris directory in another ...
user247913's user avatar
0 votes
0 answers
309 views

My Ubuntu 20.04 spits out "logger: socket /dev/log: No such file or directory"

I'm a newbie to Ubuntu. I am trying to run a script that needs access to /dev/log when the following error occurred "logger: socket /dev/log: No such file or directory". Any ideas on how to ...
Charles's user avatar
0 votes
1 answer
160 views

Inconsistent UDEV behavior 'dev/video14'

I am trying to write a udev rule that creates a symlink /dev/video14 that points to the /dev/video index of my usb camera, so that I can map it to the same index consistently. I currently have the ...
jpb647's user avatar
  • 31
2 votes
0 answers
919 views

nano: no version information available

The more I try to fix this problem the worse it gets. I have conda installed, and I think its related to this problem. Every time I try to open nano, I get this error message - before today it was ...
user2472414's user avatar
0 votes
0 answers
464 views

Get a udev symlink registered as a serial in softwares

I created udev rules to have specific symlinks to my USB device. The USB device is a serial device that usually comes up as ttyUSB0 or ttyUSB1. I made the symlink to be sure I have always the same ...
noeldum's user avatar
0 votes
0 answers
289 views

how to create symlink available from anywhere

How can I create symlink located at \\100 that points to /media so that when users enter cd \\100 they get redirected to /media and it doesn't matter in which directory it was entered? Thanks in ...
Peťo Build's user avatar
0 votes
0 answers
156 views

Multiple systemd broken links, system won't boot

On a reboot today, the system (Ubuntu Desktop 20.04.4) hung upon reaching the graphical target. Conspicuously, several services failed to start ahead of this, including snapd. Booting the machine to ...
ebsf's user avatar
  • 519
1 vote
1 answer
327 views

is changing symlinks for "linux from scratch" harmful?

I started linux from scratch for educational purpose. In preparing section it says: Bash-3.2 (/bin/sh should be a symbolic or hard link to bash) Bison-2.7 (/usr/bin/yacc should be a link to bison or ...
hepl's user avatar
  • 27
0 votes
1 answer
625 views

libc.6 is a symlink to libc-2-31?

I'm running ubuntu 20.04, and I'm tryying to run a python pwn script that has the following line: libc = ELF("./libc.so.6") Which fails with: No such file or directory: './libc.so.6' So I ...
Grazosi's user avatar
  • 109
1 vote
1 answer
2k views

Issue with apt-get upgrade in Ubuntu 21.10 on Raspberry PI 4: Failed to create symlink, Operation not permitted

Can't upgrade Ubuntu 21.10 on my Raspberry PI 4 via apt-get upgrade. There is the full log: ubuntu@ubuntu:~$ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree... Done ...
Alexey's user avatar
  • 11
0 votes
2 answers
1k views

delete symlink that points to itself

I accidentally created a symbolic link that points to itself in the same directory. I tried ln -sfn and rm -f. I'm using Ubuntu 20.04. It's in my Pictures folder: picture_link -> picture_link Is ...
Roger Trussell's user avatar
1 vote
2 answers
3k views

udev does not create symlink

I am trying to give my sensor device a static name. I opened a file called 99-usb-serial.rules in /etc/udev/rules.d and wrote the following rule: KERNEL=="ttyACM0",KERNELS=="1-1",...
sovon's user avatar
  • 111
2 votes
0 answers
53 views

Is using snap and using "move to trash" mutually exclusive when using home directories on alternative partitions

I slowly started to accept that Ubuntu is forcing its users to use snap instead of apt (which I've used for 20+ years and like). Having been around for a few years, I'm offloading my home directories ...
user1561217's user avatar
0 votes
1 answer
800 views

Make Symlink to folder on USB stick to be owned by www-data group

I have a website hosted locally on an Apache2 at my Ubuntu machine, (Kubuntu 20.04). There are some audio files on a folder at a USB stick at the path /media/MyUserName/KINGSTON/audio while the public ...
SaidbakR's user avatar
  • 769
7 votes
1 answer
2k views

After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke

A new user here, running ubuntu on version 21.10 impish. I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation): $ sudo curl -L ...
Tomptp's user avatar
  • 73
3 votes
1 answer
500 views

usrmerge of {/bin, /sbin, /lib}: How is the system supposed to be?

It seems that some systems have a symlinks like this /bin -> usr/bin /lib -> usr/lib /sbin -> usr/sbin Some systems have single file-symlinks of executables in these directories like ...
DarkTrick's user avatar
  • 467
0 votes
0 answers
17 views

how to place link to URL / Webpage on the launcher? [duplicate]

Has anyone pinned a URL to the Launcher (Ubuntu 20.04)? Nothing I've tried works. Please show how you have done this with a working example. (a link to AskUbuntu.com?) There are a great many posts on ...
richolland's user avatar
1 vote
1 answer
974 views

I removed a symbolic link, and Ubuntu became unusable

I removed the symbolic link for '/lib/x86_64-linux-gnu/ld-2.31.so' in the directory '/usr/lib64'. Suddenly most everything stopped working. I cannot even issue simple Linux commands like 'pwd', 'ls',...
user296662's user avatar
1 vote
1 answer
1k views

/usr/include/x86_64-linux-gnu/sys contains only broken symbolic links

My O/S is Ubuntu 20.04. The initial problem: I was trying to run a "make" and got errors like: /usr/include/sys/cdefs.h:453:10: fatal error: bits/long-double.h: No such file or directory ...
Achim Schmitz's user avatar
1 vote
1 answer
2k views

udev rule for similar devices

I'm struggling in creation of udev rules for some similar devices (serial USB port). Here the output of the detail from one of them: $ udevadm info --name=/dev/ttyACM0 --attribute-walk Udevadm info ...
Mark's user avatar
  • 517
2 votes
0 answers
208 views

"Unable To Initialize Installer" when using a softlink

I've installed LAMP in ubuntu. At the directory it was installed, I can start the GUI if I use sudo ./manager-linux-x64.run However, if I create a softlink for this file: then I am getting the ...
Alejandro's user avatar
0 votes
0 answers
459 views

Symlinks copy to Samba via gvfs is not working

I use default app of Ubuntu 20.04 - Files. I use it for Samba connection. I propose that connection use gvfs. Also I use Ubuntu Desktop and Ubuntu Server. My problem is that I try to copy some ...
Bob's user avatar
  • 208
0 votes
1 answer
2k views

inotifywait not detecting links

I have successfully created a watcher for modifications inside a directory, recursively: inotifywait -m -r -e modify --format '%w%f' "$Path" | while read File do echo "File $File is ...
Saeed Neamati's user avatar
1 vote
0 answers
7k views

Creating a symlink for docker-volumes to another directory

For reasons I need to symlink /var/lib/docker/volumes into /net/datadisc/disc1/docker_volumes, i.e. ever volume that docker creates inside /var/lib/docker/volumes would instead be created in /net/...
Grumpy ol' Bear's user avatar
0 votes
0 answers
342 views

SFTP read-only access to another directory

My Goal: I have sftp user sftp1 which has chrootdir to /sftp/sftp1. I want to add read-only access via sftp to user sftp1 on directory which is /home/user2/some/path/to/directory Expected result: User ...
Tqq's user avatar
  • 1
1 vote
0 answers
226 views

Add mounts/symlinks into snap automatically

I use several symlinks in my root directory usually pointing somewhere into /home directory. I can keep projects organized in directories, but I still have quick (terminal) access to them. e.g.: /g -&...
ybznek's user avatar
  • 11
3 votes
2 answers
719 views

How do I find the package providing an alias?

Using apt-file I am able to find the packages providing certain executables like this for example: sudo apt-file search {/bin,/sbin,/usr/bin/,/usr/sbin}/wget Well actually: sudo apt-file search {/bin,...
Forivin's user avatar
  • 358
2 votes
1 answer
3k views

Snap applications - cannot create user data directory (home bind mounted)

I have my home folder on another drive, which is mounted via fstab to /mnt/HDD UUID=123 /mnt/HDD exfat rw,defaults,umask=002,uid=1000,gid=1000,auto,users,exec 0 0 The home folder is then bind mounted ...
diridev's user avatar
  • 23
0 votes
2 answers
220 views

Apache2 symlink - How to use target name and MIME type

I just set up an Apache2 server and it works fine. Since this server purpose is to simply serve versioned files, I created a latest symlink which targets e.g. myfile_v1.1.0.ext. The problem is that ...
Dayrona's user avatar
  • 101
4 votes
0 answers
379 views

How can I create a desktop Symlink to a Google Drive sub-folder?

I would like to create a symlink on my desktop to a folder within google drive. I have already added Google Drive as a Nautilus window sidebar bookmark & I found it is also possible to drag sub-...
RiquezJP's user avatar
  • 405
0 votes
1 answer
308 views

How to create a shadow directory

I want to create a shadow directory of a directory D. The shadow directory D1 should have the same structure as D, but should not share any nodes with D. Each file in D should be represented by a ...
Paul A.'s user avatar
  • 2,141
1 vote
2 answers
3k views

gnome-control-center won't load in Ubuntu 20

After upgrading to Ubuntu 20.04, my gnome-control-center no longer loads due to a symbol lookup error: $ gnome-control-center gnome-control-center: symbol lookup error: /usr/lib/x86_64-linux-gnu/...
count_smackula's user avatar
0 votes
1 answer
45 views

Can I keep a folder read by an application in a different location, and use a symbolic link in the original?

I have a folder SOURCE using by application. I want to move this folder in a new location without config the new path in the application. So logically, the application read from the source folder but ...
Youssef CH's user avatar
0 votes
1 answer
78 views

move any writes from one directory in filesystem type to another directory in filesystem type

say for example I've a directory /abc/123/tmpdir on ext4/xfs or may be any other file system type. If I've to mount above directory onto a different directory something like - /xyz/321/tmpdir on a zfs ...
unknown's user avatar
  • 99
3 votes
1 answer
3k views

Can we just use symbolic link instead of 'mount --bind'?

Recently I came to know about the mount --bind command but there is something that I can't understand clearly. Suppose I have a disk partition and I mounted it to a mount point /bkup using this ...
Chan Kim's user avatar
  • 1,981
0 votes
2 answers
432 views

Safely remove directory with unknown contents

I have a directory /usr/local/foo, which I need to remove. This is going to be part of a script, which needs to be run as root. I'm mainly worried that the directory, which contains things that users ...
Michael's user avatar
  • 65
0 votes
1 answer
554 views

linker cannot find a package that is already installed

I am trying to follow instructions for installation of FAST-DDS on Ubuntu 18.04. During make -j$(nproc --all),I get this error [ 4%] Built target fastcdr [ 5%] Linking CXX shared library libfastrtps....
aamir's user avatar
  • 1
1 vote
0 answers
309 views

Samba symlink to a local windows directory

I've just finished moving the majority of my files from my Windows machines, to a new central Ubuntu, ZFS NAS. Before I made this move, my Windows PC games used to live on a HDD, mounted as G:\ on my ...
Jack_Hu's user avatar
  • 354
3 votes
0 answers
422 views

Cannot access udev symlink with python serial immediately on startup

I have configured a udev rule to create a symlink for a USB device: SUBSYSTEM=="tty", ATTRS{idVendor}=="3032", ATTRS{idProduct}=="0014", SYMLINK+="ttyUSB_GPS" ...
r0gi's user avatar
  • 31
0 votes
0 answers
259 views

Symbolic link from Nas to home folder

I'm trying to create a link from my unraid Nas to my Ubuntu vm that I have running in it but ever time I make it the link says its broken and wants me to remove it
James Jankee's user avatar
1 vote
0 answers
182 views

create a sym link from a folder content to another directory

I have a Ubuntu server running in a virtualized environment for my web development activities. The host OS is sharing with Ubuntu a folder with this path: /media/psf/Sites and this folder Sites ...
Lelio Faieta's user avatar
0 votes
2 answers
1k views

Created symlink over directory

I wanted /usr/bin/local to symlink to /home/jonas/swift-5.3.3-RELEASE-ubuntu20.04/usr/bin/swift, so I entered the following command: sudo ln -s swift-5.3.3-RELEASE-ubuntu20.04/usr/bin/swift /usr/bin/...
jvdh's user avatar
  • 211

1
2
3 4 5
13