SteamRE / DepotDownloader

Steam depot downloader utilizing the SteamKit2 library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

drch- opened this issue · 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.