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.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
2k views

Permission issues using sickrage and transmission

I've setup transmission and sickrage to automattically download series. This went well, however when Sickrage tries to move the files, it gets stuck and the logs say: 2016-07-25 16:10:13 POSTPROCESSER ...
3
votes
0answers
5k views

External Hard Drive with HFS+ file system mounted read only in OSMC

I used this hard drive with Raspbmc with no problems, but since I updated to OSMC, this seems to mount the disk as read only. I need to change some permissions and modes and I get this message: chmod ...
2
votes
0answers
116 views

User does not have permissions to directory

My raspberry 3 is running amule using amule user, but I cant set the directories I want for incomings and temp files in a pendrive. Each time it goes back to the default directories. I did sudo chmod ...
2
votes
0answers
1k views

Permission Denied as root when connecting BluetoothSocket with Bluez 5.43

I've been trying to get bluetooth working on my Raspberry Pi 1 Model B+ running Raspbian Stretch Lite 4.14 with a 3rd party USB bluetooth dongle. I installed Bluez 5.43 for python 2.7, and was able ...
2
votes
0answers
3k views

Can't start Transmission as user Pi

Goal I have a Raspberry Pi 3 with Raspbian and I want to make it a torrent seedbox by using Transmission. I followed all kinds of guides on the internet to solve problems I had on set-up and now ...
1
vote
1answer
65 views

WS281x library cannot access /dev/mem without root

I get this error from the rpi_ws281x library when trying to run as user pi (this is a java wrapper around the library): 16:43:59.060 [main] INFO com.github.mbelling.ws281x.Ws281xLedStrip - LEDs count:...
1
vote
1answer
480 views

Allowing a venv instance of Python access to I2C

I'm trying to run a python script using the adafruit_bme280 library to read a couple of sensors and display the data on a flask-generated page. I've gotten it to work outside of a venv virtual ...
1
vote
0answers
180 views

How to run a graphical program from a restricted user

I have two users. admin can see everything. pi is restricted. I have a tkinter python application. pi must be able to run the program, but it cannot read any of the files directly. There is a data....
1
vote
0answers
396 views

pyusb: scanner insufficient permissions

UPDATE: I added a symbolic link to my .rules file and it is being created every time I unplug/plug the scanner. I believe my issue is more of a permissions issue with my Python code and more ...
1
vote
1answer
847 views

Restoring a Raspbian system with an rsync ssh backup: permissions at backup time

I have a Raspberry Pi 2 running Raspbian Jessie. It is being used as a reverse proxy for my various self-hosted services, it is running openHAB, it is my mosquitto server, etc. I would like to create ...
1
vote
0answers
54 views

new directories are owned by non existent user 10001

I am currently trying to setup my raspberry pi as a webserver that serves files from a cifs share. The problem I run into is that my while using ssh, my pi creates all new files/folder with a non ...
1
vote
0answers
591 views

Motion ffmpeg_open: url_fopen - error opening file (check access rights to target directory)

I am trying to record my motion videos inside the directory /media/pi/camera. This directory has the following permissions: drwxrwxr-x 2 motion motion 4096 Aug 9 20:04 camera I set the same ...
1
vote
0answers
405 views

FTP and permissions

I am having trouble with file permissions. There are tons of websites and other sources regarding this. But none are addressing my issue. When I set a permission on a folder I have with chmod 660 [...
1
vote
0answers
1k views

tvservice command from php fails (Failed to initialize VCHI)

I want to be able to turn HDMI on and off from a web page. I have written this script: $power = $_GET['power']; if ($power === 'on') { echo "<h1>Switching TV on</h1>"; $output = ...
1
vote
0answers
124 views

NAS mounted drive permissions as the www folder

So I am messing around with my Pi (Raspbian) and I have setup an apache server on it with php. I have set the apache server to use a folder on the mounted NAS drive however when trying to use unlink ...
1
vote
0answers
203 views

setting File Properties does not work

I recently got my first RasPi and once I've set it up I attached an external Harddrive to download files onto. When I checked the Permissions in File Properties I noticed that it was set to: Owner:...
1
vote
0answers
164 views

How do you use GPIO output with RPi and Google Coder?

I am trying to set up the "Blinky Lights" project with Google Coder v0.9. I have used the code from the example project, unaltered, as well as setting up my breadboard exactly as the instructions ...
1
vote
0answers
610 views

Why is my usb flashdrive automatically mounted, without fstab?

I plugged in a usb storage device for the very first time, and it automatically mounted the FAT32 partition called "HMN"? At first i was pleasantly surprised, but it's mounted as root. Q: How can i ...
1
vote
1answer
1k views

PIGPIO without sudo

I am working on setting up an automated deployment of an executable using the PIGPIO C bindings to a Pi Zero. I copy the executable to the pi (into a directory on pi user's desktop) as expected, but ...
0
votes
0answers
11 views

404 Not found - weewx and lighttpd

I am running Dietpi on Raspberry Pi 3B+. Installed weewx via apt-get after enabling lighttpd. I get a 404 Not found error. Apparently, I need to set some permissions to allow weewx to write to /var/...
0
votes
0answers
27 views

'on_picture_save' triggered script won't execute 'sftp' nor 'sudo -u' commands

My goal is to transfer to a distant raspberry pi the stream of snapshots acquired through 'motion' software. I am using 'sftp' in the following test script: (test-script.sh) #!/bin/bash cp $1 /tmp/...
0
votes
1answer
23 views

OpenCV can't capture frames on production server (Nginx + uWSGI) on Raspberry Pi 4

I'm building a production server on Raspberry Pi 4. Web app is written in Django. I used uWSGI as an application server and Nginx as a reverse proxy. I followed many tips from Digital Ocean. One of ...
0
votes
0answers
37 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
106 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
23 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
0answers
857 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
91 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
100 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
172 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
669 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
0answers
688 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
2answers
302 views

Getting Pure Data to work on Raspbian Jessie (giving Pure Data permission to access device?)

I’m new to Raspberry Pi and am trying to run Pure Data on it to control a teensy 3.2 using Open Sound Control which in turn controls some stepper motors for a pump just like here https://github.com/...
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
0answers
388 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
160 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
1answer
2k 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 ...
-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 ...