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
3answers
74 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
71 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
373 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
7k 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
62 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
448 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
2k views

Can't change file permissions!

I just can't change any file permissions even when I am logged in as root. I tried changing the permissions from both terminal and i got no errors but the permissions remain the same. And when i try ...
0
votes
1answer
807 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
54 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
378 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
71 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
114 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
255 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
0answers
262 views

Prevent user from deleting files but allow him to add new ones

I've got the following scenario: A PC with lubuntu 13.04 with one user. This user isn't in the sudo group and doesn't have a password. I've set a root password and changed the permissions of chmod ...
0
votes
2answers
144 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
276 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 ...
0
votes
0answers
119 views

Installing 3rd party driver. Beginner's guide

So there is an app that allows me to use my Android tablet as a pen tablet. I have the app installed in my phone however I have to install the drivers for the desktop. The instructions are here: ...
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
852 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
4k 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
107 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
374 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
91 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 ...
2
votes
1answer
8k 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
927 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
134 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
132 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
8k 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
53 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
545 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
0answers
135 views

Ubuntu alien error during .rpm to .deb conversion

I am new to Linux and I need to convert a few .rpm files to .deb for installation.I keep getting this error during the conversion: chmod: invalid option -- '/' Try 'chmod --help' for more ...
0
votes
3answers
4k 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
228 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
317 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
97 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
91 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
492 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, ...
2
votes
1answer
67k views

how to make chmod 777 all /var/www subfolders

im running webserver and ftp server, where my /var/www is binded on my /home/user/www i made both directory at chmod 777 (which is fine since its for testing only) i can upload files inside ...
1
vote
0answers
158 views

how to recover file and folder permission?

I made this mistake at the /usr directory sudo chmod -R 777 bin The next time i used sudo, it gives me this prompt: sudo must be setuid root What I did is copy and replaced this sudo thinking it ...
0
votes
1answer
534 views

Changing directory permissions [duplicate]

Hey I need to change the permissions of the /var/www directory But it won't let me. I've tried the chmod command, I've also tried it with sudo and still nothing. Please HELP!! ...
3
votes
3answers
1k views

How do I import a disk image into libvirt?

Can someone post the proper syntax? I have tried using the chmod command , but I am doing something incorrectly. I am just trying to move a centos iso file to /images to set up a test vm
0
votes
1answer
479 views

Accidentally ran “sudo chmod a+rx ~”

I accidentally ran sudo chmod a+rx ~ on the system root rather than sudo chmod a+rx myfolder... I ran sudo chmod -R a+rX myfolder/public_html then accidentally ran sudo chmod a+rx ~ instead of ...
0
votes
1answer
112 views

Can I set a specific group|umask to be the default one for all actions within a certain path?

I would like to override the default umask and owner:group settings within certain directories only, without requiring root privileges, as that kind of defeats the purpose. For example, when I touch ...
1
vote
1answer
893 views

Permanent chmod 777

How can I set chmod 777 for my lamp server? I am the owner of the www folder (sudo chown -R martin www). I have changed the permissions of all files (sudo chmod 777 -R www). I don't know why, but my ...
1
vote
1answer
558 views

problems with /etc/sudoers

I am running ubuntu 12.04 on i3 laptop. By mistake I changed the permissions and changed the user(from root) of /etc folder and I am getting a error when trying to use sudo like: sudo: /etc/sudoers ...