We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5436f9b commit 5dc9899Copy full SHA for 5dc9899
filemanager/filemanager.py
@@ -335,7 +335,7 @@ def writeFileContents(self):
335
command = 'ls -la %s' % (self.data['fileName'])
336
output = ProcessUtilities.outputExecutioner(command)
337
338
- if output.find(website.externalApp) == -1 and output.find('No such file') == -1:
+ if output.find('lrwxrwxrwx') > -1 and output.find('->') > -1:
339
return self.ajaxPre(0, 'File exists and is symlink.')
340
341
if self.data['fileName'].find(self.data['home']) == -1 or self.data['fileName'].find('..') > -1:
0 commit comments