[CentOS] umask not functioning with cp command
James Corteciano
james at linux-source.orgWed Jun 23 11:31:56 UTC 2010
- Previous message: [CentOS] 2 DVDs for CentOS 5.5
- Next message: [CentOS] Antwort: umask not functioning with cp command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, $ 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 test/content drwxr-xr-x 2 user user 4096 Jun 23 19:29 content My question is, how can I make content directory permission mode to 775 if I do cp inside the test directory? Thanks. Regards, James -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100623/92338640/attachment.html>
- Previous message: [CentOS] 2 DVDs for CentOS 5.5
- Next message: [CentOS] Antwort: umask not functioning with cp command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list