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

Multer, Node, EACCES error on C9.io

Hiya all thanks in advance for any help you can provide. I am using C9.io, node, express, multer, gridfs-stream. And Im getting: /home/ubuntu/workspace/node_modules/multer/index.js:25 mkdirp(dest, function(err) { if (err) throw err; }); Error:…
jsrosas
  • 103
  • 2
  • 14
1
vote
1 answer

Git Directory Permissions Always 000

By messing around with Git objects, I've found that the tree entries within a tree object always have these permissions. 040000 DirEntry hash The 04 means that it is a directory, but the permissions are 000. Does this mean that Git does not store…
ThePyroEagle
  • 153
  • 12
1
vote
2 answers

Lua file handling error: Permission Denied (Mac OSX Yosemite)

I'm struggling with a permission error in Lua when trying to read/write from/to a text file. As you can see below, I've pulled the error message from the io.open function and I'm getting "file.txt: permission denied". If it helps at all, I'm using…
cmimm101
  • 37
  • 6
1
vote
1 answer

Git file permissions on a web server

I am using the following permissions to run my website (Magento/Php5.4) find $path/. -type f -exec chmod 400 {} \; find $path/. -type d -exec chmod 500 {} \; find $path/var/ -type f -exec chmod 600 {} \; find $path/media/ -type f -exec chmod 600…
brentwpeterson
  • 162
  • 2
  • 9
1
vote
0 answers

Program Data in a POSIX environment?

I'm a little confused on how/where program data should be stored in a Posix envronment, Debian Linux specifically. I understand that user specific data should be kept in $home, and looking at this question it looks like data common to all users…
1
vote
1 answer

How to set all the permissions recursively to the new folder created on FTP server using PHP?

I've created a new folder on FTP server using PHP. Now I want to set all the permissions recursively(i.e. the same permissions should be applied to all the files and folders residing it.) I tried to research about this thing then I came to know…
PHPLover
  • 1
  • 51
  • 158
  • 311
1
vote
1 answer

Linux - permissions on a file for different groups

Context I have a file I want some people to share with me. There are 3 groups involved. We are 6 people : Emily, Sandy, Beatrice, Josh, Antoine and me, Alain. Group1 : Alain,Josh Group2 : Sandy, Emily Group3 : Antoine, Beatrice. There is one file…
Larry
  • 1,735
  • 1
  • 18
  • 46
1
vote
1 answer

loading * no listener in gwan linux 32-bit

GWAN error on Centos 7 version I tried both version 64 bit and 32 bit version , I am using latest version from GWAN site. Any help would be appreciated. [Fri Nov 21 18:02:32 2014 GMT] user: root (uid:0), group: root (uid:0) [Fri Nov 21 18:02:32…
1
vote
1 answer

mkdir(): Permission denied after chmod

I am faced with the mkdir(): Permission denied issue and i have checked multiple answers. All of them stated the permission of the storage folder shoulf be changed sudo chmod -R 777 app/storage but still the issue is not resolved in my case. Any…
omarsafwany
  • 3,695
  • 8
  • 44
  • 75
1
vote
1 answer

Auditing NTFS permissions using input list of folders

I'm trying to do an audit of some folders. I need to get NTFS permissions of every folder listed in input file. I have a folderlist.txt with folder paths. This is the script I have: $InputFile = "C:\Folderlist.txt" $OutputFile =…
Martin_K
  • 123
  • 2
  • 2
  • 11
1
vote
1 answer

Saving files with Windows programs makes Git in Cygwin track filemode changes

I am currently developing with Cygwin, Git in Cygwin and a Windows editor under Windows. It is quite annoying that saving files from native Windows programs makes a file executable in Cygwin. I want to track filemodes as we have Unix executables but…
Daniel Böhmer
  • 14,463
  • 5
  • 36
  • 46
1
vote
0 answers

Can server permission rights affect page loading speed

I changed my WP-file permissions as one tutorial showed (http://www.smashingmagazine.com/2014/05/08/proper-wordpress-filesystem-permissions-ownerships/) Now gtmetrix shows that my site is slower. Can those permissions cause that?
Miikka
  • 19
  • 2
1
vote
2 answers

Changing default permission in Flask application with Apache web server

I have a flask application that creates directory with this code: if not os.path.exists(target_path): os.makedirs(target_path) With the created directory the default permission is 0755, and the owner and group is _www. So, only the owner can…
prosseek
  • 182,215
  • 215
  • 566
  • 871
1
vote
0 answers

How can I work around a bad API function that leaves a locked file on failure?

Basically, I'm running into trouble "working around" an API I have no control over which is locking a file when it shouldn't be. The method from the API looks like this: public static bool Upload(string fileName) { ... } // I have no ability to look…
au42
  • 111
  • 9
1
vote
1 answer

Usecase for write-only permission

User can change the file permission to write only (010) in unix environment. But are there any usecase to keep the file permission to write only mode?.
Anbu
  • 91
  • 7