GithubHelp home page GithubHelp logo

Comments (4)

sam-pf avatar sam-pf commented on June 30, 2024

I am noticing the same problem with mega-cmd in ubuntu, with versions 1.6.1 (where I started noticing the problem?) and 1.6.3 (which I tried after noticing the problem). No matter what value I set for "permissions" in mega-cmd, synced files default to 600 (files) and 700 (folders). The same if I create a folder using "mkdir" in mega-cmd.

from megacmd.

reifmaxi avatar reifmaxi commented on June 30, 2024

I have the same issue with versions 1.6.3.1 and 1.6.3.9 on Arch Linux. The output of mega-permissions matches the values in $HOME/.megaCMD/megacmd.cfg, but no further effect seems to happen.

from megacmd.

asidirop avatar asidirop commented on June 30, 2024

I have the same issue on debian (10, 11, 12). Every time a file is updated the permission 600 are set:

asidirop@asidirop-srv:~/MEGA/tmp/test$ chmod 644 test-file
asidirop@asidirop-srv:~/MEGA/tmp/test$ 
asidirop@asidirop-srv:~/MEGA/tmp/test$ ls -l
total 4
-rw-r--r-- 1 asidirop asidirop 20 Dec  5 15:04 test-file
asidirop@asidirop-srv:~/MEGA/tmp/test$ ls -la
total 12
drwxr-xr-x 2 asidirop asidirop 4096 Dec  5 15:04 .
drwxr-xr-x 8 asidirop asidirop 4096 Dec  5 14:58 ..
-rw-r--r-- 1 asidirop asidirop   20 Dec  5 15:04 test-file
asidirop@asidirop-srv:~/MEGA/tmp/test$  mega-permissions
Default files permissions: 644
Default folders permissions: 755
asidirop@asidirop-srv:~/MEGA/tmp/test$ umask
0022
asidirop@asidirop-srv:~/MEGA/tmp/test$ # Change it remotely from another client
asidirop@asidirop-srv:~/MEGA/tmp/test$ ls -la
total 12
drwxr-xr-x 2 asidirop asidirop 4096 Dec  5 15:05 .
drwxr-xr-x 8 asidirop asidirop 4096 Dec  5 14:58 ..
-rw------- 1 asidirop asidirop   30 Dec  5 15:05 test-file
asidirop@asidirop-srv:~/MEGA/tmp/test$ mega-version 
MEGAcmd version: 1.6.3.4: code 1060304
asidirop@asidirop-srv:~/MEGA/tmp/test$ more ~/.megaCmd/megacmd.cfg 
ask4storage=0
permissionsFiles=644
permissionsFolders=755
firstSyncConfigured=1

from megacmd.

tinmanjk avatar tinmanjk commented on June 30, 2024

I encountered the same issue on 1.6.1. (Ubuntu 22.04)
It still works on 1.5.1 if you manage to compile it from source (no reliable .deb files to be found)

Here's` how I did after some trial and error:

sudo apt install autoconf libtool g++ libcrypto++-dev libz-dev libsqlite3-dev libssl-dev libcurl4-gnutls-dev libreadline-dev libpcre++-dev libsodium-dev libc-ares-dev libfreeimage-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libmediainfo-dev libzen-dev libuv1-dev
git clone https://github.com/meganz/MEGAcmd.git
cd MEGAcmd && git submodule update --init --recursive
git checkout 1.5.1_Linux
git submodule update
sh autogen.sh
 ./configure --without-freeimage
make
make install

This will install in /usr/local/bin.
May need to update ldconfig too and add /usr/local/lib

from megacmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.