Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
only unix filesystems can be subjected to changes in unix file permissions (where do you suppose the information would go? instaead permissions and ownerships of non-unix filesystems need to be hard set at mount time, e.g. "mount /dev/blah /mnt/blah -o uid=500,umask=022" says user 500 owns all the files with a mask of 022, i.e. rwxr-xr-x
What bassem says is correct, but i can't determine this way which user will have the priviledges(I can only type chmod when I log in as root). I can give an -o, but everyone will have access. It is non-unix compatible, I gave this order to the windows partition and it worked. But how do I give priviledges to a specific user?
-Rv is recursevily and verbose mode(it show all files affected by the order)
OK with the MP3 player(and other USB keys), but I still can't find out how to change permissions on a folder for a specific user. The command chmod isn't helping me 'cause the arguments are incomplete(it has u, but it won't let me specify which user will be the u). And I can't use the command for the current user, 'cause the system is letting me to use the command only when I log in as root. What am I supposed to do?
It seems that I didn't know how to change the permissions in the MP3 player after all. I've changed the owner from root to a normal user(through chown and chgrp) but whenever I mount it(sth that I still do from root), and open the folder I mounted it with Konqueror, I don't see my files. I saw in the man pages that this has something to do with the file /etc/fstab, but I got confused. What I want to do is whenever I mount this device(or any USB key), to be fully accessible by a specific user(read, write and execute commands).
Offtopic: Hey, mr admin, why aren't any avatar options in the profile?