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
2k 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
6k 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
276 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
407 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
110 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
101 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
571 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, ...
5
votes
1answer
101k 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
175 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
676 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
2k 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
597 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
137 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
1k 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
726 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 ...
1
vote
2answers
253 views

Is possible to make virtual host in a NTFS partition?

I am using Ubuntu and Windows. When I use Windows, i can't access my file in var/www of my Linux partition. So I try to make virtual host and DirectoryRoot in my NTFS partition. I will combine WAMP ...
0
votes
1answer
2k views

Unable to run compiled files - bash: ./a.out: Permission denied. (I've tried chmod)

First of all, there are many questions like this on AU. Still, none of them solved my problem. I've compiled my C source using cc test.c, and it did generate a.out file. However when I run it I get ...
0
votes
1answer
18k 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 ...
2
votes
1answer
503 views

Should I install non-repository software as root or as my user?

What is the right way of installing programs that are not available in repositories: should my user own the binaries and keep them in ~/bin/, or should root own the binaries and keep them in, say, ...
0
votes
1answer
808 views

Unable to make files executable (on ntfs filesystem mounted as rw)

I'm baffled. I've looked around for awhile on this but nobody seems to have quite the issue I do. I have an ntfs partition for all of my stuff, and I want to run some programs off of it. However, I ...
1
vote
2answers
305 views

Peculiar permissions/group trouble [closed]

I've tried creating a separate user account for rtorrent and sickbeard (a torrent downloader) so everything isn't running as root but I've bitten off more than I can chew. I've chmodded 2770 (setgid, ...
1
vote
0answers
32 views

alternative to chmod 777 in LAMP [duplicate]

Typically after installing LAMP I like to install phpmyadmin and be allowed to drop folders in var/www/. I run sudo chmod 777 only because the LAMP is on a LAN. I was curious to know what is the ...
1
vote
2answers
206 views

Accidentally ran command, now don't know what to do

Accidentally ran command sudo chmod -R o+x /home on my Ubuntu 12.10. Now what me to do? is that dangerous? I have no backup of partition, so I think this command is not reversible. SO me to ...
4
votes
3answers
2k views

Is “chmod -R o+x /home” dangerous? [duplicate]

I'm very new to Ubuntu. During work on my home pc, I accidentally made the following command: sudo chmod -R o+x /home I want to know if it's dangerous to open access for other users and, if so, how ...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
1
vote
1answer
408 views

Not able to change permission of a file to add +x [duplicate]

I am not able to understand what is the issue here ? vks@vksTP:~/dropbox/shells$ ll sssh.sh -rw-rw-rw- 1 root root 1218 Mar 17 17:58 sssh.sh vks@vksTP:~/dropbox/shells$ sudo chmod +x sssh.sh ...
1
vote
1answer
5k views

Transmission daemon: permission denied even if debian-transmission has root group

I've got something really strange. Transmission-daemon keeps telling me "Permission denied /home/transmission/downloads/.." (.. = name of torrent folder and files) I created this folder ...
0
votes
1answer
63 views

Ubuntu woes on permissions [duplicate]

I ran sudo chmod -R myusername:myusername on I thought my /workspaces directory but it appears it did the command ran on the root directory, resulting in errors such as: Could not update ICEauthority ...
6
votes
2answers
2k views

How can I recover from chmod -R a-wrx / command?

Today I ran sudo chmod -R a-wrx /. Now nothing is working. Can anyone help me recover my system?
5
votes
1answer
669 views

How to change default file/folder permission of specific user?

How can I make any folders or files created by a certain user always be public (accessible by anyone) in Ubuntu?
3
votes
0answers
42 views

chmod: permissions of a directory don't change [duplicate]

I have some issue with chmod: mis@hell:/var/www/blah$ sudo chmod g+w .git -v mode of `.git' changed from 0755 (rwxr-xr-x) to 0775 (rwxrwxr-x) mis@hell:/var/www/blah$ ls -la | grep git$ ...
0
votes
1answer
774 views

Can't log in although password is correct

Im fairly new to ubuntu so bear with me on this. I was doing an assignment for my CSCI 323 class that required Manually adding a new user and my problem came about after I followed these instructions: ...
4
votes
2answers
5k views

Why doesn't chmod work on a file under /media?

I want to execute a script file from terminal but it shows error root@silambarasan-PC:/media/D-DEVELOPME/androidSdk/adt-bundle-linux-x86/sdk/tools# ./android -bash: ./android: Permission denied` so ...
0
votes
2answers
802 views

sudo chmod -R 755 * accidentaly run in /, what are the options?

I have many programs installed, I want to keep my history, and so on and so on.. What can I do to save the situation? Thank you.
1
vote
1answer
257 views

Nautilus plugin to chmod

Some time ago (around Ubuntu 8.04) there was a plugin to Nautilus to change permissions tab in file properties window. It was showing permissions as checkboxes for R/W/X for user/group/others. I can't ...
4
votes
1answer
4k views

local wordpress installation, plugin installation and file permissions

I have a local wordpress installation and got everything working, until I tried to install a new plugin. Trying to activate the plugin, wordpress asked me for FTP connection information, which I ...
13
votes
3answers
13k views

Copy files without losing file/folder permissions

How can I copy files/folders from an ubuntu computer on a ext4 filesystem to another ubuntu computer which also is on an ext4 filesystem, using a usb stick which uses a vfat filesystem without losing ...
2
votes
1answer
199 views

Locked out of drive on Ubuntu Server

I was trying to delete some torrents that I had downloaded with transmission-daemon and was unable to from my samba share on windows due to transmission's default file creation permissions. I ...
2
votes
2answers
442 views

Can't mount USB flash drives or my CD/DVD drives

How can I fix the permissions to get rid of the following error and mount my USB and internal CD/DVD drive: Adding read ACL for uid 1000 to `/media/bret' failed: Operation not supported These ...
0
votes
2answers
2k views

how can I change user permission settings for an application

I am trying to prevent the guest user from accessing software-center (I know it can't install anything, but I don't even want it to browse) The file is owned by root and in group root. I run: sudo ...
6
votes
1answer
205 views

Chmodded 000 the home folder,now unable to log in

I accidentally issued the following command sudo chmod 000 /home/username/. And now I'm unable to log in. Also when I'm trying from the bash shell, my home folder is appearing as ...
3
votes
1answer
201 views

Directory permission

I am running 12.04 x64 server on ext4 disk. There are two user groups 'A' and 'B'. For a specific directory, I would like to give its all permissions to user group 'A'. Also I would like to give only ...
0
votes
1answer
419 views

Writable permission is not writable

I am running Ubuntu 12.04 x64 server on ext4 partition. I set a directory's permission to '766' as below. sudo chmod 766 /archive drwxrw-rw- 3 root root 4096 Sep 27 10:50 archive/ But, when I ...
4
votes
1answer
314 views

Assigning different directory permission for each different groups

I am running Ubuntu 12.04 64bit server on ext4. There are four user groups - marketing, sales, admin and etc. I need to assign different permissions to /archive as follows: rw for the marketing ...
0
votes
0answers
6k views

chmod - file permission on writable [closed]

I am running Ubuntu 12.04 x64 server on ext4 partition. I set a directory's permission to '766' as below. sudo chmod 766 /archive drwxrw-rw- 3 root root 4096 Sep 27 10:50 archive/ But, when I ...
1
vote
0answers
270 views

setting permission for executable file output of gcc [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS ( or FAT32 ) partition? Can't make a file executable i m pretty new to linux and gcc. i have a file1.s file which i tried to ...
1
vote
1answer
863 views

Permission denied when other users create files

I have messed up my home directory. I'm using dash as my shell and by myself I can create files just fine, but others can't. I don't think that made sense as it's kind of hard to explain, so hopefully ...
2
votes
2answers
4k views

chmod u+s in /var/www

i have a problem at granting the right rights for the right user... i want to run pootle with apache, so i downloaded pootle. Then i copied it to /var/www, installed it and gave the www-data user ...
2
votes
2answers
9k views

How to repair “sudo: /etc/sudoers is mode 0640, should be 0440?”

Why might sudo chmod -R a+w * cause sudo: /etc/sudoers is mode 0640, should be 0440 sudo: no valid sudoers sources found, quitting and how might it be made to work?