Comments (4)
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.
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.
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.
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)
- Problema de lentidão e arquivo de log lotando o espaço em disco
- Add MEGA Chat support
- Problema de backup
- Mega-cmd fails on router
- megacmd get command failes with an exit code of 16
- Mega CMD portable version? When?
- problem Please ensure mega-cmd-server is running HOT 1
- [Linux/QNAP NAS] Failed to sync folder: Internal error
- EXCEEDREMOVAL in nightly backups
- " Too many changes in account, local state invalid" HOT 1
- Help! Is there someone could assist me with scheduling backups and correcting cronjob commands HOT 1
- MegaCmd sync on a cifs mount does not work
- Merged_20240215_1022.pdfhttps://mega.nz/file/sbVByYzK#aY3nL8ovjyzBCK88LsasKRaJYKbO00eXPOdEDaPSokw
- webdav spacings in path HOT 5
- mega-cmd-server failed to start with segmentation fault
- Problem to access Mega Cmd: server irresponsive + failed to create socket for registering for state changes HOT 10
- Run from PHP from Apache Webhook
- how to resume a backup when listed as " INCOMPLETE " HOT 1
- cd
- mega-cmd unresponsive on Synology NAS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megacmd.