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

How to force a Debian package to overwrite permissions?

I’ve built a debian package that is simply putting file to /etc/sensu/plugins so that my checks get distributed that way. Now I wrote a new check, built the package and installed it everywhere but noticed I forgot to make the file +x. So I made the…
Rick Rackow
  • 1,490
  • 8
  • 19
1
vote
1 answer

PHP file permission issues on live server

Recently, I moved a website to live and all the file related operations stopped working, for e.g., copy, imagecreatefromjpeg, etc due to permissions issue. All the files are created in files/ directory. I gave it 755 permission recursively for…
1
vote
1 answer

ASP.NET - "Unknown user name or password" when trying to copy file to remote share

I have an ASP.NET application that's trying to copy a file to a remote share that's on a server on another domain ("REMOTEDOMAIN"): File.Copy(@"c:\Test.txt", @"\\REMOTEMACHINE\Share"); When we get to the File.Copy method, I'm getting "Login…
MisterZimbu
  • 2,673
  • 3
  • 27
  • 28
1
vote
1 answer

Structuring a central Git remote to serve production Apache sites

I've been referring to http://toroid.org/ams/git-website-howto as a starting point for a production web server running on a managed VPS. The VPS runs cPanel and WHM, and it will eventually host multiple client websites, each with its own cPanel…
peterjmag
  • 6,041
  • 1
  • 30
  • 27
1
vote
1 answer

Permission exception for Sqoop

Stack : Installed HDP-2.3.2.0-2950 using Ambari 2.1 The installation was auto. as the machines(total 9 nodes) had Internet connectivity and was done using root credentials. An ls command output for reference(sqoop user IS missing) : [root@l1031lab…
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
1
vote
2 answers

Cant' Upload files to AWS through PHP file upload

I guess this is just a permissions problem on AWS but I'm not very proficient at linux commands. I've moved a site from another server to AWS and after a while, everything run perfect except for the PHP file uploads. I have an User area where users…
1
vote
1 answer

file permissions owner, group, public clarification (web)

Could someone please explain owner/group/public permissions on files and directories in a web environment. My current understanding is that "Owner" is the person who created the file. Group, presumably are permissions granted to any user in Group…
Ross
  • 18,117
  • 7
  • 44
  • 64
1
vote
1 answer

SET-ACL folder permissions not applying correctly with my PowerShell script

I have two scripts: the first one creates a new root folder, and the second one creates a new child folder. It is MOSTLY working correctly, but when the inherited permissions are pulled down to the child folder the permissions don't show on the…
1
vote
1 answer

chown does not set SGID

I am trying to create a a directory with permissions 02770, so that the resultant permissions would be drwxrws--- When I run the below commands I get the expected behavior rsam.svtest2.serendipity> (/home/svtest2) $ mkdir…
Phalgun
  • 1,181
  • 2
  • 15
  • 42
1
vote
2 answers

Linux file permissions(in-depth) - numeric to string notation, and vice versa; additional file-permissions

I figured out how to read/convert the symbolic rwx parts to 421 octal parts, which was pretty straight forward. But I am extremely confused when there's the special characters involved. We know that -r-xr---wx converts to 0543, but what does…
Sone Nine
  • 115
  • 1
  • 9
1
vote
2 answers

Git permissions are changing when multiple people push/pull

I have a git repository and when I create a file locally in my repo, the permissions are set to -rw-r--r--. When i push these changes and another developer pulls these changes down, this file now has the permissions -rwxr-xr-x for him. The same…
Catfish
  • 18,876
  • 54
  • 209
  • 353
1
vote
1 answer

Check if we have write access to a folder? Delphi

Possible Duplicate: How can I use Delphi to test if a Directory is writeable? My program will download an update for the user if they request it. The user has to specify the location to save the installer. They might pick a directory which they…
Daisetsu
  • 4,846
  • 11
  • 50
  • 70
1
vote
1 answer

Overriding default umask for docker daemon

I'm trying to mount a folder on host machine inside a container. In cases when the host folder does not exist, Docker daemon automatically creates the folder on host machine and assigns permissions based on default umask(which is that of root). As a…
dnivra
  • 91
  • 6
1
vote
1 answer

Access Denied attaching a database through network

SQL Server 2012 instance is running on MyDatabaseServer. I failed to attach database when I attach database on another machine on the network. If I login to MyMachine, open SSMS, connect to MyDatabaseServer\MyDB and run the following code, it…
Lai
  • 1,320
  • 2
  • 13
  • 24
1
vote
0 answers

Checking if a folder is currently being used

How can I check if a directory is currently being used in Qt? By "being used", I mean that a file in this folder is open (a .exe for example, as I am working on Windows). I tried with QFileInfo::IsWritable() but it doesn't seem to work on directory,…
IAmInPLS
  • 4,051
  • 4
  • 24
  • 57