#1

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
Reply
#2

If you're using a host. Then contact them to help you.
Reply
#3

And why would it need to be 777? Do you know what these numbers mean?
Reply
#4

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>.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)