Hello to all Unix gurus..
I am writing a generic script which takes the options of unix command as input and concatenate all the pieces and forms a complete executable command.
I am getting an error with the following command as I am resetting my own permission on the root directory. When the... (4 Replies)
I've always been fascinated by permissions and I have a question. Since the shell isn't a "virtual environment" (like say a web forum, where permissions can be enforced with absolute confidence), what's actually keeping an unauthorized user from viewing a CHMODed file? The read/write routines? Why... (1 Reply)
Hello all,
Trying to do the following.
1. Run Windows installer from a unix server.
2. Let user run the shortcut but not allow access to the folder where the exe itself is running.
What I have done so far:
1. Copied the application to the server and placed in a folder called "data".... (2 Replies)
Hi,
I am newbie in unix.
I have folder/file own by groupA, how to make that folder/file can write/read for groupB and read only for groupC, and others groups cannot read/write.
Can you help me?
Thank you. (4 Replies)
I am trying to change permission for all subdirectories and files inside folder1 so this is what i came with after many seraches on the internet. man find and man chmod mirc and few articles.
find .public_html/folder1 -print0 | xargs -0 chmod 777
what's wrong with this command?
it is FTP... (33 Replies)
I have two files,like follows:
$ls -l foo bar
-rw------- bar
-rw-rw-rw- foo
Then I execute follow code:
chmod("foo",(statbuf.st_mode & ~S_IXGRP) | S_ISGID)
chmod("bar",S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
Then I view the result
$ls -l foo bar
-rw-r--r-- bar... (1 Reply)
hey guys, i'm in a unix course.. and while this is a homework question - i did put alittle effort into it. just wanted to ask before trial and error drives me nuts.
question 13 has us saving the last 30 characters of a file into another file
and question 14 has us saving the list of all the... (1 Reply)