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
1 answer
39 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
17 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
60 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
50 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
122 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
85 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
  • 170
0 votes
1 answer
52 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
178 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
316 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
122 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
40 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
185 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
  • 113
0 votes
0 answers
32 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
81 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
21 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
152 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
0 votes
0 answers
482 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
  • 103
0 votes
1 answer
136 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
88 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
36 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
-2 votes
1 answer
530 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
  • 97
0 votes
1 answer
1k 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
450 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
0 answers
435 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
0 answers
269 views

Error writing lock file: Permission denied

(On Ubuntu 22.04 LTS) After connecting my NAS drive with the mount command in the nashome directory, the following error occurs, when trying to edit or create any file in the mounted directory tree: [ ...
Asterix's user avatar
0 votes
1 answer
452 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
85 views

Unable to Write, Permission denied

As an apache user, I was trying edit some files owned by a different user, lets call it docroot drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 . drwxr-xr-- 53 docroot docroot 8192 Jan ...
asim's user avatar
  • 101
0 votes
0 answers
313 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
311 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
541 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
731 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
106 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
151 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
99 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
400 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
268 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
537 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
594 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
443 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
2k 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
718 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 vote
2 answers
427 views

Windows-10 shared folder permission

We have a small office LAN with a few Windows 10 PCs (without server). One PC has a shared folder which various users create files for sharing. For various reasons some created files are sometimes ...
micC's user avatar
  • 23
0 votes
0 answers
555 views

How to configure vsftpd to set correct permissions, group and owner (Apache Webserver) of newly created files?

I installed vsftpd and I can login with the new user sftp to the server. But if I create a new file via FileZilla the new file has got 755 permission and its group is not www-data (33). Screenshot ...
kanka.dev's user avatar
0 votes
0 answers
172 views

PHP File Permissions and Running HTML Files as PHP

I am running a Linux server (a DV server with Media Temple). It's a pretty standard LAMP setup. I'm running PHP 7.4. I'm using two programs to upload files to the server: Filezilla and a tool called ...
Adam's user avatar
  • 3
-1 votes
1 answer
32 views

Limit drag & drop mess

I have a Windows Server 2016 acting as a file server with thousands of files in a well-defined tree. Different people have different access to different parts of the tree. The problem is that some ...
Fernando Suarez Ornani's user avatar
0 votes
1 answer
127 views

Error while transferring file permissions

I ran into a problem, wrote a script that compresses pdf files through a program and transfers rights to a new file by copying from the old one to differentiate access to new files. Here is the part ...
BadKempachi's user avatar
0 votes
0 answers
1k views

File sharing access denied error on the Windows 2016 file server. only with ONE folder

My problem is as followed: Situation I have a Windows 2016 file server. In the server role the d: drive is shared. I have many shared folders each with the name of a user and shared to that user. ...
Frank's user avatar
  • 1
0 votes
1 answer
93 views

Shell Script to Move a File Into Another User's Directory?

I'm running a Ubuntu 16.04 server. On my server, I have a file in directory /home/userA/dirA: userA@myUbuntu:~$ userA@myUbuntu:~$ pwd /home/userA userA@myUbuntu:~$ userA@myUbuntu:~$ ls -l total 8 ...
Pete's user avatar
  • 131
0 votes
1 answer
386 views

Is there a tool to check and manage file permissions?

I developed a set of rules for file and directory owner and permissions for our company server. E.g.: Projects/: permission 750, owner root, group internal Projects/* (directories): permission 2770, ...
user10070149's user avatar
0 votes
0 answers
235 views

Process unable to write file - disk space ran out what happened?

I had a situation with a server misconfig. Nginx was unable to write its logs due to invalid file permissions and checking with free the buffers/caches were at about 3.2GB (out of 4GB Memory). Nginx ...
324Ss's user avatar
  • 1

1
2 3 4 5
20