Top "File-permissions" questions

For questions relating to file read/write permissions, user groups, executable bits etc.

Laravel daily log created with wrong permissions

I have a script that I run using php artisan (with root user), and sometimes it causes the daily log …

laravel-4 file-permissions
Automatically apply "git update-index --chmod=+x" to executable files

I frequently add bash scripts to my git repository, and the scripts have executable permissions in the linux filesystem prior …

git executable file-permissions
Umask difference between 0022 and 022

Is there any difference between umask 0022 and 022? I want to change my umask to 022. How can I do it?

unix file-permissions umask
PHP chmod( ):Operation not permitted, safe_mode deprecation involved?

I'm struggling a bit to grasp the concept of chmod() from PHP as the course I'm currently taking is a …

php apache file-permissions chmod
What does mode_t 0644 mean?

#define COPYMODE 0644 creat(argV[2],COPYMODE); I have these two lines of code in a copy.c file. I don't know …

c file-permissions
shutil.rmtree fails on Windows with 'Access is denied'

In Python, when running shutil.rmtree over a folder that contains a read-only file, the following exception is printed: File "…

python windows file-permissions shutil
Cakephp cake_core_ cache was unable to write 'cake_dev_en-us'

I have tried EVERYTHING but i keep getting the following cake error: ( ! ) Warning: _cake_core_ cache was unable to write …

php cakephp file-permissions
Can't edit the host file

I've been trying to edit my host file for a while now and I keep failing. I tried to open …

windows-7 permissions notepad++ file-permissions permission-denied
How to use batch file to give a folder permission to the Everyone group

Im trying to add the group Everyone and give it modify permissions on a folder. Im using a batch file …

batch-file permissions file-permissions icacls
Test if a directory is writable by a given UID?

We can test if a directory is writable by the uid of the current process: if [ -w $directory ] ; then echo …

bash directory file-permissions