Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-12-2005, 08:42 PM   #1 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default ubuntu linux 5.10


ok i got the latest ubuntu cd's......

installed it fine....... it automounts all he filesystems and all that

but i cant edit my fat partition and am not able to even view the ntfs partition(there is a icon but it says that i dont have sufficient privileges)

how can i increase my priveleges.? ubuntu by default blocks logging into root...... therefore please tell me some method which i am able to change without logging into root seperately
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 02-12-2005, 08:48 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

Did you try using su or sudo commands? Haven't used ubuntu before so can't help you more at this point.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 02-12-2005, 08:51 PM   #3 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

su command does not exist in ubuntu as there is no root........

only sudo exists...... but dont know what command to write
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 02-12-2005, 08:53 PM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

For enabling root login,run gdmsetup and browse to security tab enable root to login..then as local user type :sudo passwd root" give new passwd for root..that's all.
for viewing ntfs u must be root by default but can enable local users to read..and for fat filesystem editing too u need to be root,but u can change it to enable local user to have read/write privilages by editing /etc/fstab.
heres a link from ubuntu...easy howtos..browse to windows section..
http://ubuntuguide.org/
praka123 is offline  
Old 02-12-2005, 09:01 PM   #5 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

thsnks
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 02-12-2005, 09:10 PM   #6 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

ok when i login as root......

and then right click on the icon and go to properties
then i go to permissions......... no when i try to chagne it says cannot change because it is on a read only disk

when i try to change the permissions of fat partition then simple the tick mark appears and then disappears
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 03-12-2005, 12:01 AM   #7 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

You cannot write onto an NFTS partition from Linux.Its not permitted.
vignesh is offline  
Old 03-12-2005, 03:45 PM   #8 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

i know that ........ i am only trying to change the permissions so that atleast i am able to view the files as a normal user when this errror occurs
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 04-12-2005, 07:27 AM   #9 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Ya you can view the files as a normal user change them in fstab as 0 0.
vignesh is offline  
Old 04-12-2005, 05:04 PM   #10 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

????????? whats fsab 00.??????????????????????????? i am a newbie can u please post the details
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 04-12-2005, 11:07 PM   #11 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Have you already mounted your NFTS partition ?
vignesh is offline  
Old 05-12-2005, 02:51 AM   #12 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

@champ_rock:
care to read the ubuntuguide link i gave?add this to your /etc/fstab.
as root edit : 'gedit /etc/fstab'
add these lines for mounting ntfs readonly...
Code:
#mkdir /mnt/win_C (create a dir in /mnt as win_C)
/dev/hdax        /mnt/win_C      ntfs    nls=utf8,umask=0222 0       0
if it's a SATA disk then replace with 'sda' x is replaced by partition number.also for displaying ur available partition try
'fdisk -l' command in CLI..best of Lux
Also local users given the read/write permissions is a security risk as u tend to save items to fat partitions,while in internet virus/worms for win^ows too can access the fat partitions.as u may have win^gose OS also installed..but if
u insist on rw permission ucan achieve it by
Code:
as root #mkdir /mnt/win_D
#gedit /etc/fstab
/dev/hdax       /mnt/win_D      vfat    users,rw,umask=000 0 0
i wont recommend this as exec also possible
praka123 is offline  
Old 12-12-2005, 03:46 PM   #13 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

Quote:
Originally Posted by prakash kerala
@champ_rock:
care to read the ubuntuguide link i gave?add this to your /etc/fstab.
as root edit : 'gedit /etc/fstab'
add these lines for mounting ntfs readonly...
Code:
#mkdir /mnt/win_C (create a dir in /mnt as win_C)
/dev/hdax        /mnt/win_C      ntfs    nls=utf8,umask=0222 0       0
if it's a SATA disk then replace with 'sda' x is replaced by partition number.also for displaying ur available partition try
'fdisk -l' command in CLI..best of Lux
Also local users given the read/write permissions is a security risk as u tend to save items to fat partitions,while in internet virus/worms for win^ows too can access the fat partitions.as u may have win^gose OS also installed..but if
u insist on rw permission ucan achieve it by
Code:
as root #mkdir /mnt/win_D
#gedit /etc/fstab
/dev/hdax       /mnt/win_D      vfat    users,rw,umask=000 0 0
i wont recommend this as exec also possible
hey man sorry but it is already mounted and all the directories have been created...(its shortcut is on the desktop also).... it is readonly in root..... i want to view it in normal mode also.......

can u tell me that command as i am not able to figure out what to do with these commands...
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 12-12-2005, 06:55 PM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

NTFS Partitions are now supported read only.even as root.but alternate method available 'captive ntfs' u can install the rpm follow the procedures..if ur using XP with SP2 its quiet difficult.the linux-ntfs project also permitts read/write with NTFS partitions but that is experimental stuff..

I just want to show that as localuser also you can read the ntfs partition.

open any editor /etc/fstab:
and add this changing the values accordingly..
/dev/hdax /mnt/win_C ntfs nls=utf8,umask=0222 0 0
praka123 is offline  
Old 17-12-2005, 08:19 PM   #15 (permalink)
champ_rock
 
champ_rock's Avatar
 
Join Date: Jun 2005
Location: Somewhere on the earth , near the equator
Posts: 751
Default

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs nls=utf8,umask=0222 0 0
/dev/hda2 /media/hda2 ntfs nls=utf8,umask=0222 0 0
/dev/hda6 /media/hda6 vfat defaults 0 0
/dev/hda5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
........ this is my fstab file....... i have edited the ntfs partition from "default" to the thing that u mentioned/.....
but still when i log on as normal mode (my user name is ubuntu itself) i am not able to view the files....????it says that i dont have enough permissions

and when i change the permission by going to the /media then it says...(please look at the pic)
http://rapidshare.de/files/9335901/123.html
__________________
-------------
Registered Linux user number 400618
champ_rock is offline  
Old 17-12-2005, 08:35 PM   #16 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Did you restart your system after changing fstab? Anyway, post the output of the command "mount" here, and also check if you are able to view your ntfs partitions from the command line (ls /media/hda1/)
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 18-12-2005, 10:38 AM   #17 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

It should work after "mount -a".check for proper permission for directory /media - ls -ld /media
praka123 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by icebags
- by clinton
- by topgear
- by trublu

Advertisement




All times are GMT +5.5. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2