Questions tagged [permissions]

Permissions grant certain abilities - read, write, or execute a file - on a user level. Unset permissions result in the corresponding rights being denied. Questions address issues with permission settings.

Filter by
Sorted by
Tagged with
0
votes
2answers
2k views

Under what user is apache being run?

So I am trying to set up owncloud and the tutorial I've been following tells me this: Let's assume your apache runs as "www-data" (as it e.g. would under Ubuntu). Then you should change all files ...
0
votes
1answer
367 views

PermissionError: Permission denied

I have a python program that imports gopigo. If I run the program under my user it works fine. I need to invoke it from shairport-sync service. when I do that I get the following error: Jul 27 19:35:...
0
votes
2answers
92 views

How to mount (and keep) a NTFS HDD with RW permissions

I have the Raspberry Pi 4 Model B, I've installed Raspbian OS using NOOBS. Everything works fine until I plug in my NTFS HDD via USB, the hard drive is detected and mounted automatically, but with RO ...
0
votes
3answers
111 views

Configure Pi4 to create files in root of mounted Samba share

I cannot create files and directories of the root folder of a mounted Samba share on my Pi4. I am 98% certain that this is a client-side issue with the Pi4 and not a server configuration problem for ...
0
votes
1answer
161 views

Unable to copy to SMB from MacOS

I'm in the process of setting up a shared folder on my Raspberry Pi and am having a hard time figuring out the issue with some of my permissions. I set up my smb.conf file as such: [content] Comment =...
0
votes
2answers
312 views

Unwritable file

I'm trying to edit the terminal on my Pi and whenever I edit my terminal with the command nano /boot/config.txt this comes up: nano /boot/config.txt unwritable Whenever I try to exit and try to ...
0
votes
1answer
65 views

ssh Permission denied // RPi 3 Model A+ macOS Mojave

I'm trying to access my RPi 3 Model A+ from my mac (Mojave) through ssh. They're both connected to a 5GHz wifi. From the mac terminal, I type the RPi ip address, then the default password raspberry , ...
0
votes
1answer
477 views

Permission problems with Transmission

EDIT 2: User Dougie already suggested this. Didn't notice it. EDIT: I found a solution through NFS. On my Zyxel NAS326 I created a NFS share and gave right to access to it for my whole home network ...
0
votes
1answer
74 views

Stop Linux terminal running as root

I was trying to set my GUI working on autorun boot through several methods (system, LXDE etc) but I think I screwed it up as none of them worked really. I must have mixed some commands up. Right now,...
0
votes
1answer
299 views

WARNING: Can't Create a List File '/var/www/html/file_here.xml.tmp': Permission denied

land@ns331252:/var/www/html$ ls -al total 24 drwxr-xr-x 2 root root 4096 Aug 5 02:39 . drwxrwxrwx 7 root root 4096 Aug 6 07:27 .. -rwxrwxrwx 1 land land 8839 Aug 5 02:39 file.here.txt -rwxrwxrwx 1 ...
0
votes
3answers
121 views

Apache permissions on local network [closed]

I'm playing around with some automation for my home and have setup Apache and MySQL on my Pi along with a basic web page to control some pins on the Pi. I am wanting to set permissions on the whole /...
0
votes
1answer
118 views

How can I give write permission to “/mnt/pidrive1” path?

I have connected an USB drive with my Raspberry Pi following this tutorial. Everything worked fine but I'm not able to rename, delete or move/copy any files to a folder using SFTP. I'm only able to ...
0
votes
1answer
611 views

From “SSH: Permission denied, please try again” to realizing my RPi is running a non-ending process

I am pretty new in this, and I am working on a home automation project where my Pi should be accessed from the outside world and some slave Arduinos should perform tasks like monitoring the ...
0
votes
1answer
223 views

Read Protect SD Card

If I access the Pi-SD from Ubuntu I can read all files which belong to pi. But I cannot read the files which belong to root. Can I make all the files of pi similar unreadable to Ubuntu (or any other ...
0
votes
1answer
2k views

/etc/rc.local not executable

After wondering why my startup wasn't going as planned, I found that the rc.local file isn't executable. Is this so by default? I've searched, and haven't heard that the default is not. I have no ...
0
votes
1answer
2k views

Permission denied when tyring to use Transmission to download files to a mounted NTFS drive

I am running a Raspberry pi 2 with Ubuntu 16.04.2 as a server. I want to run transmission-daemon and download files to an external HDD formatted with NTFS. When I try to download anything to the ...
0
votes
2answers
3k views

Chown permission denied on samba share

I have a raspberry with samba and it shares a drive inside the network and allow to everyone to write, read etc I have another raspberry which mount the samba shared drive and I would execute, from ...
0
votes
1answer
1k views

VLC Socket bind error at boot

Short: When run the script manually it works, at boot time i get the VLC error core access out error: socket bind error: Permission denied I want to run a command at boot time, so I created a ...
0
votes
2answers
1k views

Cannot mount shared NAS directory with ownCloud

I managed to run ownCloud on my RaspberryPi 2 on Raspbian. Now I am trying to move the data directory to my NAS. I already shared a folder on my NAS with CIFS and mounted the folder. This allows me to ...
0
votes
1answer
2k views

./configure Permission denied - Compiling Qt

I'm new to Linux/Rasperry Pi and I was following this tutorial to create a native build of Qt. I got up to the ./configure step. But this gives me the error: bash: ./configure Permission denied I ...
0
votes
1answer
13k views

/var/www alter default directory and file permissions

I've set up my apache2 server along with vsftpd. A shortcut to the /var/www folder is in /home/pi and I've taken ownership of the folder using: `sudo chown -R pi /var/www' When files are uploaded ...
0
votes
1answer
73 views

Changed permissions of /usr

Being the noob that I am, I seemed to have changed the permissions of /usr not knowing the consequence of that action. That's pretty much locked me out of my system, not allowing me to do anything. ...
0
votes
0answers
24 views

NFS client access denied

I created a basic NFS share on my RPi4 following the RaspberryPi doc and PiMyLife tutorial. First, installed nfs-kernel sudo apt-get install nfs-kernel-server -y then, set permissions sudo chown -R ...
0
votes
0answers
44 views

pi samba share permissions

So my current project is to have a full node bitcoin core on my pi4 currently following this guide: Bitcoin node guide In this guide they reference an external hdd for the blockchain as currently the ...
0
votes
0answers
31 views

How to allow other admin to manage systemctl

I have a pi 4b. I added a new admin as explained in https://www.raspberrypi.org/documentation/configuration/security.md, it has access to all those groups. I locked the pi user: sudo usermod --lock ...
0
votes
0answers
19 views

Is it possible to access an Android Phone's volume permission and control it with RaspberryPi?

I want to have a wireless network using RaspberryPi where it connects with an Android phone, accesses its volume permission and turns it down. Any inputs on how to go about this?
0
votes
1answer
131 views

Unable to create/delete files/folders from external hdd enclosure

I'm trying to write files to an external hard drive in an enclosure holding 4 drives, thru usb. It won't let me do anything with the drive, saying "permission denied", and I can't format it. I've got ...
0
votes
0answers
392 views

php file not executing python script when called through browser

I have an apache2 webserver running on the pi. I have a php file that uses exec() to run a python script. Everything works well from the command line. when loaded through the browser, the exec() ...
0
votes
0answers
72 views

Trying to configure two USB drives for Samba server, permissions allow access to one but not the other on PC?

On my raspberry pi 3 that has Samba and Ntfs-3g running Raspian I have two USB drives mounted to two folders (from lsblk) Then I have added the following code to the bottom of the samba configure ...
0
votes
0answers
87 views

Permision denied error using paho mqtt and Adafruit 32x32 led matrix

I am writing to you because I have the following problem: I have generated a code that allows controlling a 32x32 RGB led matrix through mqtt (AWS IoTCore) using a RPi Zero W with an Adafruit RGB ...
0
votes
0answers
146 views

FTP file upload through Dreamweaver

Trying to edit files over FTP in Adobe Dreamweaver 2019. I've set the permissions to 755 in /var/www/html/ using -Rfv. Now, whenever I go to save a file I am greeted with this: An FTP error occurred -...
0
votes
0answers
567 views

Setting a mode to a pin requires root permissions

I’m trying to change pin mode on RPI (with Raspbian) – it works when I invoke those commands sudo chown root.gpio /dev/gpiomem sudo chmod g+rw /dev/gpiomem but after every restart I have to execute ...
0
votes
1answer
46 views

Can't access mounted HDD if I have't logged into Raspbian/Pixel Desktop first

Well, I'm a bit confused, so please, bear with me: I have a Pi3 with Raspbian (huh, the latest one, can't remember the name) and an external HDD plugged to it. I've been doing tests and reading stuff,...
0
votes
0answers
615 views

Need help giving Plex media server permission to access external NTFS drive from raspberry pi 3

I am running the Plex media server on my raspberry pi 3 (Raspbian Jessie). My media is mounted on the RPI3 from an external NTFS drive. I'm accessing my Plex media server from my laptop remotely. ...
0
votes
1answer
2k views

Repairing Sudoers.so file permissions

I was messing around with permissions on my pi today and I managed to accidentally change the permissions on /usr/lib/sudo/sudoers.so to anyone can view anyone can write and nobody can execute. After ...
0
votes
0answers
2k views

Python module subprocess not working with Django running server via Apache

I am working on a home automation project, and I want to run certain python codes when going to certain URLs of my Django Webpage. The subprocess.call() line from my Django Views.py works perfectly on ...
0
votes
0answers
1k views

How do I change permissions for files in the /boot folder using Raspbian Jessie?

I know this has been asked and answered before, but I've tried all the fixes and it still won't work. I need to edit one file in the /boot folder, I've tried all these from a root command line: chmod ...
0
votes
1answer
1k views

Permission issues seem to be preventing use of startx - why? How can I fix?

Been working with RPi3, fresh installed this Jessie OS and had no problems for ages, until earlier today. Current situation: When booting pi, the messages aren't the same as before, but ends with the ...
0
votes
2answers
413 views

Permission denied on everywhere

I am using debian os on pi3 and I completely lost the control of device. I messed up when I try to chmod on some folder. Here is what I did. I was already at: /var/www/html so i wanted to chmod the ...
0
votes
0answers
1k views

Best way to access GPIO through a nodejs script - without root

I'm building a web dashboard for a temperature sensor. The page is served by node.js, and the sensor connected to GPIO is accessed by a Python script, which is run by node.js. Relevant code: var ...
0
votes
2answers
5k views

calling Python script with GPIO module over apache2 web server

I have test.py file, and it contains GPIO module commands: #!/usr/bin/python import RPi.GPIO as G import time G.setmode(G.BCM) G.setup(18, G.OUT) G.output(18, True) time.sleep(3) G.output(18,...
0
votes
0answers
377 views

Npm Install failes von raspbian

After installing node.js on a playground raspberry pi, i'm able to run node.js scripts. Now i had a folder which a packages.config which contains a dependency to express.js when running npm ...
0
votes
0answers
158 views

Unable to share attached hard drive with samba

I've been looking at a number of different tutorials for sharing my attached external hard drive over my network, and can't seem to get any to work. Currently I have /home/pi accessible from my ...
-1
votes
2answers
961 views

Raspberry Pi Desktop, Guest Additions: Access denied under root

I've been trying to install Guest Additions for Raspbian Desktop on VirtualBox hosted on Linux. The script won't run even under root. How is it possible?
-2
votes
1answer
1k views

Delete file from external NTFS hard drive

I have an external HDD formatted in NTFS connected to my raspberry. I need to clear some space on it but, although I have all the permission and pi is the owner of most of the directories, when i ...

1 2
3