DepotDownloader icon indicating copy to clipboard operation
DepotDownloader copied to clipboard

Files are not being set as executable. EDepotFileFlag not set.

Open drch- opened this issue 1 year ago • 0 comments

What did you expect to happen?

Files that steamCMD sets to executable are also set as executable via DepotDownloader

Instead of that, what actually happened?

Files are not marked as executable when downloaded with DepotDownloader. They are when using steamCMD

Which operating system are you running on?

Linux

Version

2.5.0

Relevant log output

No response

Additional Information

I noticed this after downloading the Satisfactory dedicated server (app 1690800). It's large download, but a quicker reproduction of the issue can be done by including only the FactoryServer.sh file in a filelist which is also marked as executable. I noticed that no EDepotFileFlag are set at all on the file.

echo FactoryServer.sh >> /tmp/filelist.txt
./DepotDownloader -app 1690800 -filelist /tmp/filelist.txt
ls -l ./depots/1690802/10115591
> -rw-rw-r-- 1 dh6n dh6n 279 Sep  3 18:11 FactoryServer.sh

Executable bit is not set. However, if I download the app with steamCMD it is.

drch- avatar Sep 04 '23 18:09 drch-