Questions tagged [symbolic-link]

220 questions
3
votes
3 answers

User can't remove symlink which owns

I'm trying to remove symlink, although I have appropriate permission, the operation is denied (the user is called capistrno): capistrno $ rm -f /var/www/app/current rm: cannot remove `/var/www/app/current': Permission denied the user should have…
Tombart
  • 2,143
  • 3
  • 27
  • 48
3
votes
1 answer

What does "link to unknown" mean?

I just upgraded my server to Fedora 17 which made a switch of my bootloader from GRUB Legacy to GRUB2. There are two symbolic links in the /etc folder that points to the files grub.conf and grub.cfg in /boot/grub and /boot/grub2 respectively. Though…
Question Overflow
  • 2,103
  • 7
  • 30
  • 45
3
votes
1 answer

tar on windows and symbolic links

It seems to me that tar on windows does not understand directory symbolic links - it treats them as an ordinary folders which in my case leads to infinite recursion. 7-zip has the same problem. Are you aware of any free tool that can simply backup…
3
votes
0 answers

Giving Select Windows Domain Users Symbolic Link Privilege

I would like to setup select users on our domain to have the ability to create symbolic links on local NTFS drives and network shares without needing to run as Administrator, as part of an application with will call the CreateSymbolicLink() API…
fp0n
  • 31
  • 1
  • 2
3
votes
1 answer

How do I rearange a file tree and then export it over NFS?

I've got a backup server that stores incremental backups in a tree like this: /backups hourly.0 server 1 server 2 hourly.1 server 1 server 2 hourly.2 server 1 server 2 daily.0 server 1 …
Nick
  • 4,503
  • 29
  • 69
  • 97
3
votes
2 answers

Symbolic Link & LAMPP htdocs

I went through these steps in order to make a symlink directory to use outside of lampp htdocs. $ mkdir test $ chmod 777 test //test is now in /home/Dropbox/test/ //I put an index.html with 777 perms in it. $ cd /opt/lampp/htdocs/ $ sudo ln -s…
user1062058
  • 505
  • 2
  • 10
  • 17
3
votes
6 answers

How to find the actual working directory?

When I try to find the current working directory at a linux command prompt (using "pwd"), it will show the directory with symbolic links included. For example, if I make a symbolic link and use it to visit that directory: ln -s /mnt/backup…
Paul
  • 133
  • 1
  • 6
3
votes
7 answers

WinXP - Map network location to local folder

I have a network location, \\myserver\myshare. On my Windows XP box, I wish to map this location to the path c:\somefolder. Am I asking the impossible?
Billy Jo
  • 147
  • 1
  • 2
  • 8
3
votes
2 answers

execute cgi script from directory that is a symbolic link

I have a script that is available through Apache that modifies parent directory. Ew. mybin/a.pl, which modifies ../data/ directory. I would like to create various aliases eg. localhost/www/mybin/a.pl localhost/zzz/mybin/a.pl that would modify…
agsamek
  • 321
  • 1
  • 3
  • 12
3
votes
3 answers

Permission denied for symlink to executable in nfs mounted directory with the sticky bit enabled

We have an NFS export for any of our users to install and maintain useful software for the network mounted at /public on our clients. On the NFS server, this directory is world writable with the sticky bit set(like /tmp). One of the users of this…
Jeff Strunk
  • 2,127
  • 1
  • 24
  • 29
3
votes
2 answers

What causes Permission Denied when doing an ls on a symbolic link, when the underlying file has 'r' granted to all?

Not sure if this belongs here or on superuser.com. I'm battling with getting a C process working that needs to link in Oracle dynamic libraries. It compiles and runs fine under the oracle user (the user oracle was installed against) but not under…
JulesLt
  • 133
  • 1
  • 1
  • 5
3
votes
3 answers

What is the difference between a 'symbolic link' versus a 'junction' when use 'Link Shell Extension'?

What is the difference between a 'symbolic link' versus a 'junction' when use 'Link Shell Extension' ? Please explain.
Nam G VU
  • 287
  • 2
  • 5
  • 15
3
votes
3 answers

How can I quickly test a path in bash to determine if any segment of it is a symlink?

If I have a path like this with a symlink: /this/one/two/three Is there is a quick one-liner for determining if one more more segments in the path is a symlink? For example, I'd want to detect if this, one, two, or three in the example above was a…
StevieD
  • 514
  • 8
  • 24
2
votes
1 answer

Why am I getting different results using mklink and New-Item -ItemType SymbolicLink?

So I'm trying to create links with relative path with PowerShell, but I don't know why I'm getting differents results, I'm quite new with the command line in Windows, sorry if this is a dumb question. Here are some results I…
Ariel JGS
  • 23
  • 2
2
votes
1 answer

Calculate folder size without counting links

I need to calculate the size of "real" files created under a folder (and its sub-folders) on an NTFS drive, where "real" is all files that are not present because of hard/soft-links, junctions etc. Is there currently any tool that will do this?…
Doc
  • 121
  • 4