Questions tagged [folder-permissions]
90 questions
8
votes
2 answers
Linux directory permission inheritance
Can someone explain to me how directory permissions are inherited in Linux (Ubuntu, specifically)?
For example, what if I have the following directory structure:
folder_A
folder_B
Do folder_A's permissions always override folder_B's? Is there…

Evan LaHurd
- 977
- 2
- 14
- 27
7
votes
5 answers
Change folder permission to 777 using PHP temporarily
I have a Video folder on my server which has 755 permission. The problem is: when someone goes to upload video file, it can't be upload into that folder because of permission error.
If I change the permission to 777, then Video can be uploaded. But…

Sumit Bijvani
- 8,154
- 17
- 50
- 82
5
votes
4 answers
Powershell script creating home folder for user and setting permissions
I am doing a powershell script which creates new domain user accounts in AD, and also creating home directories in the file server with relevant permissions.
My problem is I cannot get the permissions set.
In the code below, my_fileServer is the…

user1866880
- 1,437
- 6
- 18
- 26
4
votes
1 answer
How can I get git to read mode changes?
I've changed permissions on a folder and want to push it out to the repository. However, git doesn't recognize the permission changes.
Any idea why not and how to fix it? Thanks in advance.

unwise guy
- 1,048
- 8
- 18
- 27
3
votes
3 answers
Reading Share Permissions in C#
Is it possible to read the sharing permissions assigned to a shared folder? I'm able to read in the local security settings programmaticaly (the ones found under Right Click > Properties > Security) no problem. But, I'm wondering how I can read the…

Petey B
- 11,439
- 25
- 81
- 101
3
votes
0 answers
Firebird 2.5 permission denied on Xubuntu 16.04
I'm having a problem trying to create databases with Firebird on my Xubuntu 16.04 (fresh) installation.
I have the directory /media/foo/databases/ where I want to put my databases files.
When I try to create the database in that directory, I get…

Gus
- 15,397
- 7
- 25
- 28
2
votes
0 answers
Is there a way to create password protected folder with django?
I want to create an application where user can upload their secret documents. Secret means no one can see the document even the super admin of the server can't even see the document. In other words I want system level authentication. Is there a way…

root
- 518
- 4
- 20
2
votes
1 answer
Access folder throughout Xamarin app
Is there any folder that can be accessed through a Xamarin.Forms app? The app will be deployed to Android, iOS and as a UWP app. I have a database file and so far, I am using SpecialFolders.Personal, which works for Android and iOS, but not UWP. I…

LeonidasFett
- 3,052
- 4
- 46
- 76
2
votes
2 answers
Revoke permissions on uninstall using Wix
I use the following to create permissions for a folder:
What is a preferable way to revoke them for the…

rudnev
- 2,281
- 3
- 22
- 31
2
votes
2 answers
Setting folder permissions in Google Drive API
I'm getting the error below when trying to create a folder, and set its permissions. It will work without passing the permissions in the file metadata.
But I'd like to create folders with permissions to specific users, who each have their own g-mail…

Just Rudy
- 700
- 11
- 28
2
votes
1 answer
Define where permissions apply with Set-Acl
I'm trying to emulate in PowerShell what I typically do in the windows folder properties window available from: Folder properties → Secutity → Advanced → Permissions → Change Permissions...
In that GUI there are tick boxes for
Include inheritable…

BeowulfNode42
- 518
- 7
- 21
2
votes
1 answer
Make my upload folder non-executable
I've made an upload form on my site and was wondering if it's possible to make the upload folder and any file that gets up loaded non-executable?
I have taken other precautions like sanitizing anything that gets uploaded but I'd love to know if its…

user1425394
- 105
- 2
- 2
- 9
2
votes
1 answer
VB.NET app is setting restricted file permissions on a directory, which is incorrectly restricting user created files in the same directory
My VB.NET application builds a tree of directories with restricted access.
The access should be that a normal user can not delete or rename the existing tree. But the user can add new files/folders anywhere in the tree. A user created file/folder…

gimbel0893
- 382
- 3
- 10
1
vote
3 answers
Create folder works but permission not inherited
I have a piece of Java that create folder(s) on a network mapped drive (Z:)
Script executes on server A (Windows 2008 R2, running as user account "serviceUser") and creates folder(s) on server B (Windows 2003)
The root folder on server B (which is…

user706058
- 415
- 3
- 11
- 23
1
vote
1 answer
Powershell Get-Acl for folders without access permissions
I wrote a script, which gives me all the permissions of a folder + subfolders for a user/group. However, the script only works, if my user has at least read permissions on all these folders. If he has no permissions, get-acl is denied.
Is there any…

Andr0mega
- 65
- 3
- 13