Access and restrictions of files, documents, accounts, computers, etc.

learn more… | top users | synonyms

69
votes
8answers
38k views

Reload a Linux user's group assignments without logging out

When assigning a user's secondary group list using: # usermod -G <grouplist> <user> is it possible to force this group assignment to take effect without logging out all running ...
0
votes
0answers
2 views

Folder writable for both domain and local user

I have a MacBook running Yosemite and joined a domain. The computer has a local user and allowing domain users to login. There is a folder in local hard disk which contains files for all users, ...
14
votes
2answers
9k views

How do I set default group ownership for files in a directory?

I am running a cakephp webapp on Linode LAMP. I am finding that my temp files are created with root:root ownership. But the webapp is running with Apache's permissions (www-data). This causes ...
0
votes
0answers
10 views

Enterprise user accounts unable to modify (audio) volume via taskbar icon [migrated]

Recently, all user accounts (even including domain administrators) are unable to make changes to the (audio) volume level via the volume notification icon in the taskbar. Clicking on it does not ...
1
vote
0answers
10 views

Why is Powershell able to change registry values regardless of registry permissions?

Using Windows 8.1 Enterprise. Through Regedit I removed permissions from Administrators and even System for the key HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings. I was under the ...
0
votes
0answers
6 views

Windows 7 permission issues

im logged in under administrator and am not able to apply full control to "users" or delete or change anything in users.. I've tried right clicking and adding permissions but it won't even let me do ...
0
votes
1answer
3k views

Why do I get error “1337 The security ID structure is invalid” when using subinacl?

I have a standard Win 7 account 'popuser' to which I'd like to grant start and stop permissions for the OpenVPNService. I've used the following command successfully on other machines, but for some ...
2
votes
1answer
931 views

Should I change ownership of files in /usr/local/share/locale?

I'm trying to install Homebrew, and brew doctor returns a lot of warnings, one of which is this: Warning: Some directories in /usr/local/share/locale aren't writable. This can happen if you "sudo ...
0
votes
1answer
13 views

Group of a user when running a setuid executable

If a user, user1 belongs to group1 and also a setuid executable exists that is owned by user1 and group, group2. user1 is not a member of group2. I am seeing that the executable cannot access files ...
2
votes
0answers
9 views

How do I set default (not inherit) acl permissions on file creation?

This is with a freenas box (FreeNAS-9.3-STABLE-201506292130). In debian-based linux generally there is a default permissions of 644/755 for files/directories (now 664/775?). As I understand it, this ...
-1
votes
0answers
11 views

File permissions and NFS (how to replace samba?)

I'm trying to replace Samba with NFS, but I need the equivalent of create mask, directory mask, force create mode, force directory mode, force user and force group options. I read this: Forcing group ...
0
votes
0answers
173 views

SFTP's “get” needs write permission

I'm connecting to a server using sftp through console. I'm trying to download a folder which has some files without write permission for anyone. When I use get, those files throw an error that says I ...
0
votes
0answers
10 views

NFS v4 access denied by server while mouting between Synology and Raspberry Pi

I'm trying to mount an NFS (v4, or v3.. but get the same error...) from a Synology Server to a Raspberry Pi client. But I get this error: mount.nfs4: access denied by server while mounting ...
0
votes
0answers
5 views

How to use icacls to deny execute permissions for all files under a directory

So i'm running this in a command prompt icacls C:\Users\User\Downloads /deny User:(X) /T And it works for all executable files currently in the folder and subfolder. However, if I make a new file, ...
0
votes
0answers
12 views

Permissions for non-default Program Files folder

In my computer, I have an SSD drive as the C: volume and an HDD drive as D:. To prevent my SSD drive from clogging up, only my most-used programs are installed on the C: drive. Other programs have ...
7
votes
1answer
1k views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
0answers
21 views

Is it necessary to update folders/files permissions on a 2nd hard drive after a re-install?

I plan to upgrade my Windows OS and I do have a 2nd drive. Do you know if it necessary to update files/folders permissions through the 'Security' tab on that 2nd hard drive or will the new OS take ...
0
votes
1answer
504 views

Drive not accessible after OS change

My PC has a C: drive containing the OS and an E: containing a bunch of data. I usually use Windows 8 but occasionally use Windows 7. To do this I physically remove the SSD that holds C: and replace ...
0
votes
0answers
21 views

Grant permission to WindowsApps files

I downloaded a windows app and I just want to change some parameters of that app like it's color etc. I know the application files are inside the folder C:\Program Files\WindowsApps\MyAppFolder ...
0
votes
2answers
34 views

Windows Run Box as Admin

I am desperately looking for a way to get the Run box as Admin by default. I am using Windows 8.1 and remember I had this feature as Admin with Windows 7. I can surely use workaround such as runas, ...
3
votes
1answer
3k views

Java applet needs permission but doesn't ask for it!

I'm trying to connect a VPN connection (on Mac OS X 10.6.6) through a Check point java applet. The first time it ran I chose NOT to give it access to my files and such and now every time I try to ...
0
votes
1answer
29 views

How to change permissions/policies of another admin-account.?

On my Windows7 PC i have now 2 admin-accounts. The problem is that one of them does not have any rights/permissions anymore to startup any program (after some virus attack which also changed the UAC). ...
0
votes
1answer
18 views

Setting permissions for a folder [on hold]

What's the fastest way to give permissions to a user to a folder which contains 50,000 folders and a total of 4,000,000 files? Using Windows Server 2008 r2.
0
votes
1answer
23 views

Is there a way to change file/folder ownership on a server in Ubuntu/Kali-Linux?

I accidentally changed file ownership of a folder in Windows 7 and now nobody can edit, copy, view, move it, etc. Not even the administrator account account can change it back. I tried icacls and ...
0
votes
2answers
3k views

apache wont follow symlinks | 403 permission denied

I'm using Ubuntu 14.04, and have a problem with the Apache configuration: I created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a ...
1
vote
1answer
29 views

Xulrunner crash when running with underprivileged user

I use SlimerJs as an headless browser on a server. Because the server have no xserver I used xvfb to run it. The command goes something like this: xvfb-run --server-args="-screen 0, 1024x768x24" ...
-1
votes
0answers
18 views

Windows 8.1 SSD will not boot also will not display folder contents when mounted externaly on another machine

I dropped my windows 8.1 laptop and it seemed to be ok but when i moved the mouse over anything it went to the loading icon. So i shut down and rebooted my laptop hoping this would fix the issue ...
0
votes
2answers
51 views

Group Policy Editor restricting my administrator account?

Hi I have created a problem on my PC and now I feel really stupid. I tried to restrict access to certain programs on a recently created standard user account via "gpedit.msc". After completing the ...
2
votes
2answers
2k views

“Unable to Display Current Owner” & Access Denied when trying to take ownership

I'm facing a problem where I (logged in as the Administrator) am unable to view file attributes. Please see the screenshot below. I'm not interested in taking ownership (even if I wanted to I'd to ...
0
votes
1answer
45 views

How to read ls -l permissions

I've been trying to understand Linux permissions. I know that I could download one file via CyberDuck from a remote Linux machine and the other one I was not able to. Here is the output of ls -l: ...
0
votes
1answer
7k views

Shared folder contents all opening as read only

I have a shared folder in a network which we all theoretically have access to. I edited through command line using icacls to grant everyone read and write permissions (icacls "Folder Name" /grant ...
1
vote
1answer
26 views

How to allow user to access only his personal directory when his group has access to the whole disk?

I want to disallow a user to access to disk D: except his personal D:\Documents folder. The user belongs to Users group. I don't want to restrict the whole Users group so I should somehow create a new ...
0
votes
1answer
23 views

Folder permissions control

Scenario : i work in a company with 50+ computers in a domain. One of the PC has a trouble with My Document is missing. So i was thinking of creating a new Folder call My Documents , then i get an ...
0
votes
2answers
36 views

used chmod wrongly to mess up copy rights. How to correct

I ran a chmod command like chmod 644 dir/* It seems to have worked for files in this directory, but files in all other sub-directories are now in some limbo state. ls -l dir/sub-dir shows: ...
5
votes
1answer
3k views

How solve permission problems for docker in ubuntu?

I have installed docker as described here. I use Ubuntu Trusty 14.04 (LTS) (64-bit). Everything during installation was well. Also command $ sudo docker run -i -t ubuntu /bin/bash completes well ...
0
votes
1answer
2k views

Can't delete system files from System32/drivers. Need permission

How to delete specific files in System32/drivers? I need to remove a software manually.Guide says that I need to remove some .sys files that are related to that software from System32/drivers but I ...
-3
votes
0answers
23 views

How are memory read, write, execute permissions enforced in the Linux kernel? [on hold]

How is a system able to restrict processes from being able to write to regions of memory set read-only? In particular, how is the Linux kernel able to enforce these permissions, assuming that the ...
0
votes
2answers
52 views

Can't scp file from local to remote host - Permission denied

I have trying to copy some files from local machine to remote host. root@local:~$ scp /var/www/html/file.php root@remote_host:/var/www/html/test/ The result is scp: /var/www/html/test: ...
2
votes
1answer
23 views

Restrict access from group in Debian

I need to restrict access for a few users in Debian 7. I basically only want them to be able to login with their accounts so they can use SSH to forward their web traffic through my server as a proxy. ...
5
votes
3answers
7k views

Unzipping file whilst getting correct permissions?

I unzipped a file on my server using: unzip filename However this seems to have caused all the files having owner/group permissions of 0 0. The files I uploaded were a PHP software script, so I'm ...
0
votes
0answers
34 views

BlueStacks will not open from the “Guest” account on Windows 7

I have been unsuccessful in figuring out this problem. When I first start the computer up, the BlueStacks daemon will automatically run (the "service"), but if the Guest tries to run it with the ...
2
votes
3answers
10k views

Command line option to open program as administrator in Windows 7

If I want to open Notepad and edit the hosts file, I have to invoke the Start menu, find the Notepad shortcut, right click and run as administrator, then open the hosts file in Notepad in order to ...
0
votes
0answers
11 views

no write permissions when mounting netatalk share on OS X

I know there are few posts about it, but I haven't found a solution for my problem, so it might be different: In order to exclude all interference factors I want to setup a simple setup first: I want ...
0
votes
1answer
31 views

cgi program refuses to setuid root

I have a C .cgi program that runs and mostly works. However, I need it to do some file manipulation, so I chown root & chmod +s the .cgi program: -rwsr-sr-x 1 root root 59140 2015-07-20 13:39 ...
18
votes
5answers
20k views

rsync file permissions on windows

I have an rsync service that syncs files from remote machine to a machine that drops them on a network drive. I need the copied files to take on the native permissions of the destination folder. ...
0
votes
0answers
12 views

SVN: Grant access to fixed set of subdirectories w/o having to do multiple checkouts

I have the following SVN repository layout: myrepo |-> nonsensitive-subdirectory-1 |-> nonsensitive-subdirectory-2 |-> sensitive-subdirectory-1 |-> ...
1
vote
0answers
16 views

PostgreSQL and database cluster ownership on shared storage

For my research, I am using an always on virtual machine for the primary analysis of my data. In doing this I need (or, I suppose, would like to) create and store the data in a PostgreSQL database. ...
0
votes
3answers
7k views

Can't access/share Homegroup folders

I have 1 system where everyone is able to access read/write to the homegroup folders. However, every other system can not access each others and the one system that all the other systems can ...
1
vote
2answers
401 views

IOError: [Errno 13] Permission denied with pip installation

I have asked this question on SO, but they suggested, the question is better suited for Superuser. I installed Python 2.7.9 on Windows 7. It is supposed to have pip built-in. However, during Python ...
3
votes
1answer
40 views

permanently change permissions of linux system file

I often use my computer in text-only mode, so no X11, no window manager, etc. I'd like to be able to adjust the screen brightness of my laptop while in text mode, which I can do by writing to the file ...