# files submitted to Perforce are set to have read/write permission

**URL:** <https://forums.unrealengine.com/t/files-submitted-to-perforce-are-set-to-have-read-write-permission/2062020>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Source-Control, Perforce, question\
**Created:** [October 10, 2024, 4:13pm UTC](https://forums.unrealengine.com/t/files-submitted-to-perforce-are-set-to-have-read-write-permission/2062020 "2024-10-10T16:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [October 10, 2024, 4:13pm UTC](https://forums.unrealengine.com/t/files-submitted-to-perforce-are-set-to-have-read-write-permission/2062020/1 "2024-10-10T16:13:02Z")

</div>

I am facing an issue with Perforce, even if only for a single project. The Perforce depots are accessed by a super user, there is only one workspace that contain a bunch of projects. All Perforce permissions are the same. There are no such issues with the other projects.

When pulling the project files from Perforce to a new computer, all files have read/write permisions per default. - They are not checked out, but they have write permission !

When checking in a file, file access is set to read/write. - Files can be checked out from other computers, but still can be modified locally as well ⁉

But most strange, when permission of an already checked out file is set manually to read only, submitting it to Perforce server will change the permission back to read/write. 😲

Anyone ever had something like this? What could I do to solve this, other then to re-create the project in the Perforce workspace?

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [October 15, 2024, 10:47am UTC](https://forums.unrealengine.com/t/files-submitted-to-perforce-are-set-to-have-read-write-permission/2062020/2 "2024-10-15T10:47:38Z")

</div>

After checking the file history of one of the affected assests, I noticed that they are stored in the Helix depot with+w at the end. I remeber some ‘experimental’ changes that I made in the typemap file, could be that the file types were set to ‘binary+w’ for Unreal asset files. But not longer than half a day, then I set all types back to default (without any option).

But anything that have been submitted that time, has been saved as ‘binary+w’.

Solution:

- Compress the affected files/folders to a .zip archive - do not move or copy them !
- mark the folders to delete, submit that change to Helix depot (will delete local files as well)
- unzip the files/folders to their original loication in the Unreal project
- mark them to add and submit to the depot again

I still can check-out the old revisions

 ![Screenshot 2024-10-15 at 12.43.16](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/2/fd2c77386038ed3fb30bacc7a0afe07750874f52.png)

Strange that the p4 client did not check the typemap file, after I have reverted my changes.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 14, 2024, 10:47am UTC](https://forums.unrealengine.com/t/files-submitted-to-perforce-are-set-to-have-read-write-permission/2062020/3 "2024-11-14T10:47:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
