1
vote
1answer
26 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 ...
1
vote
1answer
32 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
1answer
89 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 ...
1
vote
4answers
370 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
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.
3
votes
1answer
189 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 ...
4
votes
1answer
300 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 ...
9
votes
1answer
9k views

How to get chmod (octal) permissions of the folder in the terminal?

I can look in properties of this folder but I want to get properties fast and in digits (octal, e.g. 755, etc.) What am I to type in terminal to know the chmod of the file or folder I want?
1
vote
1answer
1k views

Inheritable chmod permission from parent directory

I have a directory named cache in /var/www, where I need to provide permission in following way: sudo chmod -R 777 cache but that's not enough because PHP script automatically creates ...
4
votes
2answers
28k views

How can I change permissions of a folder, including its enclosed files and subdirectories?

I need to recursively change the permissions of all folders, sub-folders and files from within ~/.local/share/Trash/expunged Does anyone have a clue or idea on how to do this? I have tried ...
1
vote
2answers
428 views

How can I change a set of files Permsissions from Root to user

I copied A set of BlueJ files from /usr/share/doc/BlueJ to a ~/BlueJ directory however the files in folders are set to root permission and read only I need to be able to read/write them. So in BlueJ ...
0
votes
2answers
2k views

Change folder permission

What permission should i apply to a folder so that everyone can see the hierarchy and all the files inside but they should not be able to read and write them. The folder can have multiple other ...