0
votes
1answer
176 views

Copying symbolic links and filenames with special characters to NAS

I have a new Western Digital My Book Live NAS. I am trying to copy files from an old drive to the NAS. I'm using Ubuntu 12.04 and I've mounted the drive by browsing the network in Nautilus and ...
0
votes
0answers
88 views

Failed to symbolic-link /boot/initrd.img-3.8.0-19-generic to initrd.img:File exists

I'm running xubuntu off of a USB and I'm trying to run the command sudo apt-get upgrade but I keep getting this error Failed to symbolic-link /boot/initrd.img-3.8.0-19-generic to initrd.img:File ...
2
votes
2answers
872 views

How to run a symlink pointing to an executable in terminal (Linux)

I installed NodeJs on an Ubuntu machine, and the package have been installed as nodejs. Now, to run it as node, I created a symlink: sudo ln -s /usr/bin/nodejs /usr/bin/node This will work if I ...
0
votes
0answers
25 views

Aptitude fails to write file to symlinked directory

I have a Ubuntu 12.04.2 server with /etc/apache2 as a symlink to another directory for logging purposes. When I try to install the libapache2-mod-passenger package it doesn't install the ...
0
votes
1answer
78 views

Linking Ubuntu Documents to Windows Documents

I would like to make my documents synchronised across my dual boot Windows 8 and Ubuntu system. I've chosen to implement this as mounting the Windows data partition in Ubuntu at boot time with fstab, ...
1
vote
1answer
161 views

Is there a way to create a virtual drive in Ubuntu that contains multiple NTFS partitioned drives?

I have a dual boot set up (win 8/ubuntu 12.04) and in Ubuntu all 5 of my windows drives show up individually on the Unity launcher. It takes up a lot of space but I like being able to link directly to ...
0
votes
1answer
297 views

How to automatically mount hard drive in Ubuntu

I have an extra hard drive which I access regularly in Ubuntu, and I have a link from my home folder to a folder on this drive. However, this link doesn't work when I first log in because the hard ...
0
votes
3answers
3k views

Why doesn't my symbolic link work?

I'm trying to better understand symbolic links... and not having very much luck. This is my actual shell output with username/host changed: username@host:~$ mkdir actual username@host:~$ mkdir proper ...
0
votes
1answer
3k views

Can somebody explain this `ln -s` command to me?

The command in question is: sudo ln -s /usr/lib/x86_64-linux-gnu/foo.so /usr/lib/ I read this article about ln, which indicates that the latter argument can be either a name or a directory. In this ...
3
votes
1answer
613 views

Using dropbox / symbolic link combo successfully

In the past I have kept some files on dropbox by copying them into my ~/Dropbox folder on Ubuntu. I don't want to move the original files into Dropbox synch folder or muck around with my directory ...
1
vote
1answer
441 views

Symlink path can be followed manually, but `cd` returns Permission denied

I am trying to access the directory /usr/software/test/agnostic. There are several symlinks involved in this path. As you can see by the below transcript, I am unable to cd directly to the path, but I ...
0
votes
1answer
277 views

Conditionally create symbolic link by filesize using find exec ubuntu 10.04

I have an interesting problem. I'm trying to create symbolic links in a single folder, for all files in a directory which are larger than a specified size. For clarification, here is an example: ...
2
votes
3answers
682 views

How can I find out if a symbolic link exists, that points to /tmp?

I want to find out which symlinks exist, that point to my /tmp folder on Ubuntu. Background: I had a problem, that my /tmp folder privileges were changed by some accident to 755. The system wasn't ...
0
votes
1answer
107 views

How do I automate removing a symlink and adding a new one

Basically I want to create a quick set of commands so that I can type into the terminal and have it do this: cd /path/to/folder/of/symlink sudo rm -f symlink sudo ln -s /new/path/of/symlink cd ...
0
votes
1answer
75 views

Remove a folder inside a symlink

Having a symlink: ln -s /var/www /media/Disk2/dropbox/www How can I remove a folder from the symlink located at /media/Disk2/dropbox/www/test without afecting the main folder?
0
votes
1answer
778 views

VirtualBox on Wubi Ubuntu can't start VMs due to incorrectly handling absolute paths

Maybe what I'm trying to do doesn't make sense, if so please bear with me, I am not a Unix guy at all. I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as ...
2
votes
2answers
403 views

how to know if a directory is referenced by a symlink

Is there a command that I could execute to find out if a directory is referenced by a symlink somewhere on the machine. ie: pwd => /home/user/source/ vdir lrwxrwxrwx 1 user group 24 ...
1
vote
2answers
813 views

Moving folders into a Truecrypt volume on Linux and using symbolic links for them

I've been running Linux Mint for a couple months and now I want to apply some encryption to certain data-sensitive folders. I've read that Ubuntu has an installation option to encrypt everything in ...
1
vote
1answer
7k views

Ubuntu make symbolic link between new folder in Home to existing folder

To the point. I have Ubuntu Maverick running on my Lenovo G450. Before, it was Windows 7. All my data are inside another partition, its NTFS. FSTAB line to mount that partition : /dev/sda5 /data ...
4
votes
4answers
8k views

Sharing an external hard drive in Ubuntu using Samba

/media/MYDISK is where my hard drive is mounted automatically. I created a symlink using: ln -s /media/MYDISK /home/camilo/MYDISK chmod 777 /home/camilo/MYDISK I'm setting up smb.conf like this: ...
0
votes
2answers
343 views

Can I link log files to my web directory var/www?

Can I link log files to my web directory var/www ? so I have var/www/logs And then remove reading permission to others in my unix link preferences ? By the way can I change links preferences ?
1
vote
1answer
675 views

how to create symbolic link to all my sub folders to another folder?

I know I can use for loop for it but it will fail when any new folder will come, if is there any good alternative to create symbolic link of all my sub folder which can take care if any new folder ...
1
vote
1answer
860 views

Ubuntu symbolic link the content of a folder

I have two folders such as nonserved/ folder1/ folder2/ and a served folder via Apache media/ js/ css/ img/ In the end, I want to include/append contents of /nonserved to ...
1
vote
1answer
3k views

How to link a directory in Ubuntu to a directory in Windows 7?

I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the ...
1
vote
4answers
2k views

Ubuntu - Create a link to a specified directory so I can easily change to that directory

Is it possible to create a symlink to a directory, like /var/lib/tomcat6/webapps/MyWar that I can access from everywhere? I want to be able to say cd myapp from anywhere in the directory tree and go ...
6
votes
2answers
5k views

Linux, can a home directory be symlinked?

I have a second large storage hdd mounted in Ubuntu in /media/storage. I would like my home directories for me and all future users of the system to be located on this storage drive as well. I was ...
5
votes
1answer
2k views

No symlinks allowed in smb share

I have the following share setup on my Ubuntu machine # From /etc/fstab //192.168.1.13/media /home/USER/SHARE/media cifs username=USERNAME,password=PASSWORD,_netdev,uid=USER,gid=users 0 0 However ...
5
votes
3answers
7k views

How can I break a symbolic link loop?

While I was trying to compile a C shared object library, I accidentally created two symbolic links which point to each other. Is there a way to get rid of them without nuking the whole directory? I ...
2
votes
1answer
3k views

Soft link to external drive not visible in apache directory listing

I am on Ubuntu 8.10, and generally share my content with ppl on LAN by creating soft links in Apache2 document root to the intended directory. So if I want to share my Videos directory I will CD ...
5
votes
2answers
10k views

Ubuntu: Creating a symlink with network shared folder

I'm trying to create a symlink with a network shared folder (located in a windows sys) from my ubuntu system using the command. ln -s smb://sys-name/www www It creates a link but it says the link is ...
1
vote
2answers
220 views

rm -rf problem on ubuntu 9.04

Ok this is a sort of solved problem, however i am still interested in what was behind it.. I have been building chromium from source for a while now, and decided to get rid of the src directroy and ...