Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi everyone,
i'm pretty new and only have got my DNS-323 the other day.
So far i've installed lighttpd, php and mysql.
the web-server is working and now i'd like to add content in the web-root folder by copying them over from windows.
since i have not got any access on the folder and don't want to open it up to everyone (e.g. by chmod 777),
i thought about adding a user to the group in which the superuser root is.
by using the same username and pw as under windows, i thought (please correct me if i'm wrong) there should be access
granted for me in the normal network access.
Unfortunately, i don't know how to add a user to a group and especially not the root-group.
i've skimmed through a few tutorials and found the group being 0, but that group doesn't seem to exist.
i'd be very glad if any of you can help me solve my problem, either this oder an other way.
regards,
Mikro
Offline
alright, i've tried another way and just added a user with my windows login-credentials.
than gave permission o+rwx, which i understand gives all rights to other created users on the system.
so unlike a+rwx only users created on the system are able to access the folder, am i right?
Offline
You can add a user to the root group using the command "groupmems -a <username> -g root" but I wouldn't advise it. The better way would be to give the folder the ownership that you need to alter the files there.
For example doing a "chown root:mygroup /veryimportant" will set the folder "/veryimportant" to be owned by root and belong to the group "mygroup". If you do a "chmod 775 /veryimportant" only root and members of "mygroup" will be able to create files in that folder, others can only list the content and read it. Be aware that denying write permission on a folder does NOT deny write permission on a file inside that folder if a user has write permission set for that file. The user will only be restricted from creating new files inside the folder. If you want to deny the user write permission for the file then you need to restrict that as well.
If you are not sure how a command works or what its parameters are you can always issue a "man <command name>" or "<command name> --help". One of these should give you more information although you will not find all manpages on the DNS-323. You can still search the internet for a manpage of a command or config file. Here you will find a manpage for chmod for example.
By the way I think that you misunderstood a+rwx. There are three "types" of user access on a linux file system - the owner of a file or directory "u", users belonging to a certain group "g" and other users "o". "a" just means "all three" (u, g and o). If you want to alter permissions for all three types at once then you can use "a+w" for example, which will grant write permission to the owner, group and others. You still need a valid login to the system to at least belong to "others". There is no "world wide access for everybody" except special guest accounts for certain services like samba, but you will have to configure these manually.
Offline
thanks very much. i obviously really misunderstood the user access.
thanks a lot for pointing that out to me.
i'll try your advise with the root and group ownage.
Offline