[CentOS] Antwort: umask not functioning with cp command

2010-06-23 Thread Andreas Reschke
centos-boun...@centos.org wrote on 23.06.2010 13:31:56: James Corteciano ja...@linux-source.org Gesendet von: centos-boun...@centos.org 23.06.2010 13:32 Bitte antworten an CentOS mailing list centos@centos.org An CentOS mailing list centos@centos.org Kopie Thema [CentOS]

Re: [CentOS] Antwort: umask not functioning with cp command

2010-06-23 Thread James Corteciano
Hi Andreas, I try the following command and the test/content directory is still in 755 mode. $ cp -a -dpR content/ test/ $ ls -l test/ drwxr-sr-x 2 user user 4096 Jun 23 19:28 content Regards, James On Wed, Jun 23, 2010 at 7:37 PM, Andreas Reschke andreas.resc...@behrgroup.com wrote:

Re: [CentOS] Antwort: umask not functioning with cp command

2010-06-23 Thread John Doe
From: Andreas Reschke andreas.resc...@behrgroup.com James Corteciano ja...@linux-source.org $ umask 0002 $ mkdir test $ ls -ld test drwxrwxr-x 2 user user 4096 Jun 23 19:04 test/ $ls -ld content drwxr-xr-x 2 user user 4096 Jun 23 19:29 content $ cp -r content test/ $ls -ld