View previous topic :: View next topic |
Author |
Message |
sixgauge n00b
Joined: 02 Dec 2005 Posts: 4
|
Posted: Mon Dec 05, 2005 8:16 pm Post subject: Gentoo nOOb Question on Permissions |
|
|
I just installed gentoo on my computer and am trying to view my windows partitions..
I can only do this in root though. I have tried to change the permissions with chmod..
Truthfully though I don't really know how to do this....
I know in mandrake I could view this..
any help would be awsome
thanks
gentoo nOOb |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Mon Dec 05, 2005 8:20 pm Post subject: |
|
|
You have to change the umask:
example entry in /etc/fstab
Code: | /dev/hda1 /mnt/ntfs ntfs umask=0000 0 0 |
umask=0000 will allow all users and group to perform read, write and execution.
For a more secure umask, please consult:
http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29 _________________ Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved. |
|
Back to top |
|
|
sixgauge n00b
Joined: 02 Dec 2005 Posts: 4
|
Posted: Mon Dec 05, 2005 9:49 pm Post subject: |
|
|
This is what my fstab looks like....
I still can't get into my 2 drives with user just root
once again thanks for all your help
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext2 noauto,noatime 1 2
/dev/hda6 / ext2 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /mnt/win ntfs users,noauto,umask=0002 0 0
/dev/hdb2 /mnt/media ntfs users,noauto,umask=0002 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0 |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Tue Dec 06, 2005 3:20 pm Post subject: |
|
|
Quote: | For example, if you want that everybody be able to read, write, and execute every file in your /mnt/c, you should specify the mask 0000: |
umask 0002 means that the owner and the owners group can read, write and execute and also that last digit (2) means that everybody else on the system can only read!
Please have a look at the table describing this at: http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29#umask:_octal_file_permissions _________________ Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved. |
|
Back to top |
|
|
|