On 1/06/2014 12:35 AM, Andrei POPESCU wrote: > On Vi, 30 mai 14, 21:51:05, Horatio Leragon wrote: >> I would like to back up system-connections (full path is >> /etc/NetworkManager/system-connections) on to a USB stick. >> >> The folder in question contains the imported profiles of several >> OpenVPN config files. >> >> I tried to drag the said folder to my USB stick unsuccessfully. The >> error message is "Permission denied". > > On my system the files under /etc/NetworkManager/system-connections/ are > readable only by root, which explains the error message. > > Probably simplest is to switch to root an copy the files to the stick. > Be careful what you do with that stick, those files are protected for a > reason (they might contain passwords or so). > > Also if the stick is FAT32 you will loose all information about > permissions, so if you ever copy them back you have to adjust those by > hand accordingly.
Tails has a neat method to keep this sort of stuff persistent. If you need a copy of setting on any device that might not be secure, then just encrypt the file before storing it -- then so long as you know the key (perhaps gpg symetric), then you are golden. Cheers A.
signature.asc
Description: OpenPGP digital signature