Top "Chmod" questions

chmod is a linux/unix command.

preserving file permissions for samba shares when file is edited

The code bases I work with are checked out from Git repositories onto my Linux machine. Since our production code …

linux chmod samba
What is the difference between `chmod go-rwx` and `chmod 700`

My goal is to prevent modify/read permission of other users except the owner. On ubuntu forums as solutions both …

unix filesystems chmod
Chmod issue to change file permission using python

I am looking to change the file permission to all files to read write and execute for all the users …

python windows python-2.7 chmod
PHP: get_current_user() vs. exec('whoami')

Short version of the question: What's the difference between get_current_user(); and exec('whoami'); ? Long version of the question: …

php apache unix xampp chmod
Chmod for PHP web application

Im writing web application. It's have: index.php /app - of course, with .htaccess but im not talking about it /…

php chmod
How to `chmod -R +w` with Ant, files and folders?

I'd like to do the equivalent of a chmod -R +w foo/ in an Ant build script. So far I'm …

linux ant recursion chmod
Using ICACLS to set file permission to 'read-only'

I'm having a heck of a time transferring from the simple, intuitive chmod 400 to trying to do the same thing …

powershell batch-file command-line chmod icacls
Creating a text file with PHP?

I'm trying to use PHP to create a text file, but I keep getting the "can't open file" error. Can …

php text fopen fwrite chmod
logrotate says permission denied when rotating log / re-creating log file

I'm new to logrotate on linux machines... here's what I have set up in my app's logrotate.d file: /var/…

linux file-permissions chmod permission-denied logrotate
How will a server become vulnerable with chmod 777?

I often read articles saying something along the lines of chmod 777 is bad! I was wondering: How do I become …

security chmod