Symlinks created but not “there” SSH

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am creating Symlinks for Magento purposes but for some reason something is going wrong.

I created the symlinks using PuTTy SSH.

So I did this:
cd /home/user/domains/newwebsite/public_html/
ln -s /home/user/domains/oldwebsite/public_html/app/ app

So this is supposed to create a "shortcut" towards the app directory on the old website, right?

Well, it did, kind of. If I do dir it shows the directory. But when I look at it on FileZilla, it shows nothing.

Also, going to the app directory, it perfectly shows the files and directories it should contain.

When I create the folder app using FileZilla, I'm unable to open it. And when I delete the app folder, it is also gone using the dir command.

Changing names of files using FileZilla also changes it when using dir.

I have been doing this for a couple of other websites and it works fine.



Using Debian 8.
FileZillaSSH



cd app


SSH2

Might be that FileZilla is not reliable but the website doesn't show anything so there must be something different going on.










share|improve this question



















  • 2





    Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

    – Ulrich Schwarz
    Sep 1 '16 at 9:36











  • @UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

    – Sj03rs
    Sep 1 '16 at 9:40

















1















I am creating Symlinks for Magento purposes but for some reason something is going wrong.

I created the symlinks using PuTTy SSH.

So I did this:
cd /home/user/domains/newwebsite/public_html/
ln -s /home/user/domains/oldwebsite/public_html/app/ app

So this is supposed to create a "shortcut" towards the app directory on the old website, right?

Well, it did, kind of. If I do dir it shows the directory. But when I look at it on FileZilla, it shows nothing.

Also, going to the app directory, it perfectly shows the files and directories it should contain.

When I create the folder app using FileZilla, I'm unable to open it. And when I delete the app folder, it is also gone using the dir command.

Changing names of files using FileZilla also changes it when using dir.

I have been doing this for a couple of other websites and it works fine.



Using Debian 8.
FileZillaSSH



cd app


SSH2

Might be that FileZilla is not reliable but the website doesn't show anything so there must be something different going on.










share|improve this question



















  • 2





    Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

    – Ulrich Schwarz
    Sep 1 '16 at 9:36











  • @UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

    – Sj03rs
    Sep 1 '16 at 9:40













1












1








1








I am creating Symlinks for Magento purposes but for some reason something is going wrong.

I created the symlinks using PuTTy SSH.

So I did this:
cd /home/user/domains/newwebsite/public_html/
ln -s /home/user/domains/oldwebsite/public_html/app/ app

So this is supposed to create a "shortcut" towards the app directory on the old website, right?

Well, it did, kind of. If I do dir it shows the directory. But when I look at it on FileZilla, it shows nothing.

Also, going to the app directory, it perfectly shows the files and directories it should contain.

When I create the folder app using FileZilla, I'm unable to open it. And when I delete the app folder, it is also gone using the dir command.

Changing names of files using FileZilla also changes it when using dir.

I have been doing this for a couple of other websites and it works fine.



Using Debian 8.
FileZillaSSH



cd app


SSH2

Might be that FileZilla is not reliable but the website doesn't show anything so there must be something different going on.










share|improve this question
















I am creating Symlinks for Magento purposes but for some reason something is going wrong.

I created the symlinks using PuTTy SSH.

So I did this:
cd /home/user/domains/newwebsite/public_html/
ln -s /home/user/domains/oldwebsite/public_html/app/ app

So this is supposed to create a "shortcut" towards the app directory on the old website, right?

Well, it did, kind of. If I do dir it shows the directory. But when I look at it on FileZilla, it shows nothing.

Also, going to the app directory, it perfectly shows the files and directories it should contain.

When I create the folder app using FileZilla, I'm unable to open it. And when I delete the app folder, it is also gone using the dir command.

Changing names of files using FileZilla also changes it when using dir.

I have been doing this for a couple of other websites and it works fine.



Using Debian 8.
FileZillaSSH



cd app


SSH2

Might be that FileZilla is not reliable but the website doesn't show anything so there must be something different going on.







debian ssh directory symlink






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 18 at 3:59









Rui F Ribeiro

42.1k1484142




42.1k1484142










asked Sep 1 '16 at 9:19









Sj03rsSj03rs

1062




1062







  • 2





    Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

    – Ulrich Schwarz
    Sep 1 '16 at 9:36











  • @UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

    – Sj03rs
    Sep 1 '16 at 9:40












  • 2





    Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

    – Ulrich Schwarz
    Sep 1 '16 at 9:36











  • @UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

    – Sj03rs
    Sep 1 '16 at 9:40







2




2





Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

– Ulrich Schwarz
Sep 1 '16 at 9:36





Server software often has default flags to the effect of "never follow symlinks" so you cannot by accident reveal files outside of public_html (like password files), I'd guess that's what you are running into.

– Ulrich Schwarz
Sep 1 '16 at 9:36













@UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

– Sj03rs
Sep 1 '16 at 9:40





@UlrichSchwarz, Hmm I read about that. I was kind of expecting it to follow symlinks as it did with other users. But I am beginning to doubt it. I will ask my server management guy if this might be the case. Thanks!

– Sj03rs
Sep 1 '16 at 9:40










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f307174%2fsymlinks-created-but-not-there-ssh%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f307174%2fsymlinks-created-but-not-there-ssh%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay