New answers tagged permissions
2
votes
How do I prevent users from messing with their own .ssh folder?
Run a cron job to fix permissions each night.
Deleting files is a bit harder. You could possibly restore missing files from backup from cron also. But, it seems like you could get into weird edge ...
7
votes
How do I prevent users from messing with their own .ssh folder?
The best solution I can think of is to make .ssh and authorized_keys root-owned.
Root-owned .ssh / authorized_keys
SSH is picky with permissions, but not unreasonably so. First, it requires that the ...
15
votes
How do I prevent users from messing with their own .ssh folder?
It is hard to protect users from their own ignorance and incompetence.
But depending on how much you need to allow your users to manage themselves and how much you manage for them: you can configure ...
21
votes
Accepted
How do I prevent users from messing with their own .ssh folder?
Short answer is you can't.
SSH is very picky about permissions and will not play with files it doesn't like the look of. Further, the users ssh_config is parsed before the system-wide config.
Having ...
0
votes
Accepted
Linux user can't access mergerfs directory that he already has permissions
It isn't a bug. The proper arguments are not being used. IE... allow_other. You need to use the documents from the version being used. Newer releases set the value automatically. See the documentation....
0
votes
Linux user can't access mergerfs directory that he already has permissions
I found the solution, there must have been a bug in the default version of mergerfs in debian repository (2.33.5)
I installed manually the latest (2.37.1) and it worked.
0
votes
Using a non-root to deploy a git repo to the web root
After some time digging in this issue I found that by default the /var/www/* is created owned by root, that's why trying to modify anything from other than su will fail, so based on this answer I ...
0
votes
wordpress directory file ownership changes everytime after uploading files/plugins
Your description of how this is provisioned is not helpful. Lets start from scratch.
Users:
apache - the uid your PHP runtime executes as
dev1, dev2, dev2 - developers
backup - for creating backups ...
0
votes
wordpress directory file ownership changes everytime after uploading files/plugins
The web server (or the PHP process, depending on your setup) needs write access to the directory. The only feasable way is to run said process as the user websitename.
Principally another option would ...
2
votes
Windows shared folder accessible only by Administrators
When you set a shared folder in windows environment there are 2 permissions in action.
1 - Shared permission: This permission is set during shared folder config like picture bellow ...
2 - NTFS ...
Top 50 recent answers are included
Related Tags
permissions × 3647linux × 679
windows × 360
apache-2.2 × 339
ubuntu × 267
active-directory × 251
security × 246
file-permissions × 245
php × 161
windows-server-2008 × 155
centos × 147
mysql × 121
ftp × 118
windows-server-2003 × 115
ssh × 112
access-control-list × 109
nginx × 105
ntfs × 105
chmod × 101
samba × 94
windows-server-2008-r2 × 91
groups × 89
user-permissions × 89
users × 87
iis × 85