Skip to main content

All Questions

Tagged with
16 votes
1 answer
45k views

chown - Operation not permitted even as root user

I'm trying to chown a specific USB drive folder that has been mounted on my RPI 400. This is my lsblk -f result: sda1 exfat 1.0 WD Media 0C23-43CD 1.8T 0% /mnt/WD ...
Nico's user avatar
  • 161
1 vote
1 answer
1k views

Accidentally changed owner of `/etc/sudoers` to non root. Can't sudo or revert

On Raspbian, tried to change permission for /etc/sudoers.d/octoprint-shutdown to pi user to edit the file and it worked but now I can't sudo anything. The command I used to break it: pkexec chown pi:...
Miro's user avatar
  • 191
0 votes
1 answer
849 views

Getting denied when trying to write on mounted drive with rwx permissions

im mounting a network drive using the following in /etc/fstab: $ sudo nano /etc/fstab //XXX.XXX.XXX.XXX /mnt/bilder cifs auto,username=XXXX,password=XXXX,vers=3.0,uid=1000,gid=1000,...
DumperJumper's user avatar
0 votes
1 answer
169 views

Cannot log in after changing permissions with owncloud script

I am trying to install owncloud and had some issues with permissions in /var/www/html/. One site suggested to run a script which changes the permission, and it looked ok to me so I ran it as root in ...
traindriver's user avatar
0 votes
2 answers
2k views

Can't change raspbian folder permissions?

I have a USB drive mounted to a folder in my raspberry pi. I'm using that drive to host an FTP server with Gadmin-ProFTPD. However, I cannot upload or download anything no matter what permissions I ...
Mark Deven's user avatar
  • 1,660
1 vote
0 answers
1k views

Transmission-daemon permission denied in /home/pi/ folder. How to fix it?

I don't want to use any USB drive with my Raspberry Pi because my SD card has 32GB storage. So i put /home/pi/torrent/downloads and /home/pi/torrent/incompleted location in the /etc/transmission-...
Bangladesh 71's user avatar
-1 votes
1 answer
6k views

Not able to write on samba server

So, I've been doing a ton of research trying to solve this, and several hours later, I'm absolutely stuck. I know this has something to do with permissions, but I have absolutely no clue on how to ...
GarrukApex's user avatar
0 votes
3 answers
11k views

chmod operation not permitted on /var/www/ SSH raspbian

I am trying to setup a simple Apache web server over SSH in Raspbian but cannot obtain access to /var/www. I have tried these commands to obtain write permission: sudo chown -R www-data:www-data /var/...
William 's user avatar