Quote:
Originally Posted by SolitudeSensus
Yes, I want to enter inside it for reading and writing.
I can do it logging in as root, but now I want to do it by logging in as normal user also.
I don't want other users for doing this. Only for the user solitude (this is the user account that I'm using).
Is it risky?
|
if you want 'solitude' user to be able to mount
you need to
1. add this user to certain groups such as 'disk', etc.
to do that,
edit (as root) the file (before you start editing make
a backup copy: cd /etc; cp group _group)
/etc/group
Look at the lines that start with
disk:
floppy:
cdrom:
plugdev:
if you want solitude to be able to mount a disk partition,
..., you must add solitude at the end of each of these lines
after the last colon
If there's already an entry like probably root precede
solitude with a comma (no spaces)
so for instance
the original disk:.... line might look like
disk:x:6:root,adm
and after editing it should be
disk:x:6:root,adm,solitude
Now, if you want to have the windows partition automatically mounted
at boot time, add en entry in /etc/fstab for it
I don't know the device name of your windows partition.
But there are good chances it's /dev/sda1 (if not replace
appropriately). You said in your message that you want it mounted
in /fat-c, so I'll assume that /fat-c exists
edit (still as root) the file /etc/fstab
Add an entry or edit the existing entry for the windows partition
Now, your entry for your windows partition should
look something like:
/dev/sda1 /fat-c ntfs-3g users,noauto,noatime,exec,rw 1 1
If you want solitude to be able to write in the windows partition
as root you can change ownership of /fat-c, so that solitude is
its owner:
chown -R solitude /fat-c
Now to your question: is it risky?
The answer is yes. It's always risky to give write permission
to an ordinary user. You can inadvertently delete some
important files