Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. See the link below for an overview of permissions in Linux

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Robert Fisher wrote: On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. See the link below for an overview of

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 7:11 pm, Reg wrote: This begs the question: why bother having reg as a user at all when he has stuff all access to anything? why not just have a profile as root and do everything as that person? it would save having to become root all the time? or is my logic somewhat

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 7:24 pm, Robert Fisher wrote: Unless you plan to install new software or tweak your system, you should log in to Linux as a user other than root. (As a computer technician, I get a large proportion of my jobs from people with Windows - and all users with administrative

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Robert Fisher wrote: On Friday 15 June 2007 7:11 pm, Reg wrote: This begs the question: why bother having reg as a user at all when he has stuff all access to anything? why not just have a profile as root and do everything as that person? it would save having to become root all the

Re: acessing files on a windows drive from linux

2007-06-15 Thread Roger Searle
If you are the only one using the computer then I would, as root, type chmod -R 777 /music/My Music/ (To be root, type su - then press enter then enter root password) I think that may not work due to the space between My and Music, so you need chmod -R 777 /music/My\ Music/ Roger

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 8:14 pm, Roger Searle wrote: If you are the only one using the computer then I would, as root, type chmod -R 777 /music/My Music/ (To be root, type su - then press enter then enter root password) I think that may not work due to the space between My and Music,

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 7:11 pm, Reg wrote: if I log in as root ... by entering su - I should have write access? but I dont, So you are in a terminal window, you type su - then press enter. Now your terminal session is root, not your kde session. You then need to use an editor like nano

Re: acessing files on a windows drive from linux

2007-06-15 Thread Steve Holdoway
On Fri, 15 Jun 2007 17:57:29 +1200 Robert Fisher [EMAIL PROTECTED] wrote: On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files.

Re: acessing files on a windows drive from linux

2007-06-15 Thread Nick Rout
Robert Fisher wrote: On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. if I enter that command I get: [EMAIL

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Friday 15 June 2007 9:02 pm, Steve Holdoway wrote: Are you sure? These files are on a fat32 partition, and as such there is no concept of MACs, let alone anything complicated like DACs. Yes I am sure. I just tried it on our dual boot laptop.

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Nick Rout wrote: Robert Fisher wrote: On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. if I enter that command I

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Saturday 16 June 2007 9:14 am, Reg wrote: Tried that and got the following result: [EMAIL PROTECTED]:~ id uid=1000(reg) gid=100(users) groups=16(dialout),33(video),100(users) [EMAIL PROTECTED]:~ mount -t vfat /mnt/hdb1 /music -o uid=1000 mount: only root can do that [EMAIL PROTECTED]:~

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Robert Fisher wrote: On Saturday 16 June 2007 9:14 am, Reg wrote: Tried that and got the following result: [EMAIL PROTECTED]:~ id uid=1000(reg) gid=100(users) groups=16(dialout),33(video),100(users) [EMAIL PROTECTED]:~ mount -t vfat /mnt/hdb1 /music -o uid=1000 mount: only root can do

Re: acessing files on a windows drive from linux

2007-06-15 Thread Steve Holdoway
On Sat, 16 Jun 2007 10:13:21 +1200 Reg [EMAIL PROTECTED] wrote: Robert Fisher wrote: On Saturday 16 June 2007 9:14 am, Reg wrote: Tried that and got the following result: [EMAIL PROTECTED]:~ id uid=1000(reg) gid=100(users) groups=16(dialout),33(video),100(users) [EMAIL

Re: acessing files on a windows drive from linux

2007-06-15 Thread Robert Fisher
On Saturday 16 June 2007 10:13 am, Reg wrote: this is what I got: [EMAIL PROTECTED]:~ mount -t vfat /dev/hdb1 /music -o uid=1000 mount: only root can do that [EMAIL PROTECTED]:~ su - Password: athlon:~ # mount -t vfat /dev/hdb1 /music -o uid=1000 mount: /dev/hdb1 already mounted or /music

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Robert Fisher wrote: On Saturday 16 June 2007 10:13 am, Reg wrote: this is what I got: [EMAIL PROTECTED]:~ mount -t vfat /dev/hdb1 /music -o uid=1000 mount: only root can do that [EMAIL PROTECTED]:~ su - Password: athlon:~ # mount -t vfat /dev/hdb1 /music -o uid=1000 mount: /dev/hdb1

Re: acessing files on a windows drive from linux

2007-06-15 Thread Reg
Reg wrote: Robert Fisher wrote: On Saturday 16 June 2007 10:13 am, Reg wrote: this is what I got: [EMAIL PROTECTED]:~ mount -t vfat /dev/hdb1 /music -o uid=1000 mount: only root can do that [EMAIL PROTECTED]:~ su - Password: athlon:~ # mount -t vfat /dev/hdb1 /music -o

Re: acessing files on a windows drive from linux

2007-06-15 Thread Volker Kuhlmann
On Fri 15 Jun 2007 15:26:13 NZST +1200, Robert Fisher wrote: Something like this in fstab might be what he needs (obviously changed to suit) /dev/hda1 /mnt/c vfat defaults,umask=0000 0 For fixed disks this will work. Keep in mind that HAL and udev no longer use

acessing files on a windows drive from linux

2007-06-14 Thread Reg
I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be able to do that? And if so what might be stopping me ? regards reg

Re: acessing files on a windows drive from linux

2007-06-14 Thread Steve Holdoway
On Fri, 15 Jun 2007 14:17:43 +1200 Reg [EMAIL PROTECTED] wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be able to do that? And if so what might be

Re: acessing files on a windows drive from linux

2007-06-14 Thread Don Gould
I'm guessing that the NTFS patition that your files are on is read only. That's what normally happens. You can use a package to use native NT drivers so you get read write access. If CS is reading, he can tell you what it is, or you can search the archive of clug HTH Reg wrote: I have

Re: acessing files on a windows drive from linux

2007-06-14 Thread Reg
Steve Holdoway wrote: On Fri, 15 Jun 2007 14:17:43 +1200 Reg [EMAIL PROTECTED] wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be able to do that?

Re: acessing files on a windows drive from linux

2007-06-14 Thread Robert Fisher
On Friday 15 June 2007 2:17 pm, Reg wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be able to do that? And if so what might be stopping me ? They might

Re: acessing files on a windows drive from linux

2007-06-14 Thread Reg
Robert Fisher wrote: On Friday 15 June 2007 2:17 pm, Reg wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be able to do that? And if so what might be

Re: acessing files on a windows drive from linux

2007-06-14 Thread Robert Fisher
On Friday 15 June 2007 3:06 pm, Reg wrote: either way how do I change from read only if that is what it is ? http://www.fisherfamily.orcon.net.nz/linuxnote.htm#Mounting_Windows_Partitions You can probably skip Step 1

Re: acessing files on a windows drive from linux

2007-06-14 Thread Nick Rout
On Fri, June 15, 2007 3:06 pm, Reg wrote: Robert Fisher wrote: On Friday 15 June 2007 2:17 pm, Reg wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be

Re: acessing files on a windows drive from linux

2007-06-14 Thread Nick Rout
On Fri, June 15, 2007 3:06 pm, Reg wrote: Robert Fisher wrote: On Friday 15 June 2007 2:17 pm, Reg wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename them from Suse. Am I meant to be

Re: acessing files on a windows drive from linux

2007-06-14 Thread Robert Fisher
On Friday 15 June 2007 3:19 pm, Nick Rout wrote: Secondly it might be mounted read write, but your user may not have the needed permissions to write to the files concerned. Something like this in fstab might be what he needs (obviously changed to suit) /dev/hda1 /mnt/c vfat

Re: acessing files on a windows drive from linux

2007-06-14 Thread Reg
Nick Rout wrote: On Fri, June 15, 2007 3:06 pm, Reg wrote: Robert Fisher wrote: On Friday 15 June 2007 2:17 pm, Reg wrote: I have some music files on a windows drive on my dual boot suse / xp system . I can access these files and play them etc in Amarok, but I cant rename

Re: acessing files on a windows drive from linux

2007-06-14 Thread Nick Rout
Reg wrote: yes one step at a time sounds good to me :-) by the mount command do you mean open a terminal and type mount? if I do that this is what I get: [EMAIL PROTECTED]:~ mount /[snip] /dev/hdb1 on /music type vfat (rw) [EMAIL PROTECTED]:~ the drive I am talking about is /dev/hdb1 reg

Re: acessing files on a windows drive from linux

2007-06-14 Thread Reg
Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. if I enter that command I get: [EMAIL PROTECTED]:~ ls -l /music total 96 dr-xr-xr-x 149 root root 32768 2007-06-14 17:27 My

Re: acessing files on a windows drive from linux

2007-06-14 Thread Robert Fisher
On Friday 15 June 2007 5:50 pm, Reg wrote: Nick Rout wrote: Well it is clearly mounted read/write (rw) so it is more likely a permissions thing. Who owns the files? Try ls -l /music and see who owns the files. if I enter that command I get: [EMAIL PROTECTED]:~ ls -l /music total 96