Hot answers tagged permissions
This problem was related to ISPconfig turning on immutable flags for the web hosting folders. I found the answer in the following thread: http://www.howtoforge.com/forums/showthread.php?t=61192
An old trick on the Linux end might work here: mkdir StayingAlive sudo touch StayingAlive/.CantTouchThis sudo chattr +i StayingAlive/.CantTouchThis The key here is the immutable attribute on .CantTouchThis (you'll probably want a more serious name, like .rootfile). This attribute prevents the file from being deleted (or even modified)--even root cannot ...
The instructions you've linked are exactly how it would be done via a group policy. Edit the group policy on your domain which applies to the client computers (i.e. that which applies to the OU in which the computer objects are in the directory), and set the value of "Devices: Allowed to format and eject removable media" to "Administrators and Interactive ...
UserDir is disabled by default, if you want to access it via ~ec2-user/Twig you need to uncomment UserDir public_html and place all files that you want to be accessible to public_html folder inside of your $HOME, don't forget to restart apache after uncommenting out UserDir, also you might need to check SELinux as well.
You should configure udev to automatically set permissions. See http://unix.stackexchange.com/questions/23955/permanently-changing-the-ownership-or-group-of-lvm-volume (reported here) run udevadm info --query=all --name /dev/dm-1 to get volume group name (E: DM_VG_NAME=... line) and logical volume name (E: DM_LV_NAME=... line) of the partition (you may ...
Normally you would run touch as the user without sudo, I guess... Assuming that you made a typo and your third line actually reads Lets say its user1. I want user1 to create a file in a directory where he does not have ownership. Then you are out of luck, that is not possible. However, there are 2 ways of still achieving what you want: Use ACLs to ...
Only top voted, non community-wiki answers of a minimum length are eligible