Questions tagged [permissions]
Access and restrictions of files, documents, accounts, computers, etc.
4,302
questions
1
vote
1
answer
730
views
Does dd require CAP_SYS_RAWIO?
A little while ago, I found out from this that there used to be a way to semi-permanently disable the ability of even root to modify immutable & append-only flags (lcap CAP_LINUX_IMMUTABLE) or ...
4
votes
1
answer
3k
views
What is the policy for permissions on /proc/<PID>/environ?
I see, that usual user process gets user-readable permissions:
-r-------- 1 1000 1000 0 Nov 19 13:51 /proc/9083/environ
but f.ex. SCREEN daemon gets root ownership:
-r-------- 1 root root 0 Nov 19 ...
2
votes
1
answer
1k
views
recreating just the uid/gid unix permissions from tar
I was restoring a root partition based on a tar backup from system-rescue-cd.
It went ok except the uid/gid mappings on the system-rescue-cd disk did not match the ones on this debian system that I ...
1
vote
0
answers
694
views
Batch File to upload via FTP - 550 Permission Denied
I am trying to create a batch file that will upload a single file by FTP every time it is ran. Everything looks good in windows cmd. I get past the authentication of user name and password and after ...
0
votes
1
answer
8k
views
Group Policy Error Code 0x80070005
We have a group policy set up, it's a computer policy that moves a file from a network location to the standard Windows wallpaper location C:\Windows\Web\wallpaper. A user policy then sets the desktop ...
0
votes
2
answers
345
views
Current Time Machine HDD bad sectors - Clone to new HDD or do new clean TM backup to new HDD?
Questions follow dots. The rest is history and system hardware/software.
It is an internal 3TB Hitachi drive that has 5 reallocated bad sectors
on my:
MacPro 5,1
3.33 GHz 6-Core Intel Xeon
24 ...
3
votes
1
answer
1k
views
Is it possible to elevate the permission of a program in Windows without using "Run as Administrator"?
I have an MSI that needs to run with administrator permissions. This installer will do some admin stuff, and eventually put a shortcut on the user's desktop. When I set the installer to "Run as ...
-1
votes
1
answer
935
views
How to solve python bug without root permission
Python has a bug that can be fixed by modifying a file in /usr/lib/. But I don't have permission to edit that file, is there any way to solve this problem? Is it possible to overwrite that solution in ...
87
votes
2
answers
258k
views
How to tar a directory preserving not only permissions, but ownership too
I have to compress a directory using tar.gz preserving not only permissions, but ownership/groups too.
And, in this directory there are many files that belong to many users.
0
votes
1
answer
2k
views
VisualSVN 2.5.16 authentication is driving me crazy - not working in MS Windows 7
VisualSVN 2.5.16 on a server, Tortoise SVN 1.8.1 as a client on a development machine.
I've set up permissions on the VisualSVN Server Manger for someone to give them access to a repo. The ...
2
votes
1
answer
426
views
Cannot reset WINS
I have a Windows 7 Ultimate SP1 computer with a rogue entry in the winsock catalog which I cannot remove. I've tried all of the following logged in as the local administrator and running from an ...
1
vote
0
answers
128
views
Allowing Underprivileged Users to Install Fonts on Windows 7 [duplicate]
I've run into this huge issue with a graphic designer. They want to be able to install fonts they have downloaded. This user is a non-admin user on the local machine and a non-admin user on our ...
9
votes
1
answer
6k
views
Why can't nginx access puma socket on CentOS 7?
So I have a Ruby on Rails app in /var/www/ owned by nginx with 755 permissions. Said app is intended to be deployed via puma.
Like so:
rvmsudo -u nginx bundle exec puma -e production -d -b unix:///...
0
votes
3
answers
74
views
Ubuntu: secure a folder & contents ?
Assuming that the root user is pretty much off limits, how would one go about securing a folder & its contents so that viewing & using it or anything in it is denied?
e.g.
ls
would not ...
0
votes
1
answer
437
views
Allow a user to have access to all root privileges EXCEPT…
I'm starting to learn more about Linux security and I know a little bit about granting partial root privileges, but I need to revoke partial root privileges. Say I have two accounts, admin and user. ...
0
votes
1
answer
3k
views
How to protect an SMB shared directory with a password on WIndows Server 2008?
There is this directoy inside a shared resource that's accessible to everyone and I have to secure it so only one user can have access to it, so I proceeded to create their account and then set the ...
39
votes
5
answers
58k
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
1
answer
746
views
Access denied on a directory (my own): So locked down that everything fails from icacls to takeown
On my Windows 8.1 system, I have a folder called "D:\Benutzer\Alle\Musik" (I'm german, this is like Users/All/Music) which was linked to the Music library folder in windows. I decided to add my music ...
4
votes
1
answer
5k
views
Granting access to a registry key in HKLM\System\CurrentControlSet\Control\Class
I have some commercial software that is protected by a 3rd party soft license. This week the 3rd party licensing failed and I tracked it down to when it was trying to access this registry key:
HKLM\...
1
vote
2
answers
264
views
Linux Filesystem with either no discretionary access control (user/group permissions) or that can have it disabled
Is there a file system for linux that has no permissions? I have a folder that is shared between multiple applications and although they are all running in the same group, I am constantly having ...
2
votes
2
answers
646
views
Why can't I add write permissions to this file?
I'm running Homebrew 0.9.5 under OS X Mavericks. My ultimate goal is to compile the source code for a program (not available through Homebrew) which depends on pkg-config. After installing Homebrew I ...
0
votes
3
answers
57
views
Limiting access on windows 7 machine - strictly to one website
I have a windows 7 laptop that I want to use at my booth at an upcoming convention.
The only permissions I want to give people on this machine, are rights to navigate our e-catalog which my website ...
8
votes
2
answers
4k
views
How do I display the usage flags for my encryption keys in a less hackish way?
I am trying to educate myself on the use of encryption keys and I've been experimenting with this old Linus Torvalds’ key that I found 956EB7BF449FA3AB.
I am interested to display the usage flags but ...
1
vote
2
answers
3k
views
How can I allow my regular user to chown files, via setfacl?
I am using ACL to set specific permissions in a directory:
setfacl -R -m u:wordpress:wrx /var/www/html/wp
As that user, I am able to create a subdirectory within the directory with mkdir test, but ...
0
votes
0
answers
134
views
Need simple NTFS permissions setup example
I have a fairly straightforward need to setup permissions on an NTFS filesystem using icacls.exe. I hope that someone can give a complete cookbook solution. I believe this example will provide a ...
0
votes
1
answer
2k
views
Centos How to give permission to view folder ?
I push all the local files to Google Compute Engine using
gcloud compute copy-files
then login to VM using gcloud compute --project and view the uploaded file using ls command it's there .. No ...
1
vote
0
answers
68
views
Edit & add Administrators permissions without using SUBINACL
I am Server Admin but getting Access denied errors for few folders.
There is a way to use SUBINACL play file.
Is there a way edit & add Administrators permissions without using SUBINACL ?
0
votes
1
answer
3k
views
Prevent shutdown if user locks machine in Windows 8.1 [duplicate]
I lock the PC when I leave it unattended, but the lock screen has a GUI power button which my child likes to click when no-one's looking, so often I lose work. How can I disallow soft power cycling ...
1
vote
1
answer
238
views
linux user permissions with groups on file
I have one file owned by user: "ruler"
and another user: "tzook"
now I have one file that is owned by "ruler" and by group "deployers"
here is the file:
-rwxrwxr-- 1 ruler deployers 3040 Oct 28 12:...
0
votes
1
answer
235
views
Unable to change re-change permission of a drive after changing it
On Windows 7 pro, I changed a drive's (M:) permission using it's properties with a account which have administrator's (not Standard User) right for all "USERS" but it affected on my admin account too ...
0
votes
3
answers
7k
views
Lost access rights and permissions to secondary storage drive 'Program Files'. How do I regain control?
My problem is - I am unable to delete/uninstall/overwrite all folders and files inside of 'Program Files' in my storage E: drive, my operating system is installed in C: drive.
I've read posts of ...
3
votes
1
answer
3k
views
Adding permissions back to the Windows SYSTEM user
An older relative who is kind of paranoid about computer security thought it would be a good idea to remove permissions from the SYSTEM user (don't ask, sigh). So now the permissions on C:\ look like ...
3
votes
3
answers
8k
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
1
answer
791
views
rsnapshot: how to remove all files from a tree including read-only directories
I just discovered that rm -f can not remove files from a tree including read-only directories. Is there an alternative command that can do this? The removal is triggered by rnapshot and I thought ...
0
votes
1
answer
346
views
Disable write permission for the user, Ubuntu
I'll be brief. I need to disable a single user to read and write files on the whole server with Ubuntu, except one file. That is, he can write to the file output.txt, but other directories are closed ...
1
vote
0
answers
62
views
Permission Issues When Removing Directory
I am using Windows 8.1, and am trying to remove a directory (specifically a Cygwin install directory). I keep getting this error:
You need permission to perform this action.
You require permission ...
1
vote
1
answer
955
views
Expose file from blocked directory to user on Linux?
I'm running a web server on my (virtual root) server where a friend is allowed to host his own page. This page is sitting in his home directory and the Apache is configured in such a way that a ...
0
votes
1
answer
2k
views
Nginx, php-fpm, virtual hosts and premissions
I have apache-mpm-itk + php_module setup and user's folders/files belongs to them. But I want to migrate several accounts to nginx + php-fpm.
What should be the right permissions on folders/files if ...
1
vote
0
answers
38
views
What can a non-Mac App Store app do in terms of sandboxing and security?
I'm curious about what applications from outside of the Mac App Store limitations are. By default, what are their permissions? What can they access on my computer?
From my perspective, I can see that ...
2
votes
1
answer
463
views
properly not using root login for permissions with ftp
First off, I have a strong belief that I am trying to solve this issue with the entirely wrong point of view, so please, feel free to yell at me about how entirely wrong I am.
My problem is that my ...
2
votes
1
answer
2k
views
Can't connect to SSH with new user
I created a new user, test. I have done the following to the account:
I've given test sudo permission
I've added test to AllowUsers in nano /etc/ssh/sshd_config
I've generated a new SSH key pair, ...
4
votes
2
answers
3k
views
Can't get symbolic link creation permissions to work under windows
I am trying to grant my user the privileges to create symbolic links.
I ran secpol.msc and navigated to Local policies -> User rights assignment -> Create symbolic links.
I have added my user's ...
1
vote
1
answer
224
views
How to elevate access for user NOT in administrators group and with disabled UAC in Windows 7?
When UAC is disabled and you try to perform a task which requires elevated access, you get "Access Denied" for users not in administrators group. However when UAC is enabled, you get an administrator'...
0
votes
1
answer
726
views
How can I change ownership/permissions to read every file in WindowsImageBackup, which is created by Windows Backup and Restore?
I want to be able to read all the files located in the WindowsImageBackup folder, which is created by Windows 7 Backup and Restore. Specifically, I need to be able to search the files for an ASCII ...
2
votes
1
answer
803
views
Changing permissions on FileZilla Server
I've just setup a FileZilla Server on Windows,
every thing is going well, but, I cant change the file permissions.
When I'm using windows explorer I get this:
And when I'm using FileZilla FTP Client ...
2
votes
1
answer
2k
views
BGinfo on logon screen (Windows 7, Non-Administrator)
In Windows 7, it's not that easy to show information on the logon screen with BGinfo. I got it working by converting the BMP file (that BGinfo creates) to a JPG file (with BMP2JPG.exe), and placing it ...
0
votes
0
answers
52
views
How to require admin permissions to stop an executable in Windows 8
I have an executable on a Windows 8 machine, that I’d like to keep running. The problem is, the guy I share my dorm room and the Windows 8 machine with keeps shutting it off.
Is there a way (...
0
votes
0
answers
639
views
registry changes not being retained after reboot
My Windows 7 user account is an administrator.
In regedit, I remove some entries from HKLM\Software\Microsoft\Windows\CurrentVersion\Run
After I reboot, the entries are back again.
The entries I ...
0
votes
1
answer
477
views
Permissions - could not execute temp folder - dropbox and java applications
So I was having an issue with multiple application on my windows 8 machine. Dropbox would not start, or run on my admin user. I also run a Java application called "Five9" and it was having issues ...
6
votes
2
answers
6k
views
Use /sys/class/gpio/ in Python without root permissions
I want to interact with the GPIO pins using the Python module Ablib. And I want to do this without root permissions. How can I achieve this?
When I create an ablib.Pin instance the module opens /sys/...