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
2 answers

PHP ssh2_sftp_mkdir creating permission incorrectly

ssh2_sftp_mkdir($sftp, '/home/site',0774); I am using the above to create a folder remotely but instead of the folder having permissions 774 it is getting set as 754 meaning that it is not writeable by the group.
Kline
  • 47
  • 7
1
vote
2 answers

File Permissions Issue On Mac

I'm not very familiar with Terminal / Command line on Mac, outside of basic commands (cd, ls, pwd ect.) And I was trying to install "compass" for Sass. http://compass-style.org/install/ When I tried the first line that they give $ gem update…
Bradley4
  • 510
  • 1
  • 6
  • 13
1
vote
1 answer

Setting Metadata in Google Cloud Storage (Export from BigQuery)

I am trying to update the metadata (programatically, from Python) of several CSV/JSON files that are exported from BigQuery. The application that exports the data is the same with the one modifying the files (thus using the same server certificate).…
vrwolf
  • 403
  • 4
  • 10
1
vote
1 answer

Copy files to google glass

My google glass does not allow me to write or copy any file to its root folder (and do allow to the inner ones) - seems like a permissions problem. Moreover, when trying to run some .bat or .exe file - it also does not work. Is there a way to solve…
1
vote
1 answer

vagrant synced_folder file permissions

Vagrant Version 1.6.3 Virtual Box 4.3.12 VBoxGuestAdditions-4.3.2 Host OS -> Windows 8 Guest OS -> CentOS 6.4 This is the content of my Vagrantfile ( where developer is userName ) config.vm.synced_folder ".", "/vagrant", disabled:…
Yogesh Yadav
  • 4,557
  • 6
  • 34
  • 40
1
vote
0 answers

Vaadin Upload control fails silently when user chooses file for which he/she has no read access

I have a vaadin application with an Upload control. The user can browse for a file and upload it using this control, as long as the file permissions on the client side allow reading. If the user chooses a file he or she is not allowed to read, there…
1
vote
1 answer

Getting permission denied error while opening using "vi" or trying excute as "python script1.py"

I am having an issue where am not able to "vi" or run the script "script1.py",permissions on the file are shown below,i have a different file "script2.py" create by the same user and able to access,only difference is I see "+" at end of permissions…
user3682248
1
vote
2 answers

django manage.py script messed up directory permissions

I have a script that checks a json file and downloads photos to a folder. This bit checks if the directory exists and if not, creates it: folder = media_root + 'photos/' + now.strftime('%Y') + '/' + now.strftime('%m') + '/' + now.strftime('%d') if…
Bruno Amaral
  • 169
  • 1
  • 12
1
vote
1 answer

Chown a specific folder without root privilleges

I need to chown a file to some other user, and make sure it is unreadable again. Sounds complicated but it will be mainly look like this: cd /readonly wget ...myfile cd /workdir chmod -R 444 /readonly chown -R anotheruser /readonly ls /readonly #…
Mustafa
  • 10,013
  • 10
  • 70
  • 116
1
vote
1 answer

How do I run a plist daemon on MAC OS 10.8.5 with the correct file permissions

I have a plist file saved to /Library/LaunchDaemons/local.WiFiDaemon.plist Here is the code:
1
vote
0 answers

How to run remote bat file without prompt

I have a remote drive mapped to my local Z:\ drive. When running using this: System.Diagnostics.Process.Start("Z:\\Test.bat"); It opens a prompt as to whether or not to open the file. How do I disable this setting in windows or get around it using…
b15
  • 2,101
  • 3
  • 28
  • 46
1
vote
1 answer

permission denied to open file for writing using perl

I have a problem that I have tried to get to work. First, I wrote a PERL Script a long time ago and it is on another server. We are creating a new server, and I have downloaded/installed Strawberry PERL 64-bit. I am now checking all of my PERL…
1
vote
0 answers

git pull in shared project folder

On one of my Linux boxes I have a project folder where many developers do git operations - mainly git pull. The problem I'm having is that for some reason git creates new directories with wrong group permissions rwxrw-r-- I already set…
rzajac
  • 1,591
  • 2
  • 18
  • 37
1
vote
2 answers

Restricting file access of Docker container

Suppose I have NodeJS application inside of Docker container. NodeJS can interact with host's filesystem using fs module. What I want is to give it access only to one folder (for example, /home/user1/thisfolder), and deny reading/writing any other…
Scadge
  • 9,380
  • 3
  • 30
  • 39
1
vote
0 answers

Folder Permissions Error from WordPress on Localhost

I am no longer able to auto-update my local WordPress install. The problem started after fixing dropbox file permission errors. Now when I try to install I get this message: Downloading update from…
Justin
  • 26,443
  • 16
  • 111
  • 128
1 2 3
99
100