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
2answers
581 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
129 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
18 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
112 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
162 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
565 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
39 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
64 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
150 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
7k 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
288 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
38 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
79 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
108 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
524 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
11k 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
66 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
150 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
503 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 ...
0
votes
1answer
1k views

changing chmod 755 to 775 on a directory will result in permission denied when connecting with sftp

When I change chmod in my /home/frans from 755 to 775 I get the following error when connecting with ftp fatal: bad ownership or modes for chroot directory "/home/frans" I'm a linux newbie and i'm ...
0
votes
1answer
63 views

Is chmod +x ./expand_lapw correct ?

I'm new user of Ubuntu. I have used redhat, however I wrote : chmod +x ./expand_lapw But there is nothing happen. Please let me know ?
2
votes
2answers
1k views

User www-data in custom group does not give other user write access

This is somewhat confusing for me so i hope someone can quickly explain the run down once and forall. I have a User, "John", and group created named "John". I make john a "Primary group members" of ...
2
votes
1answer
481 views

What are the default permissions for /root?

Not realizing what directory I was in, I did a "chmod 777 ." in /root. Now I would like to set the permissions for /root back to the default. Can someone please tell me the correct default permissions ...
0
votes
1answer
80 views

delete the read permission from a file

So, let's say I have a file named FILE. Whenever someone wants to edit or read it (for example cat FILE in terminal), it should ask for root password. How to do this? I suppose there's a chmod ...
0
votes
1answer
121 views

Unable to change permisions on windows partition disk

I need to change permissions of files in my /media/MAVEN/Projects MAVEN is my windows disk partition. The permissions on the Projects folder are: :/media/MAVEN/Projects$ ls -la \total 340 drwxrwxrwx ...
1
vote
0answers
297 views

Changing permission for 'Public' folder always failed

I have 2 PC using ubuntu(I assume PC 1 and PC 2), and I always share a file or folder for each other. I know that I have to right click first, choose Sharing Options and check Share this folder. ...
0
votes
2answers
153 views

Problem oracle installing from windows directory in ubuntu 13.04

I have two OS windows 7 and ubuntu. Oracle installer for linux stored in /media/sonnet/Main/oracle/disk1/ and /media/sonnet/Main/oracle/disk2/ here "Main" is an windows(ntfs) drive. when ...
0
votes
1answer
328 views

Cannot undo sudo chmod 655 /

I've accidentally run 'sudo chmod 655 /', and now I cannot undo this operation again because I cannot access sudo anymore. I'd actually wanted the permission to be set to 755. Is there any way I can ...
3
votes
2answers
1k views

How to make all new files in a directory executable

I want a way by which whenever I create a new file in a particular directory, I want it to be executable by default. Is this even possible, if so how?
0
votes
2answers
1k views

How to give a program access to make file in root directory

i am running a program which uses log4j.The log4j uses rolling file appender.However its not able to create the file. I guess its because the creation of file need root access. The program is ...
0
votes
4answers
5k 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 ...
-2
votes
2answers
118 views

Is there a vi file editor in ubuntu like in unix?

I was a unix and redhat user, just started to use ubuntu. Is there a vi command to edit files? Is there a change mode command to change a file status to executable?
0
votes
2answers
453 views

Please settle a Sticky (bit) argument

I got into a good-natured spat with a fellow worker about the nature of the sticky bit. My contention, working from the chmod man page was the the sticky bit, if set, allows only the owner to delete ...
0
votes
1answer
93 views

User permissions inheritence

If an owner can read and write and the group can read and execute, can the owner execute the file? Do file permissions stack?
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 ...
4
votes
1answer
10k views

File permissions won't change

sorry fresh user. I installed about 9 days ago and had issues with Unity disappearing which took 5 days of headaches to fix. It never did fix, I reinstalled. I set up Plex (media server) and while ...
1
vote
1answer
1k views

How to fix sudo after “chmod -R 777 /var”?

I executed chmod 777 /var and now Ubuntu won't start, can anyone tell me what I did wrong? And if there is a way of going back?
0
votes
2answers
4k 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 ...
1
vote
1answer
148 views

How can we execute a terminal-command for all the subfolders, at once

I need to change ownership of my Downloads folder from root to my username. Using 'chown' and '*' wildcard I could get around with each folder and it's files but that's tedious. Anything I could do ...
2
votes
1answer
133 views

Only 8 days into Ubuntu, and I did some damage

In order to eliminate some of the permissions obstacles I keep finding, I decided to make it easier on myself. I did $ sudo chmod 755 -R /usr If I knew 10 hours ago what I've learned in researching ...
3
votes
1answer
10k views

How can i check the folder permissions in ubuntu server 12.04?

Right now, I know that I can change persmissions for example with : sudo chmod 550 directory I wonder how I can check the actual folder permission.
2
votes
1answer
54 views

Permissions issue [duplicate]

Which would be the right chmod value for a directory where everyone can write on it, but only the owner of the content can delete it? I thought chmod 1755 path_to_directory would be the right one, ...
0
votes
1answer
1k views

how can I recursively run chmod -x?

So I have my music collection living on my 12.04.2 server. This Collection has traveled with me over the years from a Windows machine to a MacBook Pro, and then finally to where it is today on the ...
0
votes
3answers
5k views

CHMOD folder permissions to access by http

I have this ubuntu web server and I want to give permissions to access only by http but I don't want the folder to be visible to the network users. I have a subfolder were users upload some files and ...
3
votes
4answers
262 views

What is “chmod” and its practical aspects?

I am new to Ubuntu and I used to do everything on Windows. As much as I know Windows has "read only" file option for the user. However, in my opinion, Ubuntu allow the user to manipulate file ...
0
votes
1answer
382 views

How to recursively set permissions for files only?

I want to remove executable permission for all files in my home folder, recursively, how to do that using command line?
0
votes
1answer
106 views

How do I change the permissions of a system file on every login?

I need to make a system file writable without using sudo so I typed: sudo chmod 646 /path/to/file It worked… …until I rebooted, because the file is recreated on every boot. How do I change the ...
0
votes
1answer
20 views

Possible performace bug

I have noticed a bug in 13.04 when I minimize something I press the minimize button it doesn’t want to minimize or will start to hang and won't go anywhere until I press ctrlaltdel In three different ...
0
votes
1answer
96 views

Directory appearing as file?

So we copied some photos in a directory across to a NTFS partition last night, and they were viewable from ubuntu. Today the directory is not accessible from Windows, and when we booted back into ...
0
votes
1answer
544 views

Sharing folder with guest

I am trying to allow access to the guest account to a folder at /share I have chmod 775'd and even 777'd the folder to no avail. I know the guest account is locked down so it cant access /home, ...