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.
I have installed Debian on one of my harddrives, but I also have Vista on a different drive.
However, I would like to be able to browse through my files on the other discs, which are of the NFTS format.
When I try a normal mount, I just get that it's not possible to mount.
When I do it via the terminal, I'm able to mount it, but only as root.
When I have mounted the disc via the terminal, only root user can enter the folder (the rights on the folder is owner r-x and group / others have ---)
Does anybody have any idea how I can fix this?
Thanks for any help :-)
I have ofcourse tried to use chown, as the topic suggests, but it has no effect.
wow... did you mount it directly to /media?
don't do that!
media should be for automount, and if you must, make a folder in /media. Better yet mount it in /mnt/yourfolder.
After that do a:
chown daniel:daniel /mnt/youfolder
If you want it to always mount to /mnt/something, you'll have to create a fstab entry.
You can edit /etc/sudoers to give yourself sudo permissions to mount drives/partitions so that your command would then be: sudo mount /dev/sdX, or sudo mount <mount point>, where <mount point> is the mount point named in /etc/fstab. Technically, you are still mounting as root, but you don't need to su to root, you just use sudo for temporary root authority to run one command.
In re the user having access to the partition once it mounted, it all in your /etc fstab. Change the mount parameters on the /dev /mountpoint line to allow users to access the partition, instead of just the user who has mount authority (root).
Well then you'll have to create an fstab entry (/etc/fstab)
/dev/sda1 /mnt/mountpoint ntfs defaults 0 0
Of course you have to change the device name and mountpoint accordingly.
I think "defaults" includes the user option. Just to be safe you can change it to defaults,user
If it is an sata drive sometimes starting the pc with an usb drive plugged in will screw up the naming, in that case you should mount it using the uuid. - I always use uuid... can't hurt.
to see the uuid for the devices.
then instead of i.e. /dev/sda1 you would use uuid= and then the number you got from the previous command.
after you saved fstab you can instantly mount it using:
Try it as user first... I think it should work.
I'm just adding this because you are a new user:
While I know this stuff by heart, it's really the reason why I prefer to use the most newbie friendly distros available. it just saves time to just install ntfs-config, run it and have it take care of all that automatically, and even have it mount it with ntfs3g if you need rw access.
Thinking of it, maybe ntfs-config is in the debian repos... I doubt it though.
Nothing against debian, it's a rock solid distribution, I just want you know that this isn't the way it has to be... this is 2008 for crying out loud!
Yeah, add yourself to the sudoers file as bigrigdriver suggested, then start an application with: gksu (in gnome) or kdesu (from kde) -
kdesu nautilus ./
in gnome it should work fine to just use sudo. KDE is much more picky.