A
A
alta772015-08-19 21:47:29
SSH
alta77, 2015-08-19 21:47:29

Rights to folders and files after unpacking via ssh?

I unpack the zip archive (wordpress) via ssh and all folders are given permissions with which it is impossible to make changes to files.
Perhaps there is some combination that needs to be inserted after unzip in order to preserve the rights as when unpacking through an ftp client?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jlekapb, 2015-08-19
@alta77

Самый быстрый способ - поменять права по ssh.
Для папок 755:
для файлов 644:
FTP клиенты тоже умеют это делать - filezilla например, но это будет намного дольше.
Насколько я помню, по-умолчанию выставляются права папки, в которую ты распаковываешь.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question