Help someone who knows bash script


#1

I have transmission and i have perm errors on the new dl files and i cant execute exe files

I need someone to wrte a script to give full perm ( chmod -R 777)

Thnx in advance


#2

Hi ananias47, note that this is not supported by WD and it can void the warranty, but I’m sure other users can offer some help. You might also want to check the following thread for more info. 

http://community.wd.com/t5/WD-My-Cloud/GUIDE-Transmission-2-82/td-p/619597


#3

Can you not just mount drive in windows and change access permissions that way.


#4

koj1888 wrote:

Can you not just mount drive in windows and change access permissions that way.

No, you can’t change NAS permissions via a mount.


#5

finally the solution i made if u have permission denied error when u try to run a new exe or delete a dir u just download

 

1. make a txt file and put this 2 commands:

 

   cd /DataVolume/ 

   chmod 777 -R shares

 

2. name it like commands.txt and place it on safe locatiion like on c:/ 

 

3.make a putty shortcut on desktop

 

4.right click properties 

 

5 on destinanation line add this after putty.exe:

(putty.exe) -ssh root@ipaddressofurcloud -pw passworduloginonssh -m pathofcommand.txt

 

here is a copy of mine: C:\Users\spiti\Downloads\putty.exe -ssh root@192.168.1.47 -pw welc0me -m C:\commands.txt

 

6.click aplly and thats it

 

so when u dl something new you must only run the shortcut.

 

dont worry if when u run the shortcut open putty for seconds and close after writing using username “root” it is ok and working

 

i know its not perfect put is acceptable 

 

works both for transmission and pyload permission problems

 

pm me if anyone have problems on this

 

thnx

 

 


#6

@ “No, you can’t change NAS permissions via a mount.”

Maybe I am misunderstanding what you are trying to do, but I had no problem: connect via ftp using my file browser, copy script to share folder, right click file > properties, check , ‘execute’ boxes.

After that, I could bash the script via cron job.