Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
19 views

Adding an exception to /etc/sudoers

In the /etc/sudoers file I want to add an exception for raspi-config to the following: pi ALL=(ALL) NOPASSWD: ALL This will allow users to use all commands without sudo except for raspi-config. ...
0
votes
1answer
34 views

Error reading lock file /etc/.rc.local.swp: Not enough data read

I was able to access rc.local just a little bit ago and now it wont let me. I cant even delete the swp file due to permission issues. Im not sure where to go from here, the error i get when opening ...
-1
votes
2answers
63 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?
1
vote
1answer
41 views

Why is /boot/config.txt executable?

FYI, I installed the R-PI minimal image with dd myself onto an sd card I was messing with the boot config when I realized that this file was set as executable. Looking at the config, I don't see why ...
0
votes
0answers
34 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
22 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
27 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 -...
1
vote
0answers
51 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
1answer
28 views

GPiO setup works from shell, but not from script or C code

May be not the right place, but ran again that on the RPi platform. I want to have - say - an output on the RPi. I'm user pi. I'm in gpio group. I say 'echo 26 > /sys/class/gpio/export'. Works. I ...
0
votes
1answer
41 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 ...
1
vote
1answer
181 views

How to fix the systemd file permissions?

I have a raspberry pi python3 program "monitor.py" that works from the terminal But it fails to run when I start it from boot. Check status: pi@raspberrypi:~ $ systemctl status monitor.service ● ...
0
votes
1answer
117 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
38 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
36 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,...
1
vote
1answer
193 views

Why won't my systemd execute?

I get this error message when I try to run systemd: Failed to create /user.slice/user-1000.slice/session-c2.scope/init.scope control group: Permission denied Failed to allocate manager object: ...
2
votes
1answer
77 views

What's wrong with this wpa_suppplicant.conf file?

I have an original wpa_supplicant.conf file which I tried to add a new network. Both have same owner (root) and same permissions 644. I just added one more network at the end (just for testing). ...
1
vote
3answers
69 views

/boot/wpa_config being copied with wrong permission

I plug the micro SD into my MacBook. I then save a correct /Volumes/boot/wpa_supplicant.conf with file permissions with 777 (default when creating files into the FAT partition). Then, when I move back ...
1
vote
4answers
42 views

Trying to write to a file from a script. Hitting unexpected permission issues

I am trying to write a script to edit systemd files. On the CLI I can use the command: sudo systemctl edit test.service That opens a text editor, I make the changes and save no problems. In a bash ...
0
votes
0answers
391 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-...
0
votes
1answer
23 views

Trouble with changing owner group of a windows shared folder from root to pi

I have mounted a windows shared folder to a raspberry pi directory using sudo mount.cifs ip_address_windows_machine/folderpath /home/pi/shared_folder -o user=MY_USERNAME,password=MY_PASSWORD The ...
0
votes
2answers
840 views

Python pigpio 'no permission to update GPIO'

I am trying to run the following code on my Raspberry: import pigpio import fileinput pi = pigpio.pi() ### Define constants pwm_range = 255 pwm_clock_div = 8 left_motor_dir_pin = 35 ...
0
votes
1answer
102 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 ...
2
votes
0answers
193 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 ...
0
votes
3answers
62 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
3answers
307 views

Error on changing permissions in serial port

I have been trying to find a solution for 2 days but I wasn't able to find one. I want to change the permission of the /dev/ttyAMA0 but seems to be impossible. I tried with sudo chmod 777 /deb/ttyAMA0 ...
1
vote
0answers
150 views

Pi 3 error on motion status ffmpeg_set_outputfile: permission denied

I have a Pi 3 with Stretch on it and I'm trying to get Motion to work correctly. In particular I want it to stream to a browser that I'll be able to access. I was able to successfully get the stream ...
1
vote
0answers
161 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 ...
0
votes
1answer
20 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
142 views

How to exit read only filesystem to get write permission in order to download a driver form Github?

I am trying to set up a 5 inch LCD on my Raspberry Pi 3. It runs Kali Linux, I'm on a no GUI boot and (automatically) logged in as root. When I run the command (to download the drivers): git clone ...
0
votes
1answer
406 views

Copying files to usr/local in Raspbian

I have been trying to install Opencv following the instructions given in this link [https://github.com/manashmndl/FabLabRpiWorkshop2017/wiki/Painless-OpenCV-in-Raspbian-Stretch] I need to copy files ...
0
votes
0answers
391 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. ...
1
vote
1answer
998 views

Transmission daemon stopped working - owner or permission issue?

Suddenly I'm having issues starting downloads. I'm using : sudo service transmission-daemon (start/stop/restart) I looked at /var/log/daemon.log and found an error: Couldn't save temporary file "/...
3
votes
2answers
344 views

Issue with multi-user NAS setup

I want to build a NAS server with multiple users. To test this I created 2 users, pi and pi2. The external drive is mounted in /media/pi. Here is the ls -al output: drwxrwx--x 4 pi nasusers 4096 ...
0
votes
1answer
73 views

i2c Permament ownership setting

I set up an apache2 server on my RPi zero and written cgi script that reads temperature from database and prints it onto a website. To update data in the database, I have a small python script which ...
0
votes
1answer
639 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 ...
2
votes
1answer
77 views

Bas rights on a folder when I automount an hard drive

I want to automount an hard drive when my raspberry pi zero starts. The commands works but I can't write in the folder because I don't have permission even if I use sudo. I can only read. I already ...
0
votes
2answers
142 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
2answers
66 views

How to find out if you are the Administrator [closed]

I am running a Raspberry Pi 3 Model B and I am trying to find out what my administrative privileges are. When I start up the pi I have started it in the standard mode after boot. I have not changed ...
1
vote
1answer
582 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 ...
0
votes
0answers
1k 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
1answer
41 views

User unable to add/remove programs through package manager

I added a user to my Pi and thought I set him up like the original pi user. I added him using adduser -a -G and assigned him all the groups assigned to pi through usermod. He seems to be able to do ...
0
votes
1answer
451 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 ...
1
vote
0answers
31 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 ...
0
votes
1answer
58 views

Apache does not show symlink directories linked to a USB drive

I have a Raspberry with an Apache server for accessing to a list of videos, these videos are stored on a flash USB. So I tried to do a symlink between the USB /home/pi/media/videos/ to /var/www/html/...
1
vote
0answers
336 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 ...
0
votes
0answers
814 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
691 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 ...
1
vote
0answers
272 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 [...
0
votes
1answer
123 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
1k 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 ...