Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
# mount /dev/sde1 /mnt/loop
# chown -Rf user:users_group /mnt/loop
# chmod -Rf 755 /mnt/loop
# touch test /mnt/loop/
in short that will just perform a simple mount. once it is mounted you are changing the owernship and permissions on the DRIVE to that of the user. then you are just seing if you have permissions to touch the drive.
Now if the external drive or usb stick are NTFS permissions you will have to mount them completely different. do a google search for CIFS mounts.
These are fat32 and ntfs drives. But cifs mounts are not for local drive partitions, they are for network drives. What I am trying to mount are physical local drives. I am pretty sure that the NTFS permissions won't affect the mounts in anyway, because I don't have accounts named root and ted on my other windows computers.
Last edited by ted_chou12; 02-11-2013 at 05:18 PM.
can I not grant user all permissions? If not please show me a way to map the tables.
You can, but the result would not necessarily be Windows compatible.
Check the manpage for ntfs-3g.usermap. It appears to build the map based on the existing files on the NTFS volume. I don't know how you add new entries, but suspect it would be up to windows to do that so that it can identify the windows user.
EDIT my bad. The weird situation is only caused by an internal card reader, the card reader only reads but doesn't write for my user account. It does allow me to write with my root account though. I found that being quite weird, I will post up info regarding my card reader after some research.