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

learn more… | top users | synonyms

0
votes
0answers
6 views

Enable php pcntl: Cannot Create Regular File

I am trying to enable/install pcntl and I get the following error after running make: cp: cannot create regular file `/usr/lib/php5/20100525/#INST@24959#': Permission denied I am sure it is a ...
0
votes
1answer
24 views

Not detecting any external devices [duplicate]

I've recently installed Ubuntu 12.04 it was working fine unless I messed up with a command. I change all user permissions(as they call ago permission in Ubuntu) by running command sudo chmod -R 777 /. ...
1
vote
1answer
42 views

How do I revert to the previous permissions for a folder?

I changed permission of folder by chmod -R 775 example and now I want change it to previous permission mod, but I don't know what was that number instead of 755. That folder is my project folder and ...
0
votes
1answer
36 views

Unix permissions - what EXACTLY is the “owner group” (note: singular)?

I'm programming a Fuse file-system. So far so normal, didn't encounter unsolvable problems (except performance). However, I read the following articles: http://linuxcommand.org/lts0070.php ...
0
votes
1answer
46 views

Android studio only starts with sudo

I just installed Android Studio, but I can only start it with root permissions: sudo ./studio.sh otherwise it fails with Error: Could not find or load main class com.intellij.idea.Main I am not sure ...
-1
votes
1answer
23 views

Is there any difference between umask value and chmod value?

I'm using umask in fstab settings. What I know is if i set 755 with chmod, the permission will be rwxr-xr-x. But, when I use umask in fstab with 755 value, permission that i get is ----w--w-. Giving ...
11
votes
2answers
1k views

What is the first number for in a 4-number chmod argument (such as `chmod 4555`)?

When I install a program, it recommends me to do chmod 4555. Okay, i know about values if I just use three numbers. For example chmod 555 test-file will give -r-xr-xr-x 4 for write, 2 for read ...
0
votes
0answers
51 views

Folder Permissions

I am having trouble serving a folder out using samba. I have already successfully shared a folder but my folder permissions are jacked up: [samba is successfuly shared, flexraid_pool is a folder I ...
0
votes
0answers
30 views

Give read/write rights for newly created files inside folder for users in group

I have created a user named ftpuser and a folder for him /home/ftpuser/files I added an existing user 'auser' to 'ftpuser' group sudo usermod -a -G ftpuser auser Last, I gave group ...
0
votes
0answers
328 views

Chmod error changing permission read only file system

I have three main partitions on my disc /dev/sda: /dev/sda1 2048 117186559 58592256 83 Linux /dev/sda2 117186560 128905215 5859328 82 Linux swap / Solaris /dev/sda3 ...
0
votes
1answer
34 views

Cannot edit php5.fcgi owned by Me with RWX owner permissions

Ok, I kind of thought I understood Linux permissions and then I encountered this one. I am running Ubuntu 14.04 LTS in a virtualbox on my Windows 7 pro laptop. All udpates are applied to windows, ...
-1
votes
1answer
60 views

Permission denied apache even after chmod

I am trying to setup my LAMP server on ubuntu when i am about to change mod chmod of the files in the /var/www directory but when i try : sudo chmod 0644 www/* -R and sudo chmod 0644 www -R ...
0
votes
0answers
15 views

could not connect to server

To solve an error that said ( permission denied ), I tried to sudo chown –R edxapp / Then error appear says: must be setuid root. And to solve that I tried chmod u+s /usr/bin/sudo but then ...
1
vote
2answers
34 views

Setting files and directories to match umask setting recursively

Is there a way to go into my home directory and recursively set files and directories to match my umask setting? The issue is, way back when I started using linux, I didn't understand permissions. In ...
1
vote
2answers
133 views

`sudo chmod +x *` caused me cannot open anything

Today I used sudo chmod +x * -R in my $HOME folder, actually I didn't want to use it in $HOME folder, it was an accident. Afterthat I tried to use sudo chmod -x * to fix it. But now, I couldn't open ...
0
votes
0answers
82 views

Accidentally gave chmod -R 777 /usr in Ubuntu 14.04.1

I found few questions related to chmod in / but not in /usr. While changing permissions for specific directory, i gave sudo chmod -R 777 /usr. When i reboot the system, the system is completely ...
3
votes
0answers
41 views

chmod -R 777 /etc, I have no name! [duplicate]

I really screwed up and did sudo chmod -R 777 /etc After searching for hours for an answer I eventually booted into recovery mode and did: mount -o rw,remount / # because the file-system was ...
0
votes
3answers
406 views

Chmod is not working as expected

When i am about to change my file permission like this $ sudo chmod a+x *.* This error appear chmod: cannot access ‘*.*’: No such file or directory And when i want to change the permission ...
2
votes
1answer
105 views

can't access to a folder even after chmod 777

I just created a new user, and I want to give access to a folder. I have done: chmod -R 777 ./p and this is the result lisa@linux:/media$ ls -halt drwxr-xr-x 27 root root 4,0K dic 11 ...
-1
votes
1answer
81 views

Is it okay to chmod 770 root directory “/”?

Output of ls: $ ls -lh / drwxr-xr-x 3 root root 4.0K Dec 9 18:56 boot drwxr-xr-x 17 root root 4.2K Dec 10 13:57 dev drwxr-xr-x 92 root root 4.0K Dec 10 13:57 etc drwxrwxrwx 9 lyndon root ...
0
votes
2answers
26 views

Site creation script - missing chmod permissions

We have recently taken ownership of a Linux server, on the server is a site creation script which works but seems to be missing the necessary chmod folder permissions (755?). I think we need to add a ...
0
votes
1answer
47 views

Boot for USB to fix file permissions

I will start from the beginning. I was a noob and ran a really bad command in Ubuntu and now I can't do anything with sudo. I ran: sudo chmod 644 / I was instructed to boot from a liveCD or ...
0
votes
0answers
28 views

Correct permissions or undo a command [duplicate]

I will start this question with I'm a noob and I broke linux. Probably shouldn't have ran the command I did but now I cannot use sudo for anything not sure how to undo fix what I did. The command I ...
2
votes
2answers
67 views

chmod only certain mime-types

I'm using file --mime-type * to find the mime-types of all files in a selected directory. Many of these files should not be executable and are .conf or their type is text/plain. Is there a ...
0
votes
2answers
108 views

User Rights letters to numbers

I am having Problems converting user rights. I want to assign the following rights to certain files/folders but dont know hat to translate them into a format which chmod will work with like chmod 755. ...
0
votes
1answer
532 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
2answers
142 views

Setting correct permissions

First of all let me say that i am almost new to Linux so please be patient :) I have an Ubuntu 14.0.4 running on my Systems. What i am trying to do is: On my system there are sabnzbd and plex ...
0
votes
1answer
81 views

Make all new .sh file executable

One of my script is making new .sh files in /tmp/ folder how can I setup that all new files in /tmp/ folder will get chmod -x automaticaly because my script is failing when trying to run scripts in ...
5
votes
4answers
483 views

How do I make an entire directory executable?

I have an entire folder dedicated to python scripts. I'm tired of doing chmod on every new python script that I write. Is there a way to make every file inside my folder executable if it is a python ...
0
votes
0answers
39 views

The solution for permission denied of double OS

I first installed windows(Four disks: C, D, E, F) several years ago when I was naive. Later, I met the ubuntu and allocated some space to her. Now, I fall in love with open source and ubuntu so I use ...
3
votes
2answers
474 views

Root directory '/' locked after using chmod

I accidentally used sudo chmod 3 / which gives a execute and write permission to the root directory, while deleting the read permission. How can I recover from this, I cannot even use sudo now.
2
votes
0answers
30 views

Revert system fie premissions

I have mistakely changed the permission of the entire etc directory to 777. Now I'm getting frequent errors like ... is world writable! Is there a way to revert back to the default permission? ...
0
votes
0answers
47 views

how to rollback from giving permission to all files

I am new to ubuntu. while working on terminal unfortunately i typed the comment sudo chmod -R 777 / from root so it prints lot of lines with not permitted strings at end..but after some seconds the ...
0
votes
1answer
36 views

Undo wordpress chmod?

firstly im new to ubuntu and I did something im not sure of. I was trying to chmod wordpress folder because it was having problem not having permission to do anything. (Already installed xampp) ...
0
votes
2answers
81 views

Hi i am unable to change the permission of a file using chmod , plz advice

chmod -x filename doesn't work. when I execute command like chmod -r filename chmod -w filename chmod -x filename they run without any error. But the permission of the files doesn't get affected. ...
1
vote
2answers
842 views

Linux dropfolder where users can't delete files

I am working on a file server project for school and I am using samba to share the folders. I have been playing around with the folder permissions but I can't seem to figure out how to make a drop ...
0
votes
1answer
154 views

Change the permissions of files and directories excluding one directory

I'm trying to change the permissions of files and directories, excluding one directory though. What I've got is: find ! -name test -exec chmod -R 700 {} \; test being the directory that I need ...
-1
votes
1answer
51 views

unable to change permissions

Using Ubuntu 14.04 LTS, I want a text file not to be executed when opened in nautilus or dash. ls-l shows this line for the regarding file -rwxrwxrwx 1 root root 1310149 Sep 20 10:28 then i run ...
0
votes
1answer
82 views

What is the exact syntax for chmod?

I want to give the file OpenRocket-13.11.1.jar executable permission by using chmod. So what has gone wrong with this command: /HomeFolder/Downloads chmod +x OpenRocket-13.11.1.jar It says no ...
0
votes
0answers
204 views

Trouble installing Netbeans

I am trying to install Netbeans 8.0.1 on my Ubuntu 14.04 OS and I am following the install instructions via ...
-1
votes
1answer
173 views

sudo chmod 755 /dev/sda7 -R simply returns a new command prompt line?

I am logged into my computer through the guest account, because i am unable to login through the master/admin. account via user interface. (Simply a blank, blue screen appears upon login.) So i'm ...
0
votes
2answers
39 views

What happen if the executable permission of chmod is revoked

What to do if I change the executable permission of /bin/chmod? How to recover from that scenario?
0
votes
0answers
98 views

install sites using virtualmin but ftp(proftp server,filezilla client) upload failed

I used virtualmin to creat multi sitex on a vps(ubuntu 14 lts). everything is OK except when I try to upload and try to update a file(former files on the vps are scp from another vps) it always ...
0
votes
1answer
184 views

Understanding chmod Symbolic Notation and use of Octal

Many new users make mistakes (or have misunderstanding) while applying chmod on files or directories, because of a lack of informative knowledge of: Symbolic notation for ugo and rwx Use of octal ...
0
votes
1answer
62 views

Cannot Write to www and update wordpress at same time

I have LAMP installed on my Ubuntu 14.04 server and am using apache as a web server. I am going to be using the web server for Wordpress primarily. The problem I am running into is that I cannot ...
0
votes
0answers
81 views

chmod+x is not working at ubuntu on AWS EC2

I am trying to run a hadoop word count code in python at the Amazon EC2 environment. I am using Ubuntu 14.04. I run the following command chmod a+x test.sh and expect to run it test.sh as a command. ...
1
vote
0answers
326 views

Cannot chown or chmod using sudo anymore

I was trying to make an adjustment to the /etc/sudoers file, and I accidentally corrupted it. I restored it via the grub and using the Ubuntu 14.04 default. But now it seems I can change ownership ...
0
votes
2answers
140 views

Can I write a file with only read permission?

I just set a read only permission to a file using chmod 400 filename.txt after that I open the file via vi editor and edit and try to save using :w then is says E45: 'readonly' option is set (add ! to ...
0
votes
2answers
1k views

chmod is not working

I am unable to change the privileges of the directory or file which is not in desktop using chmod. while it is working properly for the directory and folders of desktop. am using the command chmod ...
1
vote
1answer
923 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. ...