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.

0
votes
0answers
7 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
0answers
17 views

Task Scheduler: “The User Account You Are Operating Under Does Not Have Permission to Disable This Task”

Trying to Disable a task in Task Scheduler but I keep receiving the following error: The User Account You Are Operating Under Does Not Have Permission to Disable This Task. I'm initiating Taskschd ...
-1
votes
1answer
39 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
92 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
33 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
45 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
31 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
76 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
75 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
37 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
31 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
78 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
48 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
40 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
68 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
52 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
83 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
36 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
51 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
37 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
33 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
152 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
39 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
335 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
33 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
62 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
75 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
55 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
23 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
78 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
55 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
57 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
124 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
83 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
96 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
114 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
201 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
27 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
73 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 ...
0
votes
0answers
55 views

Windows 10 Home file permissions

I'm attempting to set up a laptop for my wife with Windows 10 home. I have traditionally used c:\local for some utilities, but am having trouble now setting permissions so that I can even copy things ...
1
vote
0answers
73 views

Extracting .zip folder through PuTTy causes internal error 500

fairly new to this side of the world. I am experiencing a weird situation. I succeeded to connect to a cPanel account through WinCSP, using CSP protocol and I am using PuTTY to run commands, like ...
0
votes
1answer
43 views

recursive mkdir - folder exists but user has no permissions on it

I'm trying to recursively create directories through ssh. The directory /home/user/staging exists. But the user has no permission to read /home. mkdir doesn't know if /home/user exists and tries to ...
1
vote
1answer
393 views

openssh windows bad owner or permissions

I've installed openssh for windows and when I run ssh localhost I get Bad owner or permissions on C:\Users\gary/.ssh/config I've looked at these 2 questions "Bad owner or permissions" ...
0
votes
0answers
38 views

Avoid specific users/groups to view certain kind of files from FTP client in Ubuntu

I'm configuring an Ubuntu server and I want that specific users can access though FTP clients to certain folders, but I don't want them to be able to see specific files in that folder, but I can't ...
1
vote
0answers
187 views

CentOS - Can't change ifcfg file in /etc/sysconfig/network-scripts

For the life of me, I can't figure out how to change an interface config file in a VM: sudo vim /etc/sysconfig/network-scripts/enp0s3 won't write and sudo bash -c "echo 'dog' >> ./enp0s3" fails ...
0
votes
1answer
1k views

Adding ALL RESTRICTED APPLICATION PACKAGES to folder permissions

I'm unable to add the user, ALL RESTRICTED APPLICATION PACKAGES, to the permissions list on a folder that was created in Windows 10. How can this be done using Windows Explorer (Security ——> Advanced)?...
2
votes
2answers
3k views

Remove found.000 folder completely

I'm trying to completely remove "found.000" folder under Windows 8.1 on my C-drive. I have tried a number of attempts (incl. under SafeMode), by changing its ownership (i.e. added my Username, and ...
0
votes
0answers
129 views

How to use Process Monitor to see how file permissions were changed?

I have a file that keeps changing itself to read-only. this answer states that i should use Process Monitor to track which process may change it, but the GUI is so confusing that I have NO IDEA how do ...
1
vote
0answers
22 views

How to give SFTP uploaded files sticky g+w rights

I want to provide users a personal storage to upload files to their home directory via SFTP(chrooted). These files should then be displayed on our website to decide whether they should be imported to ...
0
votes
1answer
590 views

pstore.bin keeps changing its file status to “read-only”

I am using Android Studio and repeatedly getting the error of: Emulator: qemu-system-i386.exe: Unable to open C:\Users\user.android\avd\Nexus_S_API_23.avd\data\misc\pstore\pstore.bin: ...