Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
28 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 ...
user avatar
  • 1
1 vote
0 answers
65 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
  • 197
1 vote
1 answer
49 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 ...
user avatar
  • 35
0 votes
1 answer
38 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 ...
user avatar
  • 109
0 votes
1 answer
360 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 ...
user avatar
  • 1
0 votes
2 answers
87 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 ...
user avatar
0 votes
2 answers
218 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",...
user avatar
  • 101
2 votes
0 answers
15 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 ...
user avatar
0 votes
1 answer
111 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 ...
user avatar
  • 644
7 votes
1 answer
1k 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 ...
user avatar
  • 73
2 votes
0 answers
135 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 ...
user avatar
  • 381
0 votes
0 answers
16 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 ...
user avatar
0 votes
1 answer
154 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',...
user avatar
1 vote
1 answer
154 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 ...
user avatar
1 vote
1 answer
478 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 ...
user avatar
  • 315
1 vote
0 answers
29 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 ...
user avatar
0 votes
0 answers
138 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 ...
user avatar
  • 186
0 votes
1 answer
215 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 ...
user avatar
0 votes
0 answers
2k 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/...
user avatar
0 votes
0 answers
56 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 ...
user avatar
  • 1
0 votes
0 answers
45 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 -&...
user avatar
  • 1
3 votes
2 answers
234 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,...
user avatar
  • 318
2 votes
1 answer
461 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 ...
user avatar
  • 23
0 votes
2 answers
56 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 ...
user avatar
  • 101
4 votes
0 answers
118 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-...
user avatar
  • 365
0 votes
1 answer
94 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 ...
user avatar
  • 1,839
0 votes
0 answers
24 views

Standard notes getting stuck with symbolic link error

I'm using standard notes on Ubuntu 20.04. When I try to open it from the command line I get the following error: ln: failed to create symbolic link '/home/shanks/snap/standard-notes/66/.config/dconf/...
user avatar
0 votes
0 answers
26 views

Keep old and new files in symbolic link

i want to create a symbolic link between folder1 and folder2 : but, i want keep the file in folder2 when the file is deleted in the folder1. also, any new file in folder1 should be saved in folder2
user avatar
0 votes
1 answer
654 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/...
user avatar
0 votes
1 answer
44 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 ...
user avatar
0 votes
1 answer
35 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 ...
user avatar
  • 61
1 vote
1 answer
529 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 ...
user avatar
  • 1,257
0 votes
2 answers
73 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 ...
user avatar
  • 65
0 votes
1 answer
205 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....
user avatar
  • 1
1 vote
0 answers
107 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 ...
user avatar
  • 354
2 votes
0 answers
194 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" ...
user avatar
  • 21
0 votes
0 answers
76 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
user avatar
1 vote
0 answers
43 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 ...
user avatar
0 votes
2 answers
119 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/...
user avatar
  • 201
1 vote
1 answer
343 views

How to search for files with Krunner?

I was expecting krunner (and maybe the other Launchers like Application Launcher, Application Menu, Application Dashboard) to find files the way Synapse does or even Whisker menu. For some time these ...
user avatar
  • 2,260
2 votes
1 answer
542 views

Create Symbolic link into Gnome's online account --googleDrive?

I have a question to ask, how can I create a symbolic link into the drive's path from my local directory? In the past, I've done it using the OpenDive package, but never tried with gnome's online ...
user avatar
  • 33
0 votes
2 answers
185 views

Home directory being symlinked all over

first post in this community. I am using Ubuntu 20.10 installed on WSL 2 and I have not had any issues after upgrading until recently. I noticed that my home directory is being symlinked all over the ...
user avatar
  • 101
0 votes
2 answers
1k views

is it possible to create symbolic links on exfat filesystem?

I cannot even change permissions with chmod 777 that on one hand returns no error but on the other does not change the permissions either. File system is exfat. But my issue is inabililty to create ...
user avatar
  • 198
0 votes
1 answer
431 views

Why is 000-default.conf a symlink?

Why is 000-default.conf a symlink? lrwxrwxrwx 1 cole cole 35 Mar 3 10:36 000-default.conf -> ../sites-available/000-default.conf I am trying to use notepad via WinSCP to edit and save my changes ...
user avatar
  • 31
0 votes
0 answers
303 views

Create softlink to Onedrive folder in admin root

I am using onedrive (Onedrive is terminal based sync application used to sync onedrive from local folder to onedrive in cloud from microsoft) to sync folders. Since, it is in root folder, it asks for ...
user avatar
0 votes
1 answer
53 views

programs can't use symlink folders

I have few symlink folders to my HDD hard drive (I have Hybrid hard drive and my home folder is on my SSD hard drive), and apps such as vlc media player and spotify can't open,use that folder, for ...
user avatar
  • 322
0 votes
1 answer
72 views

Is there a way to autoupdate symlinks?

If I have a file somewhere and move it somewhere, is there a method of making sure that all symbolic links that pointed to it are updated as well? Something that's either like mv --magic-option src ...
user avatar

1
2 3 4 5
12