• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
cp creates directory with different permissions -- then reverts them
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cp creates directory with different permissions -- then reverts them


  • Subject: cp creates directory with different permissions -- then reverts them
  • From: Jeffrey Ellis <email@hidden>
  • Date: Sun, 29 Oct 2006 23:06:32 -0800
  • Thread-topic: cp creates directory with different permissions -- then reverts them

Hi--

I have just noticed that when doing a copy of a directory, the copy of the
directory has different owner/group and permissions than the original, and
when done, has reverted back to the original permissions.

This was my test directory. Here is my output during the initial stage, just
after copying has begun:

drwxr-xr-x    4 root     admin   136 Oct 29 22:56 Mixdown Project

And when the copy was complete:

drwxrwxrwx    8 jeffrey  jeffrey   272 May  6  2005 Mixdown Project

I was sudo'd to do the cp.

Can someone tell me why cp is doing this?

Thanks :)

All My Best,
Jeffrey


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: cp creates directory with different permissions -- then reverts them
      • From: Michael Smith <email@hidden>
    • Re: cp creates directory with different permissions -- then reverts them
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Upgrading a ROM based KEXT
  • Next by Date: Re: cp creates directory with different permissions -- then reverts them
  • Previous by thread: Re: Upgrading a ROM based KEXT
  • Next by thread: Re: cp creates directory with different permissions -- then reverts them
  • Index(es):
    • Date
    • Thread