Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12642

[Solved] Permissions issue when copying recordings to external drive

$
0
0

@edooze wrote:

Hi all,

I've just mounted a ReadyNAS to my FreePBX box. I want to backup the monitor directory to this drive using the command line.

Whenever I try to cp, the permissions of the folder that is created don't allow the creation of files in it, so I have to continually run chmod 777 on the destination folders to reset it, and it keeps breaking with every new folder it creates.

What am I missing? Why is it doing this? I am copying as sudo to a 777 directory. I have even tried setting permissions to 777 on the source, but no dice. There has to be a better way, surely?

Thanks for any help.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>