D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: chuckv on March 12, 2008, 02:52:21 PM
-
hi all,
i think this has been braught up before, either here or another forum.. just cant find it anymore
anyways, to revisit this subject, i have the following issue
as per normal use, i use the 323 to store files, this includes application installation files. anyways, when i double click on an executable to start an install where the file is located on the 323, i am unable to do so. permission denied (i think is the error)
was there a fix / workaround for this?
cheers
-
hmm.. no response
anyways, my work around is the chmod +777 to all files via telnet. however, it seems almost every month i have to do this. no reason as to why i have to either ... anomoly?
-
If you are going command line then it would be easier and more secure to just use chmod ugo=x, that way your only giving execute privileges to everyone.
-
If you are going command line then it would be easier and more secure to just use chmod ugo=x, that way your only giving execute privileges to everyone.
thanks for a workaround .. i will have to do research on that ugo=x thing as i am not a CLI / linux person
any reasons as to why vista is having execute permissions though? i thought chmod 777 allows execute permisions within the linux of device itself, therefor any client outside of it (xp / vista) should not require execute permissions? mainly read permissions ... (my permission's understanding is however lacking these days)
-
The easy way of doing things is to look at it like this, there are three groups of people user, the users group, and others. There are 3 permissions levels read, write, and execute
the command chmod ugo+x means give the user, the users group, and everyone else execute privileges.
This could also be written chmod a+x for all may execute.
chmod 777 is the same as ugo=rwx it allows everyone to do everything.
to figure out the number code remember that the first digit represents the user, the next digit is their group, and the last digit is others. So you add 4 to each digit if they can read, 2 to each digit that can write, and 1 to each digit that can execute.
Additionally the = in the last post of mine was a typo, it should have been a +, I wasn't thinking when I wrote it. The command as I gave it would make it so everyone can only execute and not read or write. Using a + adds the permissions if they did not already exist and the - operator removes the permissions if they already existed.
WIKIS!!!!
http://en.wikipedia.org/wiki/Chmod
http://en.wikipedia.org/wiki/File_system_permissions#Octal_notation