I'm using Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-virtual x86_64) and changed the permissions of the "etc" directory to 444 (sudo chmod 444 etc).
Hi Everyone,
I have a weird issue going on with the tmp folder.
Everytime I reboot the machine, its permissions change into 755 and the owner becomes memo:root. 'memo' is my user account.
I checked init.d and profile.d to see if any of the init scripts are causing this. Some of those do check for permissions but I could not find any script that attempts to change them.
How can I change the Owner/group of a folder in SCO?
I did:
ls -l
and got the following:
...
drwxr-xr-x 9 root root 512 Jul 2 10:09 opt
...
I have tried:
chown /opt
But that hasn't worked.
The user I am wanting to use is: test
I have asked another question (different thread) about how to change the folder permissions, but realized I still won't be able to create folders in the /opt fol
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 the root and now can't really do much at all but log in as another user.
I need to mainly change the ssh permissions, but obviously can't because it won't let me log in as the root user.
I'm trying to give a particular user superuser privileges, specifically the global write permissions that root hashe user in question must have these permissions without using sudo. It's a user that runs a service that is trying to write a file to a directory that it doesn't have write permissions on.
I am trying to change the file permissions for the entire directory. Presently all the files in the dir have the following permission,
-rw-------
And I wish to change it to,
-rw-r--r--
I know I need to use chmod but since I need to change it for the entire dir, is there a command that will change the permissions for the entire dir in a single go?
How can I create (if the folder is new) or change (if the folder was already existent) permissions for a folder?
In particular, I want to create a subdirectory in /etc/bind/ where I can put the named_dump.db file, so I've to create the new directory with write permission for bind user and group.
First of all, is it right?
And if I want to change /etc/bind/ permissions and save there named_dump.d
In the fedora docs they refer to owner and group owner as if both are owners of the file. The leads me to think that any member of a group which tries to change permissions of a file owned by that group will be allowed.
I want to make my ubuntu 12.04 home server a little more secure. Actually I would like to have paranoid security. For starters I would like to change the default permissions under the / folder.