1
vote
1answer
20 views

Give file permissions back to root

I accidentally typed out this command, not knowing exactly what it did: sudo chown -R user:user / Now when I type ls -la /, it shows that user has permission to all directories (before it showed ...
0
votes
1answer
18 views

convert.im6: Unable to open image `xxx': Permission denied @ error/blob.c/OpenBlob/2638

I just tried converting several different images into a PDF file using the 'convert' command in a terminal, but when I did so, it returned: convert.im6: Unable to open image 'xxx.pdf': Permission ...
0
votes
0answers
18 views

WUBI admin permission in graphic environment and installing question

While I can more or less create directories and such in folders like usr and bin ("root directories" right) through terminal comfortably (I say more or less because I set the password through wubi and ...
0
votes
0answers
22 views

Permissions when running second level script

Evening Everyone, I have 1 bash script that starts the program Motion (some may be familiar with). Motion links to a script in the motion.conf upon picture save or file save to a perl script that ...
0
votes
0answers
25 views

How to skip entering password for sudo i.e. prepare script with permissions? [duplicate]

For work and other situations as well I'm running all sorts of sudo commands. Thank god (and devs), they can be run from Unity Laucher :) . But as a lazy timesaver I want these commands permanently ...
0
votes
3answers
123 views

How to give all the users(except guest) permissions to particular directory via terminal?

I want every user to have full permissions over a single directory(and all the contents). Is this possible, and how? Thanks.
1
vote
2answers
68 views

How to prevent directory from being deleted by user?

Suppose a directory dir1 is created by sudo on Desktop. sudo mkdir dir1 Then I applied chown and chmod as following: sudo chown root:root dir1 sudo chmod go-rwx dir1 Now dir1 is only accessible ...
0
votes
1answer
25 views

don't have permission or doesn't exist

I'm trying to configure an Oculus rift and I have a configuration script that needs to be executed: GLADOS@deathbox:~/Desktop/OculusSDK/Tools/OculusConfigUtil$ ./OculusConfigUtil_i386 bash: ...
1
vote
1answer
104 views

sed “Permission denied” and “No such file or directory” errors while building Clockwordmod

Whenever I execute the command build/tools/device/mkvendor.sh samsung_aegis2vzw /your/path/to/the/boot.img I get this as the output build/tools/device/mkvendor.sh: line 83: /sedcommand: ...
3
votes
2answers
164 views

Sudo error, setuid [duplicate]

I'm using Ubuntu 14.04 and I run some command series on Terminal. But at one time I ran sudo chmod 777 /usr/bin/ -R And giving some permissions on this directory. After that, I'm continue my work, ...
0
votes
1answer
207 views

FFMpeg permission denied error

I installed ffmpeg into /root/bin I followed this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I now want a non admin to access it. I created a symbolic link in /usr/local/bin now if ...
0
votes
0answers
102 views

Cannot run the terminal: “Not such file or directory” and “hostname has changed”

My problem is: I can't use the terminal in Xubuntu 14.04. If I launch it, this error is appearing: grep: /opt/aster113/etc/codeaster/asrun: No such file or directory Hostname has changed, running ...
0
votes
1answer
59 views

What does the 'sudo -s' command do, and how is it used in this example?

I have the following doubt. In a tutorial related to a software installation that I am following say that I have to execute the following commands (I am doing it into an ssh shell, so this list of ...
0
votes
0answers
311 views

Unable to change permissions for apache file 000-default.conf

I am trying to change the permissions for the apache file /etc/apache2/sites-enabled/000-default.conf when I input the command sudo chmod 755 000-default.conf the file still stays to ...
4
votes
2answers
79 views

How to create two users who can read files of each other?

How to create 2 users a and b from shell, that will be able to read files of each other( say a can read the files of b, and b can read the files of a) . sudo adduser newuser sudo passwd newuser
6
votes
3answers
968 views

What does tar's -p (preserve permissions) flag actually preserve?

What does the -p flag actually preserve when creating and extracting a tarball? Is it the rwx permissions it preserves? When I created a htdocs/ tarball owned by root, extracting it to my local ...
0
votes
0answers
47 views

listing permissions

I'm a biomedical scientist and I'm having trouble running a custom data analysis pipeline written by one of our collaborators. His script crashes with /bin/sh: 1: ...
0
votes
1answer
37 views

Repair filesystem permission

I accidentally executed sudo chmod -R 777 / I was actually trying to change a specific folder permission recursively, btw i did stop the command before it changed everything. But now, i can't ...
1
vote
2answers
262 views

Change group access to directory and all sub directories and files

There is root ownership and root group applied to /media/pandya/Ext4/* ("pandya" is user-name). To apply group "pandya" I run following command: sudo chown -hR root:pandya /media/pandya/Ext4/* ...
1
vote
2answers
92 views

Attempting to setup Ubuntu 12.04 SSH Server: -bash: /etc/hostname: Permission denied

Attempting to setup an SSH-server running Ubuntu 12.04. Went to "HowToForge" to scout for potentially advanced or knowledgeable advice upon how to accomplish this, then I ended up running into a ...
1
vote
1answer
203 views

How to edit /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts and similar files and why they can (not) be edited

I a trying to edit the following file (ls -alstr output): 0 -rw-r--r-- 1 root root 0 Apr 15 17:07 /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Unfortunately, if I try to edit it with vim or simply ...
2
votes
2answers
361 views

“sudo mv /fromdir /todir” - not recognizing the fromdir location

I'm trying to get a small folder (/test) with a couple small text files to a folder that I don't have write permissions for. I'm the sole user on this account and I don't know why I wouldn't have ...
2
votes
1answer
512 views

couldn't open output file: Read-only file system

I just installed Ubuntu. My problem is I am attempting to write a log file to home. I am using logcat from a python module called adb. When I attempt the terminal command adb logcat -f <path> I ...
2
votes
1answer
38 views

How can I list files that the current user can access?

For security auditing purposes I would like to go through my systems' users and make sure they don't have filesystem access to more than I'd prefer they did. I'd like something that outputs in the ls ...
0
votes
0answers
39 views

command line: How to give right to log in using ssh to user?

To learn some server management I just created a new Ubuntu 12.04 server. Since I only had a root account I created a new user with adduser kramer65. I now want to ssh into the server using that new ...
1
vote
1answer
625 views

permission denied in running script

I am running a script but there is an unusual warning: This is what happened in my console #whoami root #ls -l test.sh -rwxr-xr-x. 1 root root 1894 Feb 2 01:58 test.sh* #./test.sh -bash: ./test.sh: ...
0
votes
0answers
125 views

Audio playback freezes on setuidgid from daemontools service

I can't seem to use aplay or cvlc in tandem with any other audio applications when it's running as a service under daemontools. The setup is that I've got a bash script that I've got running that ...
1
vote
0answers
73 views

“Command not found” when running a program

I downloaded the Citrix receiver for Linux 13.0 (I'm running Ubuntu 13.10 64bits) from http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-130.html. I unpacked it using alien, but ...
0
votes
1answer
25 views

Cannot make shell file excecutable

read-only file system error when trying to make shell file excecutable. FIX?
0
votes
1answer
245 views

Some image files won't be displayed by Apache, returns 500 error (file ownership/permissions)

I just copied all my files from one Ubuntu server to another, and everything works fine, except that Apache returns a "ERROR 500 - Internal Server Error!" on image files that on the old server was ...
0
votes
0answers
65 views

How to make a command execuitable without root previlages? [duplicate]

I want to make some commands,such as ntpdate,shutdown etc, to execute without asking me for a password or without using "sudo" for "all users"(even normal users who have no sudo privileges) . I want ...
-1
votes
1answer
72 views

Objective: understanding File permissions

I want to write a shell script that takes two arguments: username(usr) and filename(fname), then resolve and show permissions of the given user on the given file.
2
votes
3answers
223 views

Can't install .sh file

OK, I know there are over 100 questions on this forum just like this one, I know because I've read every one of them, with no luck. I have downloaded a .bin file, extracted the contents into a folder. ...
-1
votes
2answers
3k views

Bash return permission denied error when I redirect the output of ls to a file [duplicate]

I'm currently studying shell commands, one of the exercises consists in creating a structure with various directories and subdirectories. I wrote ls -laR > hello, it was supposed to create a text ...
2
votes
1answer
143 views

Bash error when trying to execute a file

i am kinda new to linux and in programming so please excuse my lack of knowledge. I'm trying to run a basic program named trial.c with an executable file named trying but when I type ./trying in the ...
0
votes
1answer
149 views

run a script as non-root user

I want to run a script say some_script.sh(that requires root permissions, contains some sudo do something in a for loop) as non-root user. I have a script as shown below. I want to run this script as ...
0
votes
1answer
84 views

./opt/lampp folder & file editing help

I installed XAMPP but I need to edit folders and files in there. I did the following groupadd lampp usermod -a -G lampp kyle chown -R root:www-pub /var/www chmod 2775 /opt/lampp find /var/www -type ...
2
votes
0answers
140 views

How do I reinstate my admin user privileges to global read/write

I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line ...
1
vote
1answer
94 views

How to create a directory for everybody? [duplicate]

I have a lot of music that I want to share with and on all the accounts on my Ubuntu Linux box. I created one in /usr/share/usrmusic changed the user and groups to userx:users and the permissions to ...
0
votes
1answer
70 views

I need to get past my permissions to recover data

Due to some mishaps, I am unable to boot into Kubuntu at all. However, my data is still on the hard drive. I managed to get one of the other two computers to which I have access to read the disk by ...
0
votes
1answer
1k views

Can't redirect standard output

I'm following along with the examples in Chapter 6 Redirection of The Linux Command Line (2012). I am trying to redirect the standard output of an ls command to a text file. I keep receiving a ...
0
votes
2answers
829 views

How to prevent users from renaming files while providing write permissions on Linux

For some special purpose, I want to prevent non-root users of the Linux Server from changing or renaming the filenames. However, they can modify and write to the contents of the file. How to do this ...
-3
votes
4answers
999 views

permission denied while making a file without asking for password

I'm trying to create a file using cat > list but each time it shows me "Permission denied". xyz@jaishreeram:/home$ sudo cat > list bash: l: Permission denied xyz@jaishreeram:/home$ sudo cat ...
-1
votes
3answers
672 views

How can I execute c programs in ubuntu 13.04

I upgraded my ubuntu to 13.04 version. After this upgrade I am not able to execute c programs in terminal. When I try to execute, it shows an error as shown below bash: ./cd: Permission denied ...
0
votes
2answers
545 views

How to permit SUID

I need to permit suid for my user account on my ubuntu 13.04. According to the mount command the bit flag for my account is nosuid. how do i change it to suid.
0
votes
2answers
668 views

effective user id not changing when setting uid to root

I'm currently reading a book on programming with C, i got to a part where i got to write a program which will display the real uid and effective uid that the file is being executed on. After compiling ...
0
votes
1answer
41 views

Can only open bukkit.sh with Java Web Start

I'm trying to run bukkit.sh file with java 7 runtime. Instead the only application I can associate the bukkit.sh java file is java web start. I've done the basics, installed java7, set the bukkit.sh ...
0
votes
1answer
57 views

Setfecl: Option -m incomplete, why?

My commands: sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs It returns: setfecl: Option -m ...
3
votes
3answers
6k views

Not able to install *.run file in Ubuntu? [duplicate]

I am newbie with Ubuntu and I am using Ubuntu 12.04.3 LTS version inside Windows using WUBI. I have to install few softwares in Ubuntu which are as follow: MPLAB X IDE version 1.90 XC8 Compiler and ...
-1
votes
2answers
236 views

How would I execute a .jar using terminal, permissions only does Read and write, yet not execute

The file I am trying to execute is TechnicLauncher(1).jar I have tried looking in the permissions (as mentioned before) but it does not show where it can be executed. I have also tried looking in ...