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
1answer
298 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
901 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
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 /...
1
vote
3answers
716 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 ...
3
votes
2answers
599 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
333 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
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 ...
1
vote
1answer
1k 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
1k 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
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. ...
2
votes
1answer
2k 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
534 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
142 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
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 ...
2
votes
1answer
86 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 ...
1
vote
2answers
271 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
472 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
806 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
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 ...
1
vote
1answer
76 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
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 ...
1
vote
0answers
51 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
563 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
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 ...
1
vote
0answers
377 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
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 ...
5
votes
3answers
4k views

What is the purpose of group “staff”?

What is the purpose of group "staff"? Interestingly, note that the set user or group ID on execution (s) bit is set. michael@greenbeanDev:~ $ ls -l /usr total 72 drwxr-xr-x 2 root root 28672 May ...
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 ...
1
vote
0answers
972 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 = ...
2
votes
1answer
1k views

Accessing pwm module without root permissions

I am trying to use the hardware PWM module on my pi 3 by writing to the /sys/class/pwm/pwmchip0 directory (which I think is just a symbolic link to sys/devices/platform/soc/3f20c000.pwm/pwm/pwmchip0). ...
1
vote
2answers
875 views

www-data (NGINX user) cannot access file

I am running Debian Jessie with pixel. I have a file located at /home/pi/robotAI/static/sqlite/robotAI.sqlite which I need NGINX to access. NGINX runs as www-data and normally when I run the following ...
2
votes
1answer
452 views

User cron job permission denied to directory owned by the user

I am using Raspbian Jessie. I have a cron job for pi user as follows: SHELL=/bin/bash @reboot /path/to/execute_script.sh The script I am executing involves creating directories on a mounted USB ...
-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
vote
1answer
2k views

Transmission: access denied

I installed transmission on my raspberry pi and set it up to download directly onto a mounted external hdd. The drive is mounted using following fstab entry: /dev/sda1 /mnt/old ntfs ...
2
votes
0answers
1k views

Set permissions and group for /dev/gpiomem permanently [duplicate]

I need to allow my user access to the GPIO pins and found following solution. Access GPIO pins without root. No access to /dev/mem. Try running as root! This works perfectly. All I need to do is ...
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 ...
3
votes
0answers
1k 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 ...
7
votes
3answers
10k views

How to allow I2C access for non-root users?

How do you allow non-root users to access I2C on the Raspberry Pi 2? I've compiled this code for accessing an MPU6050 sensor via I2C, and it works perfectly, but only when I call it via sudo. I ...
1
vote
1answer
1k views

Can't change user permissions

I just mounted my Apple Time Capsule to my pi, but for some reason I cannot change, add, or remove any content from the directory. I have tried changing permissions from my username and from root ...
1
vote
1answer
44 views

Avoid user change without public key

I set public key authentication on my rpi and disabled password login in the sshd_config file. There are two users: userA and userB, while userA is my main user. In addition there are two computers (...
1
vote
1answer
1k views

Raspbian Jessie - Transmission won't save to Windows share - Permission denied

I can't say how many hours I've spent trying to get this to work. I'm about ready to donate this new Raspberrry Pi 3 to a local school and pick up an Intel Compute Stick running Windows for my ...
1
vote
1answer
7k views

Denied permission to create a directory

I am installing openvpn and in one of the first steps I have to create the following directory: /etc/openvpn/certs with the mkdir command. However I always get the error: cannot create the directory, ...
0
votes
3answers
4k views

How to grant amule user to access /media/pi/ USB HDD folder?

My Pi 3 is running 2 services: transmission and amule transmission is using "pi" user amule is using "amule" user I have one problem: I finished amule installation with folder (/...
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
196 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
1answer
2k views

How to set up external HDD to hold repositories with GitLab [closed]

I'm trying to set up GitLab on Raspberry Pi 2. I have connected external HDD to the Raspberry to store the repositories. I have mounted the external HDD to /mnt as a fuseblk file system. This can be ...