UNIX File Permissions in RTC SCM not preserved?
Hi,
I have a problem with file persmissions for a particular file in Linux environment. The following are the steps for the problem
- I have create a file AAA.sh in linux, it has read execute permission and it has been delivered to stream
-I am trying to load the using scm commands on linux command but we see that executable permissions are gone
ie to -rw-r--r-- but the expected result is -rwxr-xr-x--
Observations:
- When we changed the file to executable in Jazz property, delivered to stream. Then only owner has executable permission i.e. –rwxr-r-r
- Also when I see jazz forum that RTC doesn't store the file permission. Is it still the case with version RTC 4.0.4 ??(we are using)
Can I get any solution/workaround??
I have a problem with file persmissions for a particular file in Linux environment. The following are the steps for the problem
- I have create a file AAA.sh in linux, it has read execute permission and it has been delivered to stream
-I am trying to load the using scm commands on linux command but we see that executable permissions are gone
ie to -rw-r--r-- but the expected result is -rwxr-xr-x--
Observations:
- When we changed the file to executable in Jazz property, delivered to stream. Then only owner has executable permission i.e. –rwxr-r-r
- Also when I see jazz forum that RTC doesn't store the file permission. Is it still the case with version RTC 4.0.4 ??(we are using)
Can I get any solution/workaround??
One answer
RTC SCM maintains user-level execute permission. It does not store other permissions. If you want group permissions to be maintained you will have to write a script.
If you want to see that functionality added to RTC, there's a work item about the issue.