chmod changes the permissions of each given file according to mode, where mode describes the permissions to modify.

learn more… | top users | synonyms

1
vote
1answer
32 views

Why won't chmod +s allow me to do stuff in root's stead? [duplicate]

I have a very specific command I'd like anyone to be able to run. For the sake of example, let's pretend the command is ip addr flush dev foo0. I found this and this. Unless I'm misunderstanding ...
1
vote
1answer
1k views

How to give permission to execute Eclipse application?

This one has confused me for a couple of hours. I know the command sudo chmod +x file to give executable permissions, and still I don't get my application to run. For context, I installed Eclipse ...
0
votes
0answers
14 views

How to recover administrator permission and media access for normal user?

I have a dell pc with ubuntu 14.04 lts version for my work. On a spring day, my system administrator removed my system's administrator permissions and removed my media access. He used the following ...
0
votes
1answer
22 views

Adding users and giving special permissions

I have tried different things with chmod and adduser commands but it will take too much time for me to do this. Here is what I try to do: Lets say I will add 3 users to my system. Each user can read ...
0
votes
2answers
6k views

Installing XAMPP

I'm new to linux and I'm trying to install XAMPP I downloaded the file and I cant execute it, I followed the Instruction on http://www.apachefriends.org/en/xampp-linux.html#374 but when I'm trying ...
0
votes
2answers
36 views

Definitive permission to folder

I'm giving full permission in a folder using chmod: chmod 777 /srv/folder Inside this folder many other folders and files will be created. My problem is that the full permission does no apply to ...
1
vote
1answer
51 views

Can't give write permissions to /root?

I am trying, and failing, to give the user jenkins write access to /root. Firstly: Yes, this is not something you would normally recommend doing. But for some reason Jenkins is insisting on writing ...
5
votes
2answers
2k views

Permissions denied to owner, although it is set to 666 in .ssh directory

I recently messed around with the .ssh directory. Made some permission changes, I think and now it won't let me access it anymore. I can access it as the root user (sudo -i) but not as somesh I get ...
0
votes
0answers
17 views

rutorrent / rtorrent - strange permission problems

rtorrent via rutorrent front end was working fine, then I did a sudo apt-get upgrade and all hell broke loose! (and plex stopped being able to access too). Original setup was for all completed ...
1
vote
4answers
52k views

bash: ./install.sh: Permission denied installing intel fortran 2011

I am trying to install Intel Fortran Composer 2011. When I try to command ./install.sh it gives an error: bash: ./install.sh: Permission denied I tried some ways to get pass this. Tried; sudo ...
89
votes
9answers
106k views

How do I use 'chmod' on an NTFS (or FAT32) partition?

I have a script that I need to execute on an NTFS partition. The script's permission is set to 600. I attempted to modify the permissions by running chmod 755 script.sh, which doesn't report a ...
23
votes
5answers
12k views

What if I accidentally run command “chmod -R” on system directories (/, /etc, …)

I accidently ran sudo chmod 755 -R / instead of sudo chmod 755 -R ./ I stopped it after few seconds, but now there is some problems such as sudo: must be setuid root How can I revert ...
1
vote
1answer
47 views

Woops. I did “chmod 777 /” [duplicate]

I was in a rush and accidently did "sudo chmod -R 777/". As you can imagine, everything is broken. I can't access sudo either. Is there a solution to this, or will I have to do a clean install?
0
votes
0answers
10 views

How to revert the permission of folders and subfolders [duplicate]

I ran the command sudo chmod -R 777 / . Due to my ubuntu partition is now unlocked. However when I realized my mistake I halted it in between. As a result of which still few files' permissions are not ...
2
votes
1answer
46 views

Auto chmod and launch?

Is there a way to have all files chmoded and then launched automatically? Say when I have my pc off, I insert a usb stick with a game on it, a lot of random files need to be chmoded and then I would ...
0
votes
0answers
14 views

Chmod for a mapped network drive

In Ubuntu 14.04, I have mounted a network drive in Nautilus, by using Connect to Server and entering smb://xxx.yyy.zzz. What I want to do now, is to modify the access rights of the directories in this ...
0
votes
0answers
36 views

New Samsung printer driver wedged with “Cups insecure filter” error, won't print; won't change permissions

I installed the Samsung ULD Universal Drivers for a M2070FW on Trusty. The driver hung with error "Cups insecure filter", refusing to print any test page no matter how many times printer was Added or ...
1
vote
1answer
2k views

Set permissions for future folders and files

I have some trouble managing permits in a folder and relative sub folders. I am working on ubuntu 14.04. I have a software which periodically creates new folders and files inside of a main folder. ...
0
votes
0answers
18 views

LPG-TD planner…executable file problem

I want to install lpg-td-1.0 planner. There is an executable file named lpg-td-1.0...I used chmod +x (with directory) But in terminal I am getting "lpg-td-1.0: command not found" What I am doing ...
0
votes
2answers
83 views

chmod not working in a non super user

I have created a file named *.txt in /home using following command: sudo nano *.txt Then I have changed owner of *.txt to a user that I've created: sudo useradd -c "ABC" sudo chown ABC ...
1
vote
4answers
136 views

Sudoers.d Permissions denied

I am running ubuntu 14.04 in DardDrive. I was taking the Steps for Setting up and Running sudo located here http://snag.gy/JAGgt.jpg. But every I type sudo "whatever" as user ($), I get the following ...
1
vote
3answers
78 views

What will be result of chmod -R 777

I accidentally did a sudo chmod -R 777 . in /var/www/html/mysite folder. What will it result to? I wanted to save some time by not changing my folder before running the command as well as not typing ...
3
votes
1answer
43 views

Ubuntu backup using bash commands/command line

So i accidentally run the command: sudo chmod -R 2777 / Wenever i login, it would only bring up the bash command line interface. Now how can i backup my system using only bash commands? i have ...
1
vote
1answer
58 views

ftp> how to recursively search and change mode?

Sorry if that was a repeated question! all my search results leads to 'SSH' results... I'm asking about FTP, How can I recursively change mode from FTP using the terminal? Again: I'm using FTP, not ...
1
vote
1answer
4k views

Problems with permissions with squid3

I have been trying to get squid to work. I have a configuration for the cache to be created in the directory /var/cache/squid3/. However, I get this error when running squid with the "-z" tag (It is ...
0
votes
1answer
28 views

How can I make permanent permissions for a directory using chmod?

I want all the new files I create in the directory to have specific permissions, but whenever I create a new file in the directory, it gets the default system permissions even though I used chmod -R ...
0
votes
1answer
27 views

Copy of the file /bin/sh not executing as expected

I have Ubuntu installed in VirtualBox on Windows 10 only for two days, so this may sound silly. I have a reasoning problem somewhere and I don't know why. I copied the file /bin/sh to my own ...
0
votes
1answer
25 views

permissions, changing ownership

I have a flash drive which contains recovered files from my old mac, I installed Ubuntu just to recover these files, I have no other purpose for the OS. The drive shows owner "Root" and the files are ...
1
vote
1answer
103 views

“No such file or directory” after chmod

I downloaded my professor's "shell" program and am trying to run it on my machine to do some homework. When I tried to run it from terminal using ./shell I got a "Permission denied error". After ...
1
vote
1answer
37 views

Incorrectly ran chmod 754

I accidentally ran the following command: sudo chmod 754 opencv instead of sudo chmod 754 home/mrman/opencv Now I can't access the folder which contains all the OpenCV files without being root. ...
0
votes
0answers
45 views

Program has no access to files after running chmod 777 -R

I transferred some Minecraft server files from one server to another, both running Multicraft control panel. I didn't have permissions to run the new server files from the second server, so I used: ...
1
vote
2answers
85 views

chmod 777 on a home network

first and foremost i am a noob in ubuntu, but since i want to learn more i decided to make my home server an Ubuntu Desktop machine. After searching online i installed Samba and connected my other ...
0
votes
1answer
53 views

Unable to run *.run intallation packages

I'm using xubuntu 15.10 amd64, i tried to install .run packages but couldn't. i did blow jobs: sudo chmod +x sample-file.run sudo ./sample-file.run i tested this command for a few 64 bit packages ...
0
votes
0answers
16 views

Mumble can't read input devices

I'm a competitive player and I need mumble. When I installedmumble and used the Push to Talk feature, I can't seem to bind a key. After googling a bit, I found this site, which tells you to either run ...
0
votes
0answers
18 views

There is no make file executable in the permissions tab in the file manager? [duplicate]

I am trying to run a jar file. I have installed JDK 7 and have set the jar file to run with JDK 7. I am trying to make the file executable. When I look in the permissions tab there is no box that says ...
-1
votes
2answers
2k views

sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700

I get error message always when i work with sudo command. It shows always sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700. A while ago i changed the permission of /var ...
1
vote
2answers
2k views

virtualbox - Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE)

After I create a new Virtual Machine, when I start it, it shows following error: Failed to open a session for the virtual machine Milad. Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE). Result ...
0
votes
4answers
15k views

How do I mark a .jar file as executable on Xubuntu 13.04?

I'm trying to get the minecraft.jar file to execute , but the check box won't come up when I go to Properties > Permissions. I don't know much about the terminal and its commands so if someone could ...
3
votes
1answer
549 views

Reset default permissions for /var/www

I completely messed up my /var/www/ folder after attempting to change some permissions. Now I am unable to open my localhost in browser. Following are my permissions in relevant folders. in root, ...
0
votes
0answers
28 views

Messed up permissions

I tried to remove file permissions for 'other' from all user directories. So I did cd /home/ Then Instead of sudo chmod -R o-rwx * I typed sudo chmod -R o -rwx *, which resulted in some troubles. ...
0
votes
1answer
43 views

Why a folder needs a execute permission when I'm trying to execute a .sh? [duplicate]

I've got a folder that has 0600 chmod permission and this folder has a sh script. I'm trying to limit some permissions but I've realized that if the folder has not a execute permission, unless for ...
0
votes
0answers
36 views

Permissions in var/www/html forever

Hi I want to know if it's possible to set permissions for the folder html and the subfolders so when i want to put there a new project it wont necessary to set the permissions again. Thanks
-1
votes
1answer
22 views

external drive chmod permisision error

I was folowing a help guide and used chmod 755 on my /media/_drive folder now i am getting the message "You do not have permission to view the contents of this directory". my output from ls -lah ...
0
votes
1answer
24 views

Can't access any page now?

So, I added some chmod and chown and a group and now I can't access any of my website when I go to it? All I get is: Forbidden You don't have permission to access / on this server. Apache/2.4.7 ...
19
votes
4answers
67k views

Changing permissions on serial port

I'm using the Arduino IDE in Ubuntu, and am having issues with the serial port. It has worked in the past, but for reasons that may be unnecesary, I felt the need to change the ownership of some of ...
2
votes
1answer
52 views

Strange behaviour of 'sudo chmod -rwx': Does not remove group write permissions

I just ran the following command in a directory with several files, some owned by root, some by a normal user. I got a strange message: $ sudo chmod -rwx * chmod: example-file: new permissions are ...
0
votes
2answers
152 views

I entered “sudo chmod 770 /” on terminal. Is it fixable?

I was trying to deny permissions to access the root folder to all non sudoers, and had the (NOT) brilliant idea to run sudo chmod 770 /. Now I get permission denied for all commands. I am running ...
4
votes
2answers
281 views

bash: /path/.bash_aliases: Permission denied

I don't know why this line appears first when I open my gnome-terminal. bash: /home/username/.bash_aliases: Permission denied laptop-dell:-$ I tried this but still the problem remains there. chmod ...
0
votes
0answers
19 views

How to change owner to default? [duplicate]

I am new in Ubuntu, and I am a web developer. I was making a page website returned an error and said you need permission and something about chmod() Then I asked a friend what to do for the chmod ...
0
votes
0answers
24 views

How to chmod /cdrom to 777 on USB trial install file system

I have done a USB install of Ubuntu 14.04 I try to sudo chmod 777 /cdrom/temp mode of /cdrom/temp changed from 0755 (rwxr-xr-x) to 0777 (rwxrwxrwx) ubuntu@ubuntu:/$ ls -ld /cdrom/temp drwxr-xr-x 3 ...