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 actual files i.e the files that ...

learn more… | top users | synonyms (1)

3
votes
2answers
479 views

What is different symbolic link with hard link after unlik?

1. #include <stdio.h> #include <unistd.h> void main(){ link("foo", "bar"); unlink("foo"); if(open("bar", 1) < 0) printf("open error\n"); else ...
2
votes
2answers
5k views

Permissions issue with symlinks over samba

I'm having trouble accessing some files over a samba share. Here's my setup: I have shared /shared as Shared I have a user with the same name and pwd as my Linux user in my Windows machine I made ...
2
votes
1answer
7k views

Give ftp users access to directories outside their root using symlinks

I tried to give proftpd virtual users access to directories outside their home paths using symlinks I created as root through the console. /var/ftp/users/test is the home of the user named test. ...
3
votes
2answers
7k views

Need ProFTPd to follow symbolic link

I have 2 folder: /var/www/project1/ /var/www/repository/module/ and I have this symbolic link: /var/www/project1/module/News => /var/www/repository/module/News I know the target is outside the ...
2
votes
2answers
93 views

Where to put One-Off Computer-Wide Software Folders?

I am pretty new to Linux so pardon the ignorance. I am installing an application (a wiki server) on my system but am not doing so through aptitude as I can only grab a tar.gz of the package. This ...
12
votes
2answers
2k views

Does Ubuntu One follow symlinks if synchronizing a folder?

I've looked for this question and haven't gotten a reasonable answer yet. If I synchronize a folder will it synchronize a symlink? Will it process all the way through the link to all the files within ...
1
vote
2answers
2k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...
2
votes
2answers
817 views

/opt and /usr/local on the same partition but not under root

I am planning to install Ubuntu on a new laptop soon. I want to put /opt and /usr/local directories separately from the root and home partitions, but I don't need two partitions for them, just one. ...
2
votes
2answers
2k views

I think “/lib/modules/$(uname -r)/build” points to incorrect folder

I compile/create my own deb packages of kernel with: make-kpkg --rootcmd fakeroot --initrd --append-to-version=$version --revision=1 kernel_image kernel_headers But when I install both packages, in ...
1
vote
1answer
661 views

How to enable a symlink in this case

I cannot categorize this question under ubuntu since it has nothing to do with it. But I know people here can definitely answer this. I login to one of my deployment boxes using SSH (no ubuntu here). ...
6
votes
2answers
973 views

How can I create an alias so that when I enter “kt” it executes “killall gnome-terminal”?

How can I create an alias so that when I enter "kt" it executes "killall gnome-terminal"?
2
votes
2answers
1k views

How to find the final target of a daisy-chain of symbolic links?

I needed to issue several commands to follow a chain of symbolic links to the final target. Is there a command which will do it in a single step? which updatedb /usr/bin/updatedb ls -l ...