If you want to restore the precise permissions for the copied 
files---presuming you copied the original files w/ original permissions 
to the backup drive---you should run cp -a instead.


On 08/18/2014 07:06 PM, wes wrote:
> cp copies files by default. If you don't tell it to deviate from its
> default, it will assume that everything you want to copy is a file. In this
> case, the cups directory.
>
> Use cp -r to tell cp to copy directories too.
>
> -wes
>
>
> On Mon, Aug 18, 2014 at 6:55 PM, John Jason Jordan <[email protected]>
> wrote:
>
>> I had 16 printer drivers installed in my now borked Xubuntu 14.04.1.
>> They have not been changed since the last full system backup, which is
>> located in /media/jjj/Movies/Backups/Full_System_Backup/. From a long
>> time ago I know that you can stop cups, copy the /cups folder from the
>> backup, and then restart cups. The cups folder used to be
>> in /etc/init.d/, but nowadays Ubuntu seems to keep it directly in /etc.
>> So I rename the new cups folder to cups.old and then issue the command:
>>
>> sudo cp /media/jjj/Movies/Backups/Full_System_Backup/etc/cups /etc/
>>
>> And I get:
>>
>> cp: omitting directory
>> '/media/jjj/Movies/Backups/Full_System_Backup/etc/cups’
>>
>> To make sure I was entering the command properly I used the tab to
>> complete the paths.
>>
>> What does this mean and how do I copy the folder to my new Xubuntu?
>> _______________________________________________
>> PLUG mailing list
>> [email protected]
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to