File permission execute only
How can I set file to be executable only to other users but not readable/writable, the reason for this I’m executing something with my username but I don’t want to give out the password. I tried :
How can I set file to be executable only to other users but not readable/writable, the reason for this I’m executing something with my username but I don’t want to give out the password. I tried :
I’m having some doubts about how to install and allow Linux to correctly read/write to a NTFS formatted harddrive used as backup of various machines (windows included, that’s how I need NTFS).
I’m logged in remotely over SSH with X forwarding to a machine running Ubuntu 10.04 (lucid). Most X11 applications (e.g. xterm, gnome-terminal) work fine. But Evince does not start. It seems unable to read ~/.Xauthority, even though the file exists, and is evidently readable (it has the right permissions and other applications read it just fine).
I think I rather understand how file permissions work in Linux. However, I don’t really understand why they are split into three levels and not into two.
I have a card reader attached on /dev/sdb.
I’m using Debian 7 and have created a new user (website) with an htdocs directory like this:
If the current user only has execute (–x) permissions on a file, under which user does the interpreter (specified by #!/path/to/interpreter at the beginning of the file) run?
I am trying to understand file/dir permissions in Linux.
A user can list the files in a directory using
I have created a really really short life temporary directory that I wanted to share between some users for a few hours : /some/path/tmp
Let’s say you open a file on which you have write permission.
Meanwhile you change permissions and remove write permission while you still have the file open in some editor.