Timeline for How can I find out if a relative symlink is internal to a certain subtree or not?
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 15, 2014 at 12:28 | comment | added | Martin Schröder | Have a look at symlinks, it may help. | |
| Jan 10, 2014 at 9:20 | answer | added | fr00tyl00p | timeline score: 0 | |
| Jan 8, 2014 at 23:38 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
| Jan 8, 2014 at 16:32 | answer | added | Fylke | timeline score: 0 | |
| Jan 8, 2014 at 15:01 | answer | added | Stéphane Chazelas | timeline score: 5 | |
| Jan 8, 2014 at 14:25 | history | tweeted | twitter.com/#!/StackUnix/status/420924185721208832 | ||
| Jan 8, 2014 at 14:21 | comment | added | Fylke | @terdon No, it should accept arbitrary directories. | |
| Jan 8, 2014 at 14:18 | comment | added | Fylke | @StephaneChazelas Yeah, that's a problem that I choose to ignore, sort of at least. I'm thinking I'll expand the link using readlink -f and see if the prefixes match. But I will ignore crazy corner cases since they don't exist in our environment. | |
| Jan 8, 2014 at 12:23 | comment | added | terdon♦ |
Would you always run this from /foo or do you need to be able to pass arbitrary directories? I mean, is the question always with respect to ./ or not?
|
|
| Jan 8, 2014 at 12:12 | comment | added | Stéphane Chazelas |
What if fie.txt or fum is itself a symlink outside foo?
|
|
| Jan 8, 2014 at 11:52 | review | First posts | |||
| Jan 8, 2014 at 11:56 | |||||
| Jan 8, 2014 at 11:36 | history | asked | Fylke | CC BY-SA 3.0 |