question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable File Permission Sync

See original GitHub issue

Expected Behavior

The ability to upload a file without it’s permissions

Actual Behavior

Files upload with permission sets. I’m working in a locked down 644-only environment, but keep having to chmod +x shell scripts on the server after upload. It would be useful to include an option to disable this, perhaps "transferFilePermissions": false

Steps to Reproduce the Problem

  1. Download a file with executable permissions (755) from a server via sftp
  2. Change it’s permissions to 644, upload it back with sftp
  3. Check the file permissions on the server.
  • Version: .7.7
  • Platform: Windows

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
liximomocommented, Aug 29, 2017

@JustDevZero The default mode is 666. It is the umask result in 644.

0reactions
heliomoreiracommented, Nov 25, 2017

Hi liximomo,

When I edit a file locally, the permission on remote server changed to 666 in that file.

This causes 500 Error because remove execution permission.

I have the Visual Studio Code 1.18.1 and FTP protocol.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove permission on a synchronised document not ...
Hi, My user have synchronized one SharePoint Library with 10 documents ... I'have remove all permissions on one document for this specific user....
Read more >
How to manage shared link permissions - Sync
Disable downloads on shared links (preview only)​​ Sync Pro and Business customers can disable downloads on shared links. If the file is previewable,...
Read more >
Windows file permissions/ownership are preventing me ...
This means your user accounts needs to have full control permissions on any files / folders you want Google Backup and Sync to...
Read more >
Sync Creates Folder Without Permissions - FreeFileSync Forum
Go to Menu → tools → options and ensure permission copying is unchecked. If you are an administrator and really need to preserve...
Read more >
Disable Windows permission inheritance when syncing read ...
As you may know, when you are synching content using OneDrive for Business client on your Windows device, 'local' Windows permissions are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found