Mandriva Expert
The place where your Mandriva Linux system finds support

permissions

+/- details
UserArun_Sreenivas_727
Incident Number103843
Date2008/05/14 20:35
StatusMore info requested
PaidNo

ProductMandriva Linux 2008
Architecturex86_32
ScopeAdministration

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]  
 
Arun_Sreenivas_727 : 14/05/08 08:35 PM : Incident created
-   (1) I installed mandriva linux on my windows system as dual booting. A new user is creatd. But I dont have permissions to write on hard drives and pen drives. I shows that only 'owner' can do that. How can I overcome that? How can I get the permissions?

One more querry....
(2)How can I login as owner(root) in the desktop or (3)how can I make my account a 'root' account?

Here I have three queries. Please give me solutions for all these ........

Thank you!

 
JoesCat2_9743 : 19/05/08 12:20 PM : Reply received
-   3) You do not want to make your user account a root account. One
of the big problems with Windows computers are that almost
everything needs to run in Administrator mode and few if any
programs run in "limited" mode. Therefore, windows has a huge
problem with viruses, trojans, spyware and other unauthorized
spyware.

2) To log in as a root user is a habit you may wish to
discontinue. I would suggest you log in as a normal user and then
to use the command-line terminal and type su (for super user),
then run the programs you want there. If you need an example,
read my howto for adding BOINC which gives good examples.
http://www.joescat.com/boinc/index.html

If you simply want to install programs or change some settings,
Mandriva has a nice GUI tool that you can run by selecting
Menu->Tools->System Tools->Configure Your Computer

1)When you installed Mandriva, which security level did you
choose? did you choose Standard desktop or did you set the
security level to a very high level? Most users are fine using
the Standard security level and it is the recommended choice when
you do an install.

You may wish to break up your 3 questions in the future into 3
separate questions since not everybody can answer all 3, but may
be able to answer 1 or 2, therefore ignore your 3 questions as
too difficult or too troublesome. ;-)

 
Arun_Sreenivas_727 : 20/05/08 02:59 AM : More info requested
-   Thanks for the reply.

But can you say why I cant modify or write in the hard disk? It always says
No permission to do that. How can I get that permission. I set the security
level as the standard.

 
JoesCat2_9743 : 20/05/08 04:35 AM : More info requested
-   I wanted to check that you were at an easier to use Standard
level #2 instead of something higher in security which is good
unless you run a server, otherwise there was more work involved.

I'm currently loaded at a higher #4 security and do not have a
windows partition on this machine, but if I recall correctly,
when you installed Mandriva from CDrom or DVDrom, you may have
seen a graphical representation of the different partitions on
your hard drive. The default mount option is to mount ntfs as
ro=Read_Only and there is an expert mode in the install process
which allows you to add/modify more options, such as mount it
RW=Read_Write.

I'm assuming that when you refer to windows, you are having write
problems with ntfs and not the more mature vfat which I believe
has read/write mode enabled under standard user settings.

Older versions of linux were able to read ntfs but not write to
it and it was recommended to use a VFAT partition seen
as /mnt/win_d by linux or a drive D (or E: ) by windows.
I believe you can write "now" to ntfs using the experimental 3g
modules but you were not able write to ntfs with version 2007.
read this here for some info and prior history:
http://mandrivausers.org/index.php?showtopic=4960
http://mandrivausers.org/index.php?showtopic=40208

With Mandriva 2008, you will need to install additional ntfs-3g
drivers. Run the configure your computer tool.
Menu->Tools->System Tools->Configure Your Computer

Select the "software management" tab so that you can install
additional RPM software. In the search bar, type in "ntfs"
(without the quotes) to search for all RPMs related to ntfs. The
ntfs-3g files are needed for write support. I don't have ntfs or
windows on this machine, so I'll suggest loading ntfs-3g which
should automatically suggest other dependent modules to load as
well. If they were not installed, install them now.

------------

Next, you can use the configure your computer graphical tool
(local disks, manage partitions, toggle expert mode, options) to
make modifications,. but the quickest way I could think of to fix
the ntfs read/write from a user perspective is through the fstab
(File System Table) which is a text file. you will need to fix it
in su mode, so... start a command-line terminal.

su
cp /etc/fstab /etc/fstab_backup
kwrite /etc/fstab

You may have another location mentioned instead of hda1 or sda1
so use the substitute sdaX or hdaX instead of my example below.
You may find a line containing your vfat or ntfs information.
/dev/hda1 /mnt/win_c ntfs nls=utf8,umask=0222 0 0
/dev/hda1 /mnt/win_c vfat iocharset=utf8,umask=0222 0 0

You will want to modify the umask from 222 to 000
If the line has a "ro", change it to "rw"
/dev/hda1 /mnt/win_c ntfs nls=utf8,umask=0 0 0
/dev/hda1 /mnt/win_c vfat iocharset=utf8,umask=0 0 0

another possibility is something like this (one line):
/dev/hda1 /mnt/win_c ntfs-3g rw,uid=500,gid=500,
nls=utf8,umask=0007 0 0

Next, unmount and remount the ntfs or vfat partition
umount /mnt/win_c
mount -a

You should be able to read/write the ntfs partition now.

If you wish to know more about the mount command, type man mount
on the command line, use up/down arrows to navigate and press q
to quit. This will give you additional information concerning
ntfs or vfat options. You can also read the fstab manual by
typing man fstab

I hope you are good-to-go now.
Joe



You can add comments to this incident, create a paid incident or a free incident by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers