Change owner and permissions recursively via SCP to a QNAP

Advertisement

drnibbles
Joined:
Posts:
2

Change owner and permissions recursively via SCP to a QNAP

Hi

I have a QNAP HDD where i need to change all the permissions and owners. I has a massive amount of folders with files in it. I tried to use WinSCP and login and then right click the top folder and set 777 recurcively but it only changes the folders themselves and some random files. I can't seem to just be able to run this on all folders.

Am i missing something. I downloaded the latest WinSCP from this website and i run it in a win 7 machine and connect to a QNAP nas. I right click the top folder (has all the other folders and files inside) and choose properties and then change the permissions and then also click the "do this recursive"

Any ideas... please :-)

oh more info..
Just to add to this.. I actually do run the permission change and it looks like winSCP does go through every file and it takes forever however when i go and randomly check files and some folders the files are unchanged. Its only the files that stay unchanged not the folders, all the folders get the right permissions.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Change owner and permissions recursively via SCP to a QNAP

Please post a full log file showing the problem (for some subtree only to reduce log size).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum