I/o Error Permission Denied Rgb 0 0
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn zip i/o error permission denied linux more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags zip i/o error permission denied unix Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, zip error could not create output file linux helping each other. Join them; it only takes a minute: Sign up “zip I/O error: Permission denied” with exec command up vote 2 down vote favorite I'm trying to recursively zip a directory with the exec command, first
/dev/dri/card0
of all I do not need the zipArchive class for outline reasons however when I pass this command in the exec command I get an error saying: zip I/O error: Permission denied For this command: cd ../../; zip -P temppassword html/acp/backup/filename.zip -r html/ 2>&1 It starts out in the script located /var/www/html/acp/config.php and it will move to the www directory after cd ../../, then zip up the html directory and store the zip file into /var/www/html/acp/backup/ directory. But unfortunately I get a permission error. How can I allow the command to pass through with "permission"? php zip exec share|improve this question asked Jul 7 '11 at 16:08 MacMac 8,88734108191 Why is this marked off-topic for? –MacMac Jul 7 '11 at 16:11 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted Could be either: The web server user ID doesn't have permission to write out the .zip you're generating The web server user ID doesn't have permission to read a file/directory somewhere in the area you're zipping up. share|improve this answer answered Jul 7 '11 at 16:19 Marc B 273k24232351 So I assume the user is apache. How can I allow the user to have permissions to do so? –MacMac Jul 7 '11 at 16:23 in a horribly hacky way: chown -R apache:apache html/ or chmod -R 777 html/. Preferably you should figure out which directory/file is/are causing the error and fix up those only. –Marc B Jul 7 '11 at 16:25 Ah yes, I just chmodded the backup directory, that must have been why it didn't work. Thanks. –MacMac Jul 7 '11 at 16:27 If you CHMOD the backup directory, aren't you allowing write access to that directory to the world (users who can call the script)? &
Sign in Pricing Blog Support Search GitHub This repository Watch 95 Star 770 Fork 97 Bumblebee-Project/Bumblebee Code Issues 75 Pull requests 4 Projects 0 Wiki Pulse Graphs New issue Cannot access secondary GPU: [drm] failed to set drm interface version: Permission denied #580 Closed timfayz opened this Issue May 9, 2014 · 53 comments http://stackoverflow.com/questions/6613643/zip-i-o-error-permission-denied-with-exec-command Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 31 participants and others timfayz commented May 9, 2014 I have the common issue. When I try to run something through optirun, I get the following: [13395.278406] [ERROR]Cannot access secondary https://github.com/Bumblebee-Project/Bumblebee/issues/580 GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13]. [13395.278522] [ERROR]Aborting because fallback start is disabled. Specification: Ubuntu 14.04 NVIDIA Corporation GF108M GeForce GT 630M Nvidia 331 driver I've tried to reinstall nvidia and bumblebee packages, to remove something related with nvidia within /usr/share/X11/xorg.conf.d, uncomment BudID in the xorg.conf.nvidia file optirun -vv --debug bush [13077.093918] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [13077.094673] [DEBUG]optirun version 3.2.1 starting... [13077.094690] [DEBUG]Active configuration: [13077.094698] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [13077.094705] [DEBUG] X display: :8 [13077.094711] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-331:/usr/lib32/nvidia-331 [13077.094717] [DEBUG] Socket path: /var/run/bumblebee.socket [13077.094723] [DEBUG] Accel/display bridge: auto [13077.094728] [DEBUG] VGL Compression: proxy [13077.094734] [DEBUG] VGLrun extra options: [13077.094740] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus [13077.094813] [DEBUG]Using auto-detected bridge primus [13079.358358] [INFO]Response: No - error: XORG intel(0): [drm] failed to set drm interface version: Permissi
Member Registered: 2013-09-24 Posts: 12 [Solved] Xorg only works on second startx Xorg seems to be able to find the display only on the second startx. Below are the logs https://bbs.archlinux.org/viewtopic.php?id=206849 of the two runs.First[ 6528.439] X.Org X Server 1.18.0 Release Date: 2015-11-09 [ 6528.439] X Protocol Version 11, Revision 0 [ 6528.439] Build Operating System: Linux 4.2.3-1-ARCH x86_64 [ 6528.439] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 [ 6528.439] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ad9b0209-ef81-4b64-9914-6e46bb666d8d rw quiet acpi_osi=Linux [ 6528.439] Build Date: 18 November 2015 i/o error 08:07:09AM [ 6528.439] [ 6528.439] Current version of pixman: 0.32.8 [ 6528.439] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 6528.439] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 6528.439] (==) Log file: "/var/log/Xorg.1.log", Time: i/o error permission Wed Dec 2 11:52:34 2015 [ 6528.439] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 6528.439] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 6528.439] (==) No Layout section. Using the first Screen section. [ 6528.439] (==) No screen section available. Using defaults. [ 6528.439] (**) |-->Screen "Default Screen Section" (0) [ 6528.440] (**) | |-->Monitor "