Questions about: permissions

How do I recursively change files with 777 permissions to 755 in /home/user/demo directory? I have a number of files in this directory and I need to change permission from 0777 to only if that file has 777 permissions. Is there an easy way out to ach
I clean-installed Ubuntu 11. 10 today, and then installed VirtualBox. This required me to add myself to the vboxusers group, and since 11
I have tried to install a couple packages globally (gulp and yoeman), but I get errors when they are installing and in my C:\Users\Michael\AppData\Roaming\npm\node_modules directory, many of the package files are missing. Obviously, when I try to run
So you’ve maybe been in this situation before – you’re at a post facility, and you’re trying to move a file from one location to another on a server, and you’re prompted for a password. Or instead of moving the file, it copies when all you did was tr
When developing a page on a localhost, I sometimes get a "Permission denied" error which I can solve by running chmod -R 777 /var/www. However, people are telling me that this is a bad idea for security reasons. Why shouldn't /var/www have a chmod of
by user255675 Last Updated June 02, 2015 13:00 PM When running the command ls -ld /tmp, the output would be: drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp So I have two main questions: What is the letter t after the permissions? As far as I know /t
The difference is what permissions get set and which mode you use to set them. With chmod +x you set the executable bit for all - the owner, the owner group, and the other users. This is known as symbolic mode
By default the sudo group is not used in Ubuntu: the user created during installation belongs to admin group, not sudo; no guide or manual I ever read advices to use the sudo group; no one feels the need to use the sudo group, because the admin group
For WireShark there's a better way. The bit that normally needs root is the packet collection application and this can be configured to allow certain people to use it without sudo, gksu, etc. In a terminal (very important that you're in a terminal, n