chmod (short for change mode) is a Linux / Unix command used to change permissions of files and directories.

learn more… | top users | synonyms

9
votes
4answers
3k views

Chmod files to recursively give group same permissions as user

Is there a unix command to give the group the same permissions as the user currently has on a file-by-file basis recursively for a directory tree? I.e. if a file is user writeable it should become ...
16
votes
4answers
21k views

Find all files on server with 777 permissions

I'm looking for a Linux command to go through all the directories on my server and find all files with 777 permission. The output would be a list of all those files with full path.
0
votes
1answer
99 views

changed directory permissions of

So, I was changing some file permissions using gFTP, and somehow I managed to set the permissions of .. (idk how, last time I use gFTP) The problem is I was working in the highest directory I could ...
6
votes
4answers
41k views

Can't change permission/ownership/group of external hard drive on Ubuntu

I have an external hard drive connected to my Linux box. I wanted to setup a web server to access files on it, but the permission on all files and directories on the drive are rwx for the owner which ...
2
votes
2answers
609 views

linux permissions on folders

AFAIK when i have r-- it means i can read the directory but not CD into it (according to the book). IIRC i can drop files in when i have -w- access. So why cant i copy files (i understand why i cant ...
3
votes
2answers
221 views

chmod problems with setting others to read

I have a directory tree with the permission for others as none. I need to change it to read. I execute this command: chmod -R o+r My\ Dir However, it doesn't seem to work for directories, as ...
1
vote
4answers
1k views

How do I find and modify permissions on one filetype in an Ubuntu terminal? [duplicate]

Possible Duplicate: How to chmod 755 all directories but no file (recursively) ? I've just upgraded from Ubuntu 8.04 to 9.04, added an extra hdd for /home and used an iPod (FAT32, sadly) to ...
9
votes
0answers
9k views

what is the @ after the permissions for in ls -l on a mac? [duplicate]

Possible Duplicate: ls -la symbolics… what does that last symbol mean? Consider the following output from ls -l on OS X 10.5.8 drwxr-xr-x 3 user staff 102 Aug 26 20:21 ...