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

Why can't I delete a directory created in ProgramData?

I' trying to create a directory and then delete it (for testing purposes, which I will ommit, but can give details if needed). Like this: >>> import os >>> os.makedirs('C:\\ProgramData\\dir\\test') >>>…
Simeon
  • 7,582
  • 15
  • 64
  • 101
1
vote
0 answers

Not understanding permissions to write on Amazon EC2 Server

I developed a Command Line Tool (CLT) on a Amazon EC2 (Linux) machine. It's OpenCV based, so I can execute my script and being able to write images on the server (by imwrite(std::string path, cv::Mat image) ). I do that exactly from the console and…
Rafael Ruiz Muñoz
  • 5,333
  • 6
  • 46
  • 92
1
vote
1 answer

Proper permission and directoy location for Git Version Control

I am using Git Version Control on an remote server and I have set up a repository that multiple people will be using to push/fetch from. I have put the repo under /srv/subdir/git/.git I have been experiencing problem after problem it seems like. a)…
TheJediCowboy
  • 8,924
  • 28
  • 136
  • 208
1
vote
1 answer

Automated gzip and File Permissions

Our corporate unix environment automatically gzips files after 30 days. However, after gzipping the file permissions are reset to a default 644 file permission. Is there any way to reset this default for my files so that when they are compressed…
Scott L
  • 53
  • 1
  • 7
1
vote
1 answer

How can I write a public file for my service to pick up on Android?

I have two parts to this question: 1) what is the best solution to my need, and 2) how do I do this? 1) I have a client app which sends bundles to a service app. the bundles can break the limit on bundle size, so I need to write the actual request…
Jonathan
  • 69
  • 1
  • 10
1
vote
1 answer

permission denied while copying eventhough necessary permission exist

I have a file(file) with permission 500. In Linux, I tried to copy (using cp) that file into a folder (a) whose permission is 600. Even though folder have write permission, I am getting " cannot stat `a/file': Permission denied error. Could anyone…
nantitv
  • 3,539
  • 4
  • 38
  • 61
1
vote
1 answer

cygwin "Permission denied"

Trying to launch a file ./cu/cu-check-regressions --help Get this: -bash: ./cu/cu-check-regressions: /usr/bin/python: bad interpreter: Permission denied Already changed permission in properties>security my account has full control over the folder.…
FancyPants
  • 93
  • 1
  • 4
  • 20
1
vote
1 answer

Why are newly created files inheriting from 'Parent Object' instead of the parent folder on Windows Server 2012?

I have posted this question on Drupal Answers, but I don't know if it is a Drupal problem or a Windows problem, so I am posting here in case it is windows. The Drupal Answers question has screen grabs which might explain this clearer-…
1
vote
3 answers

Permission Denied errors with Visual Studio 2008 under Vista

I've taken the plunge and upgraded (or maybe downgraded?!) from WinXP to Vista. Everything appeared to be working ok except that when I fired up my machine this morning and opened my C# application in Visual Studio I got a few "Load of property…
Andrew
  • 11,894
  • 12
  • 69
  • 85
1
vote
1 answer

VB.NET 2008, Windows 7 and saving files

We have to learn VB.NET for the semester, my experience lies mainly with C# - not that this should make a difference to this particular problem. I've used just about the most simple way to save a file using the .NET framework, but Windows 7 won't…
Spoonman
1
vote
1 answer

Get permission level of a folder

I have an EventHandler that checks permission level. private void button1_Click(object sender, EventArgs e) { int id = 1; XMLPermSheet.CreateXML(); string directory = textBox1.Text; DirectoryInfo di…
Piotr Truszkowski
  • 208
  • 1
  • 2
  • 12
1
vote
1 answer

File permissions, root bash script, edit by user

I have a script that needs to be ran as root. In this script I create directories and files. The files and directories cannot be modified by the user who ran the script (unless there root of course). I have tried several solutions found here and…
1
vote
1 answer

Changing sharing settings when uploading with Google Picker?

I am trying to change sharing permissions when uploading files to google with Google Picker. Is that even possible, or do I need to write own methods for changing the permissions after uploading? Uploading normally with google picker works, but I…
1
vote
1 answer

PHP/Apache dba_open file permissions

I tried opening a bdb file in a directory not under the DocumentRoot(/var/www/api) in a php script(handler.php): In the apache log: [Mon Feb 02 23:03:59 2015] [error] [client…
Douglas Russell
  • 513
  • 1
  • 4
  • 5
1
vote
1 answer

What is a good way of checking to see if a particular user may access a particular file?

I am working on application which runs as a special unprivileged user. I would like to be able to easily check to see if the user can read a given file. It seems like this should be easy, even when I go into the file in Windows Explorer and see…
Vivian River
  • 31,198
  • 62
  • 198
  • 313