Skip to main content

Questions tagged [file-permissions]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

ENQ icon character in a .log file

I think it might be rust or a hyperlink
morgansbyers's user avatar
0 votes
1 answer
149 views

How to configure Docker permissions for container to write to a volume as a non-root user?

I have my web application deployed in a couple of Docker containers, and for file uploads I need to be able to write to the filesystem. The application is proxied through Nginx running on the same ...
glenatron's user avatar
  • 235
0 votes
1 answer
73 views

Mounting the GCP Cloud Storage bucket to Directory as a non-root user

I'm running the one service on the Linux based instance in GCP. So for running the service, i have created the one user & group for that i.e.; user: test-user group: test-group Then i need to ...
RAM's user avatar
  • 1
0 votes
1 answer
49 views

Permission error when setting global-acls in dovecot

Dovecot's ACL plugin instructions indicate that for global acl's, we're supposed to create an acl file in /etc/dovecot/. and to include the access control list items in it. So I've created /etc/...
oucil's user avatar
  • 598
0 votes
0 answers
42 views

several tomcat apps running as user, using single java jdk installation owned by root

We administer server with java web applications: alfresco/solr running on tomcat. Up to now java jdk sources of same versions were extracted/copied in several directories next to each other, so ...
groovehunter's user avatar
0 votes
1 answer
33 views

Dovecot/Pigeonhole: How to specify default directory permission for newly created ./sieve directory for fresh uers?

I am running Dovecot 2.3.20 with enabled Sieve support. I am using virtual mail boxes for several hosted virtual domains. The system account and group which owns (shall own) the directories and mail ...
user2690527's user avatar
2 votes
2 answers
520 views

Mounting Samba share to Docker container

Goal On my server I am runing various Docker containers, specifically a syncthing container. In addition I am also using my server for different Samba shares. My goal is to mount the host directory /...
mchp's user avatar
  • 41
1 vote
1 answer
324 views

Mystery "Failed to locate executable"

I've been setting up a monitoring solution for various servers using Promtail, Loki and Grafana, following this article. I got a monitoring machine running Loki and Grafana (on Rocky Linux 9.3) and a ...
Steven Blyatman Chayka's user avatar
0 votes
0 answers
429 views

Windows Scheduled Task Does Not Work With Service Account

I have an odd problem with a scheduled task. The task is scheduled to run at 0202 every morning under a service account. The task is configured to run whether the user is logged on or not and the &...
BWFC's user avatar
  • 101
0 votes
0 answers
19 views

cephfs mount: can't open files with LibreOffice

I'm able to open/write different relevant filetypes with other applications (vim,code,gedit,...) from remote cephfs storage. libreoffice has been configured to prevent file-locks. All dirs and files ...
Peedy2495's user avatar
0 votes
2 answers
136 views

Why ssh-keygen & ssh-copy-id create files with incorrect permissions

I have a FreeBSD host (sh) that I just set up last week, and it is doing these two weird things that seem to be related: ssh-keygen ON this host is creating both private and pub keys with 775 file ...
jg3's user avatar
  • 179
0 votes
1 answer
118 views

How to correct NTFS permissions set by OneDrive client?

We use a Windows Server, which we want to get rid of in a few months. As replacement we configured SharePoint via Office 365, and we use the OneDrive client for synchronisation of files on the ...
Redoute's user avatar
  • 215
0 votes
0 answers
72 views

Permission problems with uWSGI and Modoboa

I have run a manual installation of Modoboa (https://modoboa.readthedocs.io/en/latest/installation.html#manual-installation), which runs a webapp in uWSGI. I moved the static content to /var/www/html ...
daydr3amer's user avatar
0 votes
1 answer
61 views

Why executable files (mode x flagged) under a folder cannot run?

I thought that a script file under my /data folder cannot be executed is because it is not set 'x' permission , but after chmod +x, it still cannot run, even my handmade simple test script cannot if I ...
Michaelzh's user avatar
  • 113
1 vote
0 answers
250 views

Systemd service with DynamicUser cannot write to its CacheDirectory

I'm running OpenSuse Leap 15.4. I have created a unit file for the bazel-remote remote cache server, for the Bazel build system. I wanted to use the DynamicUser feature to make the service more secure,...
dieortin's user avatar
  • 111
0 votes
0 answers
354 views

Amazon Linux 2023 AMI Permissions

I'm setting up a new EC2 Instance with AMI Linux 2023. (I'm super new to Linux/AMI). I followed this tutorial on the AWS website: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-...
Luke's user avatar
  • 101
0 votes
1 answer
286 views

is /etc/sudoers writable or not

The default permission in /etc/sudoers file is readonly for root and group root as in picture is obvious : So when you open it with any test editor it can't be written and give error read only. now ...
Salar's user avatar
  • 164
0 votes
1 answer
69 views

Windows NTFS filesystem - user cannot access file using Administrators group permissions

There is a shared folder on the computer running Windows 2012R2 with a NTFS filesystem. There is a local User X who is part of the local Group Administrators on the computer. The Shared folder is ...
rboy's user avatar
  • 101
2 votes
1 answer
369 views

How should I modify file permissions to accomodate Wordpress

I have been successfully using the method described here: Maintained by a Single User and it has been working well for me. This is my script for all my websites: sudo chown -R WebAdmin /var/www/...
Chiwda's user avatar
  • 125
0 votes
0 answers
776 views

pg_ctl start on Windows gives error: could not open file "global/pg_control": Permission denied

On Windows Server 2022, I am logged in as Administrator and trying to do a pg_ctl start on a Postgresql database that was initially created by user SYSTEM, but get the following error in the cmd ...
Lurch's user avatar
  • 1
0 votes
2 answers
576 views

Incorrect Permissions and Ownership in /etc/nginx/sites-available Folder for Containers

I seem to have encountered an issue with the default permissions and ownership of the containers within my /etc/nginx/sites-available directory. The current permissions and ownership structure appears ...
Sylvester DeMouser's user avatar
0 votes
0 answers
66 views

Dovecot missed permissions to access mail directory

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation. I've installed postfix on my Debian 11 system, working ...
lex's user avatar
  • 1
0 votes
1 answer
456 views

SFTP only user can't see files in a directory when that directory has read access to public users

I have a user which I have called username in the below code, in the sshd config file there is this: Match user username ChrootDirectory /media/pi/128db83f-859d-48dc-a784-4337c53c736f/username Match ...
Paul's user avatar
  • 115
0 votes
0 answers
43 views

Access to SMB folder from LocalService account

this is the situation: I have a Synology server with file folder normally accessible from the windows domain computers; I also have onto the primary domain server an application built onto Apache ...
ilchannel's user avatar
0 votes
0 answers
149 views

How to set file permissions if user logged on using Smart Card or Windows Hello for Business

I have a hybrid joined Windows domain and have set up log-on with Smart Cards and Windows Hello for business. I would like to be able to set file server permissions based on whether a user logged on ...
Andy Haer's user avatar
0 votes
0 answers
32 views

File System Private download method not Writeable -Drupal

Giving File System error that it is not writeable or folder does not exist on Production Env Drupal version - 9.5.9 Server we are using Amazon Linux2 I have added line in setting.php $settings['...
Anisha Shaikh's user avatar
1 vote
1 answer
301 views

No Write Access to WD My Cloud NAS on Ubuntu Linux

I recently purchased a new WD My Cloud and was able to use the FTP app to transfer files from an old machine that was running OMV to the new NAS. I cannot seem to mount the NAS to my Ubuntu laptop ...
Dan Forbes's user avatar
1 vote
0 answers
1k views

What are the proper permissions and ownership (including wp-config.php and .htaccess) for Wordpress installations on a LEMP server

I am running an Ubuntu based Linux/Nginx/MariaDB/PHP (LEMP), server with my Wordpress installation in the root account at /var/www/example.com/. My Wordpress is running as the www-data user, and Nginx ...
DanRan's user avatar
  • 93
0 votes
1 answer
204 views

Unable to List Contents or Create Files in /var/tmp Folder from PHP Executed Bash Script

Objective: I want to trigger a webhook on a private linux-machine (its a local system not connected to internet), which can delete the spool data generated by CUPS server in /var/tmp folder. To ...
Sheikh Muhammed Tadeeb's user avatar
0 votes
1 answer
143 views

NT Security Descriptor

In active directory an object have several permissions on many objects. how to view permissions of particular object? i am asking like for eg user Kavin have read permissions on some folder, full ...
Sandy Santhosh's user avatar
1 vote
0 answers
47 views

ACL permissions not syncing with LDAP

Have a MacStudio running system 13.3.1 set up as a file server. It is bound to an Open Directory server. Using TinkerTool as a GUI to set/update permissions of the shared files/folders. Everything ...
David P's user avatar
  • 11
-1 votes
1 answer
1k views

Change permissions/ownership of file/directory owned by 33:33 in Linux

I have a directory where I used to make the backup of my owncloud files from Ubuntu. It's owned by user 33 and group 33, which in Ubuntu are the www-data (Apache) user and group. Now I have changed ...
Andyc's user avatar
  • 107
0 votes
1 answer
2k views

How to take ownership of all contents in CSC folder?

I have files that was saved as offline files from a Synology server to the CSC folder on my computer that I would like to delete. I cannot delete the files unless I individually take ownership of ...
smithalysia92's user avatar
0 votes
1 answer
593 views

Move docker compose wordpress with local volume to new host with correct permission

I'm struggling to migrate / move my Docker Compoe project with Wordpress and Mysql to a new host. My docker-compoye.yaml is as follows: version: '3.1' services: wordpress: image: wordpress ...
mbecker's user avatar
  • 101
0 votes
1 answer
550 views

OSError: [Errno 30] Read-only file system: <relative_path_to_file>

(On Ubuntu 22.04 LTS) When trying to create or edit any file or directory on my hard drive I get a 'Read-only file system'-error (two days ago I could still do that): $ whoami mattia $ mkdir example ...
Asterix's user avatar
0 votes
1 answer
860 views

How to force custom permissions on files created by git checkout command?

I need files created by git checkout command to have custom permissions. Even with core.sharedrepository=0777 setting git creates working tree files with 0644 permissions. But I want it to be at least ...
Mikhail Karakulov's user avatar
0 votes
0 answers
426 views

run icacls across domains - failed trust relationship

I frequently have to create Directories and set permissions on Samba-Shares which are joined to foreign Domains without Trust Relationship to my "home" Domain. Mounting and creating ...
Jochen's user avatar
  • 1
1 vote
2 answers
621 views

Folders untouchable: owner unknown and cannot be changed

I have a parent folder, let's call it 'P', and in P resides 5 child folders. I am administrator of this non-domain joined server, but I cannot delete these child folder or in any other way alter them. ...
Janus Engstrøm's user avatar
1 vote
1 answer
709 views

Create shared folder as active directory would in powershell

With Active Directory I can manually create new users. Every time I do that, I use right click -> Copy on that user, then I modify some things like Name, Surname and SamAccountName. This process ...
Fral's user avatar
  • 11
0 votes
2 answers
947 views

Can't change file owner as root

I can't change the owner of a file (I'm logged in as root). Output of chown root Shrek.avi: chown: changing ownership of 'Shrek.avi': Operation not permitted Output of chattr -i Shrek.avi: chattr: ...
Wojciechgc's user avatar
0 votes
1 answer
185 views

User unable to access files in a folder with SUID S bit set

I have a folder which I want to share with users of a group named frx. I had applied chmod g+s to the folder, but for some reason the SUID bit (for folders in the /home/frx directory) came out as S ...
Old Geezer's user avatar
1 vote
0 answers
177 views

Automating NFSv3 File/Folder permissions in Windows

I'm a Windows/MSSQL DBA who is inheriting a quirky system through no fault of my own, and had a quick question. Background I have an Azure NFSv3 volume that is being exported to a Windows Server 2019 ...
Vocoder's user avatar
  • 111
0 votes
2 answers
130 views

Are there any potential pitfalls to changing the permissions of config files under /etc to a non-root user?

There are various services which are being run on our machines, e.g. cassandra, datadog, etc. Occasionally, we need to change the configuration, and we wish to automate the propagation of the config ...
ranban282's user avatar
0 votes
1 answer
731 views

How to set limited permissions using command line on windows?

user want to delete all permissions and keep only modify permission for everyone and full permission to system. Like this. But present with icacls command icacls "%ProgramData%\myfolder\...
user2331760's user avatar
1 vote
0 answers
351 views

Samba AD sysvol sync unison permissions issue

I'm having an issue with syncing the unix permissions and ownership on the sysvol between two Ubuntu Samba AD DCs using unison. I have copied the idmap.ldb file from DC1 to DC2 and the Windows ...
squidconspiracy's user avatar
1 vote
1 answer
706 views

Rsync makes the destination folder unwritable before copying files to it (and then of course it fails with Permission Denied)

I want to use rsync to deploy a project from my dev machine (Windows 11, CygWin) to a remote server (Ubuntu) through SSH. I've made sure that my SSH user has full write access to the destination ...
Lázár Zsolt's user avatar
0 votes
2 answers
704 views

Cannot read wordpress PHP files in NGINX - HTTP error 500

I have uploaded Wordpress files to /var/www/html/mysite.com, given recursive permissions 755 and recursively owned by www-data:www:data I use the PHP-FPM service running with NGINX as web server on ...
YaRmgl's user avatar
  • 113
1 vote
1 answer
534 views

executing a command without password prompt or root

For the sake of writing a script, I'd like my minikube-role-user to execute the command minikube tunnel without a password prompt, without switching user to root, be it by su or temporarily by sudo, ...
Dylan's user avatar
  • 13
0 votes
0 answers
3k views

Use smb share also as docker volume

I've one Debian 11 Server which has multiple smb-shares under /samba/. Now I'd like to run multiple instances of a file synchronisation software called Syncthing inside docker containers on this ...
vrudy_0o0's user avatar
2 votes
0 answers
840 views

AD-Joined Samba Share with Windows XACL Access Denied

Overview I have a file server and domain controller both running Samba 4.15.9. The DC is the only one in the forest. The DC, file server, and a Windows 10 client are joined to the same domain. On the ...
timelmer's user avatar
  • 133

1
2 3 4 5
20