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
1answer
18 views

Script for changing access rights of multiple files and directories?

I want to create a script that changes the access rights for all files and folders in a specific directory tree. All users should have read and write access for all files and directories. Does anyone ...
0
votes
2answers
34 views

Can not connect to Ubuntu 12.04 server using SSH

Yesterday I have posted question for creating FTP users and set access permission. Here is the URL. Create FTP users with limited access only to home directory Ubuntu 12.04 Based on Answer I have ...
1
vote
1answer
24 views

Access to different directories

I have recently moved to Ubuntu 12.04 and noticed that in some directories I can't even create a directory or file (e.g:/var/lib). I know about the command chmod, but is it appropriate to use it in ...
0
votes
2answers
22 views

How to make a script that will make another script in the same folder executable?

How to make a script that will make another script in the same folder executable? I don't want to worry about path since it will be in the same directory. So it should be something like(i'm trying to ...
0
votes
0answers
25 views

Problems with file permissions in ubuntu 14.0 [duplicate]

Good afternoon to all Here I have a problem with permissions, use ubuntu 14.0 configured with samba. The details are in the following example: There is a folder called "isolated" contains folders ...
0
votes
1answer
37 views

Problem with access to mounted drive

I can not make my newly mounted hdd work properly. First and foremost, I can not access it to read and write any file or folder even after changing the privileges to +775 and even +777 (though I can ...
0
votes
2answers
29 views

Directory with readable and unreadable files

I am root. I want to make a directory, SuperSensitiveDirectory, private so that only root can even read the files inside it and its sub-directories. There are passwords in these files, and they should ...
1
vote
1answer
52 views

Give permission to a specific group without owning it

I have created a group named newgroup. But I didn't add my user to this group. Now I want give the write permission to this group for a specific file named sample.txt. I can use chmod if I am the ...
12
votes
5answers
886 views

Difference between +x and ./<script> and sh ./<script>

Are there any actual differences between running a script with [sudo] sh ./<script>.run instead of [sudo] chmod +x ./<script>.run [sudo] ./<script>.run
1
vote
0answers
32 views

Is chmod out-of-place? [closed]

I try to chmod some files and I get the error "disk quota exceeded": It's true that I don't have that much space remaining in the filesystem where I use chmod, ...
1
vote
2answers
42 views

Chmod ubuntu desktop fail

I accidentally did chmod 667 on /home/user/Desktop/ and now it is behaving strangely. How can I reverse the damage I have done?
0
votes
1answer
217 views

sudo: unable to stat /etc/sudoers.d/README: No such file or directory

Whenever i use sudo command i get this message: sudo: unable to stat /etc/sudoers.d/README: No such file or directory i ran into this trouble when i was strugling with chmod using which i changed ...
0
votes
1answer
45 views

“cannot open file userpref.blend@ for writing: Permission denied” in blender

I'm using blender 2.69, installed via software centre, and when I save my user preference through File -> User Preferences and click on "Save User Settings" there is a message "cannot open file ...
1
vote
1answer
26 views

Joomla Files/Folders Permissions in Ubuntu

The recommended way of setting files and folders permissions in the joomla root directory is the following (from the help.ubuntu website) cd /var/www/joomla/ sudo find . -type f -exec chmod 644 {} \; ...
0
votes
0answers
157 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 ...
0
votes
0answers
32 views

chrome does not load

hey there i followed the instructions on this page to change permission of all files in a directory in /var ...
0
votes
2answers
81 views

automatically set sudo chmod 777

is there a way to automatially set sudo chmod 777 for all the files, folder and subfolders in a directory. The sudo chmod 777 should automatically be set when a folder or a file is created in the ...
1
vote
0answers
41 views

User has no permissions in sftp

I installed LAMP in my Digital Ocean droplet. I have successfully logged in to SFTP. However, when I try to do anything in my /var/www/html/ folder it says permission denied. It may be worth ...
0
votes
1answer
81 views

How can I set different permissions for files and folders separately?

I want to apply 644 permissions only for all files in current directory, and 755 permissions only for subdirectories in current directory with chmod
0
votes
1answer
32 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 ...
0
votes
0answers
18 views

Django chmod using wrong user:group

I have installed django and some other services to start up one front-end community forum. However i've managed to do it everythings run but i have problem with CHMOD permissions. My nginx server ...
0
votes
1answer
25 views

Write permissions not allowed on my USB key

I can read/write my USB key normally on Windows XP. On Ubuntu 12.04 I can only read it. I tried sudo to chmod with 777 my USB key but Ubuntu does not allow me that. Why this problem happens ? How ...
2
votes
1answer
68 views

Can't access home folder

While installing Matlab, I mistakenly typed sudo chmod +x ./java in the home folder. And I got i/o error that you are not allowed to access the home folder. Suddenly everything in my home folder ...
0
votes
0answers
9 views

How to automate CHMOD [duplicate]

How do I make the default value when upload a file via FTP for it to be 777. Like a have a ubuntu server, and one of the users has an application that created files in his folder, how do i make the ...
15
votes
2answers
3k views

Why don't I have a password for “su”? Problems with “sudo”

I have installed Ubuntu using the GUI, giving myself a password and everything. I do not intricately remember the process. However, what worries me is that I don't know the following password: $ su ...
0
votes
1answer
77 views

chmod directories and files in one command?

I have a directory "project" that contains a set of subdirectories and files. I want to give 777 permission to the directories and files from my 666 in the same directory with chmod command in my ...
0
votes
1answer
54 views

How to submit a feature request for chmod linux command

Note: I believe this question doesn't fit the SO guidelines for question types, but if you can, please move it to appropriate section of the SE network or please tell me where it would be appropriate ...
0
votes
0answers
132 views

How to get samba serve to follow chmod rules

I am in the process of setting up a samba file serve which I got to work pretty well the only issue that I am now stuck with is the permissions: The set up that I am trying to achieve is to allow one ...
2
votes
1answer
86 views

Default group permissions for /var folder

I accidentally ran sudo chmod -R g+rw /var instead of sudo chmod -R g+rw /var/www. This means that for every file, the group owner now has explicit read-write access. I have already seen an example ...
0
votes
1answer
31 views

Chmod crash version 13.10

I was watching a command line reference tutorial and testing out two commands, CHMOD and CHOWN. I ended up changing my root folder's permissions. What should I do? Version 13.10.
1
vote
1answer
107 views

How to let a user execute a script owned by root? Setuid doesn't seem to work anymore

I have some bash scripts that I use with the user 'root' to manage iptable rules. The problem is that I want these things at the same time: The script must be owned by root Permissions must be 700 ...
1
vote
2answers
333 views

Can't change permissions on extracted files Ubuntu 13.10

I'm trying to install a program from the *.x86_64 file but it seems I don't have the right permissions to do it. Even if I right-click and go in the "Permission" tab, when I try to change anything ...
1
vote
3answers
96 views

How do I unprotect a file which is owned by root?

12.04 LTS and I mistakenly protected a file named set using: chmod 700 /home/jatin/Desktop/set How do I unprotect it?
0
votes
0answers
17 views

Changed all files and folder permissions to 755 and can't log in [duplicate]

I accidentally ran the command sudo chmod -R 755 while trying to run LAMP. I was getting a 403 permission error so I tried to fix the permissions. I'm running ubuntu 13.10 and now I can't log in ...
0
votes
0answers
92 views

sudo not working due to incorrect permissions

I broke my ubuntu server by typing the command chmod -R 777. Im trying to get it back to normal. Problems: When I try to use sudo, I get the error: sudo: unable to open /etc/sudoers.d/README: ...
0
votes
1answer
100 views

Hard drive (hfsplus) will not allow me to chown or chmod

I tried chmod and chown, neither worked and I got a message like this, repeated for every file in the drive. chmod: changing permissions of ‘folder/filename.id’: Read-only file system failed to ...
0
votes
2answers
210 views

How do I set permissions on a network-shared folder?

I used system-config-samba to expose a folder on the network with no user authentication. But I got permission failures, so I used chmod 666 shared_folder. When I go to \\computername from a ...
1
vote
1answer
33 views

Getting issue with file permissions in Ubuntu 10.04

I've a development desktop having Ubuntu 10.04, Apache2 & PHP 5.3.2 installed. I've given 0777 permissions to my web application root folder and Apache2 is also running under current username. But ...
1
vote
1answer
51 views

In ubuntu matlab execution file cannot be run

I have stored my matlab installation in one of the partitions.But ubuntu doesn't recognize the matlab file as an executable file even after executing chmod +x command. Kindly help me to resolve the ...
0
votes
0answers
131 views

How can I get my ASIC miner to “initialise” on startup/login?

Based on the document from butterfly labs here: https://forums.butterflylabs.com/showwiki.php?title=Tutorials:ASIC+Mining+on+Ubuntu+and+other+Linux+distros I am using my ASIC miner successfully ...
0
votes
3answers
2k views

Permission drwxrwxr -x [duplicate]

I need some help about permission. I had a permission drwxrwxr-x but I try to change the permission with chmod 755 /folder/ and after that I receive permission drwxr-xr-x but I would like to change it ...
1
vote
1answer
192 views

Ubuntu corrupted log files

It seems that all my log folders located in /var/log are turning into files. For example, if I try to tail /var/log/apache2.log it will say "no such file or directory" I can see it in the file ...
0
votes
0answers
35 views

chmod a partition read-add files only

I am looking for a way to chmod an entire drive partition so that you are able to read and add files but not modify or delete them is there an easy way to do that? I have looked arround a bit but ...
0
votes
3answers
73 views

Having trouble with chmod

Before I would write "sudo chmod 777" and then the name of the file or folder but now it doesn't seem to change any permissions. I looked at multiple tutorials on how to use chmod and can't figure ...
0
votes
1answer
62 views

Why Kate can't edit my tex-file

I tried to edit a file by using Kate. But it said my file is read only (R/O). How can I change that? I tried sudo chmod a+rw kirjeet.tex & kate kirjeet.tex
1
vote
4answers
324 views

Why am I not able to use chmod 000 for a folder?

I can't chmod 000 for a folder in Ubuntu 13.10
1
vote
3answers
6k views

default permissions for /var/www

I was trying to open a file and write to it with PHP at /var/www folder but it wasn't working so I did sudo chmod 777 var/www now I want to set the permissions for var/www to the default. what are ...
0
votes
0answers
60 views

12.04.03 installation error

When trying to install 12.04 from USB, erasing a corrupt version of 10.04 (I had run chmod 777 -R / on it with root access), I get the following error: kernel panic - not syncing : attempted to kill ...
1
vote
1answer
126 views

restore permissions of ubuntu 10.04 after running “chmod 700 -R /” as root [closed]

I have run: chmod 700 -R / with root access on ubuntu 10.04. Is there any way for recovering from this situation other than reinstall? Then I again ran: chmod 777 -R / to fix it and now I have ...
3
votes
1answer
436 views

Add Group Permission to Run chmod Command on Group Owned Files

I've been searching for about an hour now and all google ever returns are hits for how to use chmod. I want to be able to grant users that are part of a unix group permission to run chmod on files ...