Results 1 to 10 of 13
Thread: Permission Help
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
05-21-2007 #1
- Join Date
- Dec 2005
- Posts
- 187
Permission Help
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
-
05-22-2007 #2
Post the results of
Code:$ mount | grep 'sdb1'
Code:$ ls -ld /media/sdb1/jeffs
-
05-22-2007 #3
- Join Date
- Dec 2005
- Posts
- 187
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
-
05-22-2007 #4
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 useCode:$ grep 'x:100:' /etc/passwd
How about gid 1000?Code:$ grep 'x:1000:' /etc/group
-
05-22-2007 #5
- Join Date
- Dec 2005
- Posts
- 187
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:
-
05-22-2007 #6
post the output of 'fdisk -l' command here.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
-
05-22-2007 #7
- Join Date
- Dec 2005
- Posts
- 187
It doesn't give anything as output:
knoppix@Knoppix:~$ fdisk -l
knoppix@Knoppix:~$ fdisk -l
-
05-22-2007 #8
you must have root privileges to execute this command.
Code:su fdisk -l
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
-
05-22-2007 #9
- Join Date
- Dec 2005
- Posts
- 187
Aww! Okay:
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)
-
05-22-2007 #10
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
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First