Questions tagged [file-permissions]

For questions relating to file read/write permissions, user groups, executable bits etc. Be sure to include a tag for the operating system (Windows or Unix) and tag for operating system version.

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

Related tag:

Filesystem permissions on Wikipedia

3073 questions
1
vote
1 answer

Node.js: SCP file and perserve permissions

I'm using the node-ssh2 module to copy files to remote servers. In general I don't have the ability to change the default umask on the servers. But I need the remote file's mode to be 0666 after it's copied. If I set it first locally and then just…
Sean Lynch
  • 2,852
  • 4
  • 32
  • 46
1
vote
1 answer

who creates the media folder in django and how to change permission rights?

I set up django using nginx and gunicorn. I am looking at the permission in my project folder and I see that the permission for the media folder is set to root (all others are set to debian): -rw-r--r-- 1 root root 55K Dec 2 13:33 media I am…
Tom
  • 2,545
  • 5
  • 31
  • 71
1
vote
0 answers

Permission Denied when try to run git pull

After running the command git pull, I get the following messages: * branch abc_branch -> FETCH_HEAD Updating 64d3953..e881e1a warning: unable to unlink dist/stylesheets/2ada1348.abc.min.css: Permission denied error: unable to create…
TeeKai
  • 671
  • 2
  • 10
  • 20
1
vote
1 answer

Special Symfony2 cache file permission issue on Mac

I already read the multiple questions regarding symfony and permission issues. My problem is this: When cache:clear creates the directory, apache can't access the cache. When apache creates the directory on page call, cache:clear can't access. The…
1
vote
1 answer

PHP code in localhost not working in server - with phantomjs

I am using a php script from github to capture screenshot of a website. Its working fine in localhost. But not working after uploading the same code to my server (linux hosting). I tried uploading to multiple servers. None of them worked. No error…
Gijo Varghese
  • 11,264
  • 22
  • 73
  • 122
1
vote
1 answer

How to grant write permissions to all files in eclipse work space

I have an eclipse work space I was given to work on my local machine and I need write permissions on all these files. Most of them already have write permissions but about half of them prompt me that the file is read only and ask if I want to make…
user4332327
1
vote
0 answers

Images relates issue in magento 1.9

I used Magneto 1.9 suddenly I faced a problem in it .When i create a product and upload images, it is shown in back end and not show in front end.But after this when I edit the same product and add one more image in it then in front end it shown…
Ritesh
  • 81
  • 12
1
vote
0 answers

"www" as the owner of php file and nginx process, the script still cannot write?

I am using a "duplicator" plugin on wordpress and required to configure the folder wp-snapshots, wp-snapshots/tmp to the owner of the php running process and I did. Both folder and all files under are owned by "www". Nginx is run by "www". But I…
Hao
  • 6,291
  • 9
  • 39
  • 88
1
vote
2 answers

.git/config permission denied when trying to add remote on ubuntu

I am trying to add an extra remote to an existing git project so I can push code to a secondary bitbucket repository using the git remote add user2 git@bitbucket.org:... , but I am getting the following error: error: could not lock config file…
Finglish
  • 9,692
  • 14
  • 70
  • 114
1
vote
1 answer

Check that file is writable by current user in POSIX shell

Current user is $USER. Previously I use: if [ -e "$f" ] && [ `stat -c %U "$f"` != $USER ] \ || [ -e "${f%/*}" ] && [ `stat -c %U "${f%/*}"` != $USER ]; then to detect if file is owned by user (or dir if file is not yet exist). But file can be…
gavenkoa
  • 45,285
  • 19
  • 251
  • 303
1
vote
0 answers

file access in winrt apps media player library

I am new to WinRT and I was planning on developing a WinRT app for a simple media player that would play audio/video, create playlist and have media library. As I was thinking I would make a playlist class and serialize it when a playlist is saved.…
Ankush
  • 173
  • 2
  • 14
1
vote
1 answer

How can I change the PHP current script owner

The Scenario: I am currently running PHP 5.5.30 on Apache 2.0 which is installed on a Windows 7 server. The PHP current script owner is SYSTEM which of course has local powers but does not have access to network drives and so I am receiving the…
Pigeon
  • 62
  • 9
1
vote
1 answer

How to make the permission of files on linux of group same to owner?

How can I recursive change the permissions of files/directories to become group permissions the same as owner permissions? e.g. Before: 640 x.txt 744 y 400 y/z.txt After: 660 x.txt 774 y 440 y/z.txt Thanks to fedorqui got created this as…
wdk
  • 373
  • 2
  • 8
1
vote
0 answers

right permission for plugins in wordpress and debian 8

I don't know if my problem is reported but ... I have a (latest i think) wordpress 4.3.1 installed on debian 8 (apache 2.4.10, php 5.6.14) and I configured apache/envvars file with umask 002. When I create a new file from php script, this new file…
Momo
  • 21
  • 4
1
vote
1 answer

Issue with ExpressionEngine caching file permissions

I am trying to allow caching for my site using expressionengine 2.0. In my config.php file, I have set the following two parameters: $config['cache_driver'] = 'file'; $config['cache_path'] = ''; Initially there was no cache directory, so I created…
Hadi
  • 945
  • 3
  • 10
  • 31