Tagged Questions
3
votes
1answer
142 views
How to create a folder which will change its contents’ ownership to what the folder has?
In a GNU/Linux OS there is no way to change ownership of a file until you are root. But what if I want to hide my system’s username e.g. before sending a file to someone, because some things like tar ...
0
votes
4answers
2k views
How to permanently change the file/directory permission [closed]
How do I change the permission of file/directories such that I am able to create, edit, delete files/directories anywhere in my system? Currently I am using Ubuntu 12.04.
I tried
sudo chmod 777 -r ...
0
votes
2answers
573 views
Giving PHP permission to write to files and folders
UPDATED FOR FURTHER CLARITY:
According to http://expressionengine.com/user_guide/installation/installation.html, it says:
For most Unix hosts the following is typical, but you may check with your ...
4
votes
3answers
1k views
Write access without read access
Is it possible for a user to have a write access to a file and not be able to read it? How is it possible?
I tried the following commands:
debianbox@debian:~/posix/io$ touch filetest
...
11
votes
3answers
1k views
I accidentally chmod -R +x on a directory. How do I restore the correct permissions?
Well, to be specific, it was chmod -R 755. Now every file is executable, which I don't want.
I am thinking that I should look at the first two bytes of each file for the #!, but will this cover ...