Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-permissions]

Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

2
votes
1answer
33 views

Files created in Cygwin have corrupt Windows security settings

On one Windows 10 PC, when I create a file from a Cygwin bash shell, the Windows security settings for the file are corrupted. So, for example, if I type echo test > test.txt, when I bring up the “...
0
votes
1answer
34 views

Combined NTFS Permissions & Combined Share Permissions

Can someone please clarify: What happens to combined NTFS permissions? Does the most restrictive permission prevail or the least restrictive permission wins? Is this the same to the combined share ...
1
vote
0answers
13 views

RedHat: chroot user to subfolder with a different user chroot'd to the parent folder

I have a RedHat server with SFTP enabled and a few accounts, this server is currently being accessed by an application to read the user's respective files, they do not have Write access. The server is ...
0
votes
0answers
9 views

Setting protective permissions and ACL’s in Mac os or Unix for a veracrypt or KeepassXC “Keyfile”

I am running Mac OS, and use both veracrypt and keypassxc to safely store passwords and documents. For both programs, there is an option to unlock your data (Keepass Database, or Veracrypt encrypted ...
-1
votes
0answers
45 views

Can't access NAS through SMB

I am on OSX trying to connect to my NAS drive. I can connect to transmission and sickbeard through their ports (:9091 and :8081) both with IP address and mybooklive.local but I can't SMB into either (...
1
vote
0answers
45 views

On Linux Samba share accessed from macOS, macOS has weird file permissions

The things I changed in my smb.conf on my linux machine are: unix extensions = no map archive = no map system = no map hidden = no [myshare] path = /home/bob/myshare browseable = yes read only = no ...
0
votes
0answers
7 views

Monit process permission issues

I have a celery consumer which is written in python and it executes a Perl script for every task in the queue. I have added the celery to init.d configuration, everything works as expected but when ...
-2
votes
1answer
44 views

Is there an easy way of summarizing the relationship between Samba access/permissions and linux file system permissions? [closed]

Configuring a Samba share can be a challenge if you’re not a professional admin. A hobbyist or home user will set up a Samba server once and probably not touch it in years thereafter - if they even ...
2
votes
1answer
188 views

Bad owner or permissions on ~./ssh/config after upgrade to Windows 1809

I'm using Windows 10 OpenSSH version. After update to Windows 1809 I've got C:\Windows\System32\OpenSSH\ssh.exe myhost Bad owner or permissions on C:\\Users\\XXX/.ssh/config But execution c:\...
1
vote
0answers
29 views

TextEdit says a file is locked but Finder says it's not and I have permissions to write

This file shows as follows in Finder: But in TextEdit it says it's locked, and trying to change this fails: It's a project from GitHub/NPM I just want to play with changes locally, not muck about ...
0
votes
1answer
76 views

Somehow the /var/www/html folder got converted to a binary file? How do I convert it back?

I was trying to transfer some files from home directory to /var/www/html folder. This was not possible due to permission settings as the system was saying I was not the owner of the folder. So after ...
0
votes
3answers
55 views

Script to create file that is writeable by all machines on a domain

Still new to powershell but I've been tasked with figuring out how to create and run a powershell script on every workstation on our domain so that it pulls Bitlocker status and then writes info to a ...
0
votes
0answers
38 views

Directory has 730 permissions but file has 644 permissions - security issues?

If a UNIX parent directory is designated to have the access permissions of "730" but a file inside that directory has permissions of "644", is this a problem?
-1
votes
1answer
68 views

Accidentally changed the attributes of all the files and folders of a user to Read-only

Story behind: I wanted to upload a file located in a hidden folder(by default). The file explorer that prompted by the file uploading site did not have the "Hidden items" checkbox in the View tab(didn'...
-1
votes
1answer
95 views

How to protect some files against an application on user level?

On multi-user Ubuntu system, how can I give my users a way to execute downloaded applications in a way, that the application doesn't have access to all files except specified whitelist (which is ...
1
vote
2answers
37 views

Where to install windows apps requiring write permissions to their directory

On Windows, i need to install several applications that don't use AppData but instead store their configuration files in their own root directory, therefore they need write permissions to it. Of ...
0
votes
3answers
57 views

chmod 1,2 and 4, what exactly do they do?

I was wondering about having only read, only write, or only execute permission, and what it means. If I have write permission only, does that mean I can append to, or replace the contents of the ...
1
vote
0answers
35 views

Linux file system permissions as root and non-root user?

I have a basic understanding on file system permissions in Linux (or I thougth I have so far...), but what I'm facing right now is confusing for me. To double check it and for demonstration, I've re-...
0
votes
2answers
79 views

How can I delete a Win10 folder whose permissions have been removed?

I have a folder that I want to remove. Somehow, all permissions from that folder have been removed. The parent folder has appropriate permissions for my admin account. I've tried to apply these ...
0
votes
1answer
94 views

Windows NTFS - Add permission to each explicit ACL in all subfolders

We have a folder structure with many explicit rights like root Folder - subfolder 1 (explicit acl, no inherit acl) - subfolder 2 (explicit acl, no inherit acl) --subsubfolder 1 (no explicit rights, ...
0
votes
1answer
65 views

mount ignores umask option in /etc/fstab for NTFS drive

I have a 1TB NTFS drive that I'm trying to mount using /etc/fstab at boot. The entry in /etc/fstab looks like this: UUID=0C6C7C9D6C7C82EE /mnt/ext1tb ntfs umask=707 0 2 The drive gets properly ...
0
votes
1answer
36 views

Opening a file in notepad and saving without corrupting

I have a music file that I want to open in notepad and then save as to another location, when I do this it corrupts the file. How can I open and save as the file without corrupting? I have tried ...
0
votes
0answers
81 views

Getting a 401.3 ACL error on every file

I used Xampp to manage my sites but it was very slow and I was getting a lot of headaches with that. I decided to start using IIS (Win 10) and it's great by its own administration panel. However, ...
0
votes
2answers
52 views

Account has lost all of it's permissions, how do I fix that?

I made a secondary account when a guest came, and went to the C:\Users folder, right clicked on the main account, went to "Give access to" and then "Remove access". I messed with some other options as ...
0
votes
1answer
42 views

My bash script locks file when Java tries to read it

I have a bash script in Linux (CentOS) that redirects output to a file. It takes a few minutes to run: ./myBashScript.sh >> file.csv I have a java application that tries to read the file (only ...
0
votes
1answer
81 views

How to prevent a Windows program from modifying attributes of a folder/file?

My current problem is that I am trying to prevent a program from changing the attributes(specifically Write permissions) of its own files in order to stop the program from updating itself since it's ...
0
votes
1answer
57 views

Permissions for Network Shares (SMB)

Good day. I have a file server (Windows 2012 R2) that houses a total of three network shares. I have been trying to figure out permissions for my domain users for some time and can't seem to get them ...
0
votes
0answers
141 views

“Access Denied” copying file to folder ONLY from phone

Windows 10, copying files (photos/videos) from USB-connected phone (Samsung) using Windows Explorer. I get a plain "Access Denied" Windows error message, no more information. It wouldn't be that ...
0
votes
0answers
42 views

grpquota and usrquota coexisting

I have a multi-user CentOS 7 system that has userquota and grpquota enabled, but I am having trouble having them coexist. My question boils down to either: 1) Is it possible to have grpquota take ...
0
votes
1answer
54 views

Find Location of File and Overwrite (Windows 10)

I have a file that I cannot delete due to inadequate permissions. I've already tried to change the file permission properties via the Windows GUI however, it said that I didn't have read permissions ...
0
votes
0answers
39 views

Can't deny 'change' permissions on drive without also denying read permissions

I need to allow Read permissions but deny Write permissions on this storage drive, but I seemingly can't, using the permissions dialogue. How do I go about this? Running Windows Server 2012 R2.
0
votes
1answer
39 views

How can I create and edit files from a Windows file share on Linux (CentOS)?

I have a Windows shared drive that I have mounted on my CentOS 7 machine using the instructions by Red Hat that I would now like to create and edit files on. However I must be elevated to create and ...
0
votes
2answers
521 views

How to change ownership of a file in Windows 10

I have a file that's created by a program, and apparently an interaction with the system and Google Backup & Sync somehow scrambles the owner and permissions of the file. (The owner shows up as ...
0
votes
0answers
40 views

how to create file which can not change file name

I want to create a file which can't change file name on Windows or any operating system? I try ussing function "read-only" on Windows but it not working. Am I wrong somewhere? or any sussgest for me.
1
vote
1answer
336 views

Deny delete access for a user to file but allow it execute access

I want to set permissions so that an executable file cannot be deleted or renamed but can be executed. When I deny it to be deleted, also it can't be executed. Why? Is there a way to make it ...
0
votes
1answer
36 views

How to correctly set acl for www-data files?

I have web files stored on my server. Currently only the root has a full access: drwxr-xr-x 6 root www-data directory -rw-r--r-- 1 root www-data file.php The problem is that the developers ...
2
votes
1answer
68 views

Can't Delete Empty Folder

On my Win 10 machine. It's an old folder from a google backup (not mine). I have it sitting on a secondary drive and I can't delete it. Here's what I know / have tried. The folder name has a space in ...
0
votes
1answer
115 views

Windows 10, Folder Properties > Security > Add, no object type “computer” available

Some how-to guides, like this one, require modifying folder permissions for a computer on the local network. In other words, provide special access permissions to a folder on this pc, to another ...
0
votes
0answers
58 views

Folder suddenly changed permissions due to messing in Ubuntu

I use Windows 10 with the Ubuntu terminal. Yesterday I was trying to use rsync (in the Ubuntu terminal) to back up a folder from /mnt/f (a partition on my computer) to an external hard drive. But ...
2
votes
0answers
25 views

windows 7 - Too many files on external drive to take ownership

I recently moved from windows 10 to windows 7, and I'm trying to access my files on the old partition, but running into this file permissions game again. I have tried taking ownership of my user ...
-1
votes
1answer
83 views

Multiple users permissions on folders

I have an user user1 that belongs to group1 as primary group, but I need this user to have read/write access to a folder that belongs to group2. I tried adding a secondary group to this user so it ...
0
votes
1answer
88 views

Can't change owner or group of copied files. Strange permissions listing

I copied a bunch of files from a Mac onto a USB SSD drive. Now I'm trying to look at them in Windows, or in Windows Subsystem for Linux Ubuntu. I'm getting permission errors for everything. What is ...
0
votes
1answer
59 views

Can not access directory even i set permission to the group

EDITED: The following fixed my problem but i i don't feel comfortable to disable the UAC. Why is that happen and how to fix that in a different want? http://clintboessen.blogspot.com/2013/05/you-dont-...
1
vote
1answer
135 views

How to copy file/folder permissions and ownerships from one folder to an other (recursively) [duplicate]

How do I copy all the folder, subfolders and files permissions (recursively) from /www_03062018 to my new /www ? I came across this post: Clone permissions for all files in a folder chmod --...
0
votes
1answer
85 views

Windows nested folder permissions [duplicate]

If I give a user full modify access to folder 'foobar' located in path foo/bar/foobar Do I also need to manually give the user read access to foo and again to bar? Or will the client only receive ...
0
votes
0answers
114 views

Cant Grant Security Permissions for Certain Files that in Folders

I am System Administrator on Windows Server 2008 R2. When i try to grant Security Permissions to folders that on the server, some folders successfully got the permissions (along with error display ...
0
votes
0answers
136 views

Photoshop and file permissions after April 2018 Update

I have two Administrator user accounts on my computer, A and B. There's a common folder in A's Dropbox that I use for storing images, and that folder has full access permissions for both user A and B. ...
0
votes
1answer
342 views

Uid and gid relation to file permissions

I'm confused about what effect the uid or gid has on the ability of a process to execute a file. I read the section I could find on them in APUE, but I must have missed the part where Stevens explains ...
0
votes
0answers
28 views

Which permissions are required for application to overwrite an existing file on Windows

Is Write permission sufficient? My web app throws an exception of file already exists. But I have set the flag to overwrite existing file, and the code works fine on local environment. So I'm ...
0
votes
0answers
94 views

Linux permission of parent directory more restrictive than child is normal?

This just happened that drove me crazy for almost 2 hours: I run firebird 2.5 at my server and I have a specific directory in my home where I put the databases for the daemon to read. This directory ...