Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Permission Help

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-21-2007   #1 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Posts: 186
Permission Help

Alrighty, I'm trying to back up my computer and I am having a bit of trouble. Knoppix will not allow me to access my external hard drive and partitions from the internal hard drive. I have looked at the permissions making it say that it's writable but I don't know what's going on.

So here is what I'm trying to copy:
The entire folder:
/media/sda2/home/jeffrey

to
/media/sdb1/jeffs


If you guys can help me out that would rock!

Jeff
Jeffrey2132 is offline  


Reply With Quote
Old 05-22-2007   #2 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
Post the results of
Code:
$ mount | grep 'sdb1'
and
Code:
$ ls -ld /media/sdb1/jeffs
anomie is offline   Reply With Quote
Old 05-22-2007   #3 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Posts: 186
This is from the first command:


/dev/sdb1 on /media/sdb1 type vfat (ro,nosuid,nodev,umask=000,shortname=winnt,uid=100 0,gid=1000)


And the second:


drwxrwxrwx 2 knoppix knoppix 32768 May 20 20:36 /media/sdb1/jeffs
Jeffrey2132 is offline   Reply With Quote
Old 05-22-2007   #4 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
Ok, for starters it is being mounted read-only (ro). You may need to explicitly tell it to mount rw. How are you mounting it exactly?

Also, who is uid 100? You can use
Code:
$ grep 'x:100:' /etc/passwd
to find out.

How about gid 1000?
Code:
$ grep 'x:1000:' /etc/group
anomie is offline   Reply With Quote
Old 05-22-2007   #5 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Posts: 186
It's the auto detection that Knoppix does. Just clicking on the drives on the desktop...
Here are the commands:

knoppix@Knoppix:~$ grep 'x:100:' /etc/passwd
mysql:100:103:MySQL Server:/var/lib/mysql:/bin/false
knoppix@Knoppix:~$ grep 'x:1000:' /etc/group
knoppix:1000:
Jeffrey2132 is offline   Reply With Quote
Old 05-22-2007   #6 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
post the output of 'fdisk -l' command here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 05-22-2007   #7 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Posts: 186
It doesn't give anything as output:

Quote:
knoppix@Knoppix:~$ fdisk -l
knoppix@Knoppix:~$ fdisk -l
I tried twice.
Jeffrey2132 is offline   Reply With Quote
Old 05-22-2007   #8 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
you must have root privileges to execute this command.
Code:
su 
fdisk -l
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 05-22-2007   #9 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Posts: 186
Aww! Okay:

Quote:
root@Knoppix:/ramdisk/home/knoppix# fdisk -l

Disk /dev/hdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 14023 112639716 7 HPFS/NTFS
/dev/hdd2 14024 16455 19535040 83 Linux
/dev/hdd3 16456 17063 4883760 82 Linux swap / Solaris
/dev/hdd4 17064 19457 19229805 83 Linux

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7655 61488756 7 HPFS/NTFS
/dev/sda2 7656 23842 130022077+ 83 Linux
/dev/sda3 23945 24321 3028252+ f W95 Ext'd (LBA)
/dev/sda5 23945 24321 3028221 82 Linux swap / Solaris

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 9729 78148161 c W95 FAT32 (LBA)
Jeffrey2132 is offline   Reply With Quote
Old 05-22-2007   #10 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
execute this
Code:
su
mkdir sda1 sdb1 hdd1
mount -t    ntfs-3g   /dev/sda1 sda1 -o defaults,umask=0
mount -t    vfat    /dev/sdb1 sdb1 -o defaults,umask=0
mount -t    ntfs-3g   /dev/hdd1 hdd1 -o defaults,umask=0
check sda1, sdb1 and hdd1 folders. check if you are able to write in all those.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:56 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2