Chmod - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Chmod (
/showthread.php?tid=523160)
Chmod -
Venice - 30.06.2014
In my vps when i upload any file its on Chmod 644 to how to change it 777 for all files and folder permanently
If i upload file its need to be chmod 777,
sorry for my bad english
Re: Chmod -
HyDrAtIc - 01.07.2014
If you're using a host. Then contact them to help you.
Re: Chmod -
Vince - 01.07.2014
And why would it need to be 777? Do you know what these numbers mean?
Re: Chmod -
NewerthRoleplay - 01.07.2014
You don't want to chmod them all to 777 that gives every user access to write read and execute. You only need to chmod the server executables for you to execute them. And assuming you have root access and it's a linux VPS just run chmod --help in your console and it will give you the correct syntax on how to use it.
Код:
[root@home ~]# chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
or: chmod [OPTION]... OCTAL-MODE FILE...
or: chmod [OPTION]... --reference=RFILE FILE...
Change the mode of each FILE to MODE.
-c, --changes like verbose but report only when a change is made
--no-preserve-root do not treat `/' specially (the default)
--preserve-root fail to operate recursively on `/'
-f, --silent, --quiet suppress most error messages
-v, --verbose output a diagnostic for every file processed
--reference=RFILE use RFILE's mode instead of MODE values
-R, --recursive change files and directories recursively
--help display this help and exit
--version output version information and exit
Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.
Report bugs to <bug-coreutils@gnu.org>.