
bsd# man chmod
CHMOD(1) FreeBSD General Commands Manual CHMOD(1)
NAME
chmod -- change file modes
SYNOPSIS
chmod [-fhv] [-R [-H | -L | -P]] mode file ...
DESCRIPTION
The chmod utility modifies the file mode bits of the listed files as
specified by the mode operand.
The options are as follows:
-f Do not display a diagnostic message if chmod could not modify the
mode for file, nor modify the exit status to reflect such fail-
ures.
-H If the -R option is specified, symbolic links on the command line
are followed. (Symbolic links encountered in the tree traversal
are not followed by default.)
-h If the file is a symbolic link, change the mode of the link
--More--(byte 902)
bsd# chmod 777 /home/site.ru/www/htdocs/temp/flv/porno.flv
Костик писал(а):пример для наглядности )
- Код: Выделить всё • Развернуть
bsd# chmod 777 /home/site.ru/www/htdocs/temp/flv/porno.flv
изменит файлу porno.flv права с rw-r--r-- (chmod 0644) на rwxrwxrwx (chmod 0777)
на виндовс такого нет там все проще с правами
Dimanok писал(а):а на винде как сделать?
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 10