Tag Info

Hot answers tagged

2

Windows line endings consist of the two-character sequence CR, LF. CR is the carriage return character, sometimes represented as \r, \015, ^M, etc. A Unix line ending is just the LF character. A way to convert Windows line endings to Unix line endings using only standard utilities present on all Unix variants is to use the tr utility. tr -d '\r' ...


1

php.ini has a directive has been named disable_functions , For example: disable_functions = ...


1

dos2unix: sed -i -r -e 's/\r$//' file unix2dos: sed -i -r -e 's/$/\r/' file


1

s/755/2775/ You're setting the owner to apache, denying group write permissions, and using newuser to attempt to upload. Given your scheme, you want to allow group write permissions, and I recommend 2775 versus 775 in order to keep new files owned by the apache group at creation.


1

check to see if you have another FTP service currently running on the machine netstat -anp | grep :21 if it is occupying the port, vsftpd can't start.



Only top voted, non community-wiki answers of a minimum length are eligible