We help IT Professionals succeed at work.

Permissions not inheriting on copy

ClaudeWalker
ClaudeWalker asked
on
Medium Priority
261 Views
Last Modified: 2012-05-12
So I have a folder that has permissions where Everyone has Full Control.

However, whenever I run a program (video encoder) that places a newly encoded file from a Temp working folder to the aforementioned (everyone permssions) folder, the permissions are not inheriting.

Basically, when I try to see the video through my XBox it's not there until I go to the folders premissions and click "replace all child object permissions with inheritable permissions from the object" checkbox.  

Is there a way to get those permissions to apply to that file just by residing in that folder?

Thanks,
JOe K.
Comment
Watch Question

Commented:
You mentioned that "Places a newly encoded file from a Temp working folder".  How do you do this?  Moving it or copying it using the script?

Author

Commented:
Example:

The program reads the original video from C:\Downloads

It then starts working on the video and writes temp files decoded video files in D:\Temp

When finished it takes the finished product from D:\Temp and moves it to E:\Streamable

Commented:
The reason I am asking this is to see how the files are being handled.  Copying and moving files have different behavior when the files reach the destination.

If you copy the files within the same partition, the files will inherit the destination folder permissions.  On the other hand, if you move the files, they will retain their original permissions.

In your case, if the software "moves" the file from the D:\Temp folder, they will retain their original permissions.  To work around this, you either configure the software to copy the files instead of moving them or grant Everyone "Full Control" to the D:\Temp folder.

Author

Commented:
Great idea!

I'll modify the temp folder.

Author

Commented:
I'll keep you posted.

Author

Commented:
Worked perfectly!

Thanks,
JOe K.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.