I do not have permission to write a file. The owner of the file is root. I attempted to change the file ownership to my user account, "daniel", by the following command in Terminal: "sudo chown daniel /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages/jokes.shtml". I still cannot write the file. What is wrong? Jul 12 10:33:49 I do not have permission to write a file. The owner of the file is root. I attempted to change the file ownership to my user account, "daniel", by the following command in Terminal: "sudo chown daniel /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages/jokes.shtml". I still cannot write the file. What is wrong? ... Jul 12 10:34:10 ethereality: what is the file system on sda1 ? ... Jul 12 10:34:28 ikonia, ntfs ... Jul 12 10:34:37 ethereality: you need to mount it read-write Jul 12 10:34:41 !ntfs-4g | ethereality Jul 12 10:34:41 Sorry, I don't know anything about ntfs-4g ... Jul 12 10:34:45 !ntfs-3g | ethereality Jul 12 10:34:46 ethereality: ntfs-3g is a Linux driver which allows read/write access to NTFS partitions. Installation instructions at https://help.ubuntu.com/community/MountingWindowsPartitions ... Jul 12 10:34:52 ikonia, i've already done that -- i can write most other files in that folder. ... Jul 12 10:35:15 ethereality: can you show me the output of ls -la on that directory, and put it in a pastebin pleae. Jul 12 10:35:18 please ... Jul 12 10:39:13 ikonia, http://paste.ubuntu.com/26903/ ... Jul 12 10:39:31 the issue appears to be those 1 and 2's ... Jul 12 10:39:58 as far as i can tell. ... Jul 12 10:40:26 ethereality: what 1 and 2's ? Jul 12 10:40:29 ikonia did you get the link ... Jul 12 10:40:44 doug_: yes, ... Jul 12 10:40:54 ethereality: cd into that directory and do "touch test1" ... Jul 12 10:41:43 ikonia, the 1's and 2's at http://paste.ubuntu.com/26903/ ... will try that touch thing ... ... Jul 12 10:42:08 ethereality: I can't see any 1's and 2's at that page, what do you mean ? ... Jul 12 10:42:56 ikonia, such as "-rwxrwxrwx 2 root root 5284 2008-01-01 13:20 albumreviews.shtml" versus "-rwxrwxrwx 1 root root 1701 2008-06-10 21:42 clinton.shtml" Jul 12 10:43:02 "2 root root" versus "1 root root" ... Jul 12 10:43:15 ethereality: what do they matter ? ... Jul 12 10:43:17 ethereality: thats nothing ... Jul 12 10:43:28 ikonia, i don't know. okay then. >_> i wonder why they're outputted, then. Jul 12 10:43:35 ethereality: don't worry about that ... Jul 12 10:43:55 ethereality: let me know how "touch" goes ... Jul 12 10:45:09 ikonia, i CD to "/media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages" and "touch test1" and the it acts like it accepted the command and returns another command prompt ... Jul 12 10:45:20 or did you mean a specific file? Jul 12 10:45:22 ethereality: great, so ls -la test1 Jul 12 10:45:25 'k ... Jul 12 10:45:42 "-rwxrwxrwx 1 root root 0 2008-07-12 10:44 test1 Jul 12 10:45:42 " ... Jul 12 10:45:56 so it appears to be able to write perfectly fine, right? ... Jul 12 10:46:00 ethereality: now chown danial test1 ... Jul 12 10:46:03 ethereality: sudo first ... Jul 12 10:47:12 ikonia, done. i right click -> properties -> permissions to check the file in nautilus, and it still lists "root" as owner. ... Jul 12 10:47:21 i'm checking now to see if i own any of the files in my own /home directory Jul 12 10:47:23 ethereality: can you check it with ls -la please. ... Jul 12 10:47:38 ethereality: I assume your still in the directory Jul 12 10:47:40 (yes, i do) ... Jul 12 10:47:42 and yes, i am. ... Jul 12 10:47:50 ikonia, oh, right Jul 12 10:47:51 ethereality: ok, just checking ... Jul 12 10:48:15 ikonia, correct: "-rwxrwxrwx 1 root root 0 2008-07-12 10:44 test1" nothing has changed. ... Jul 12 10:48:26 the "sudo chown daniel [file]" command does not appear to function. ... Jul 12 10:48:43 ethereality: thats most interesting, you have write permissions - you can touch the file, and it creates, however you can't change the ownership. ... Jul 12 10:49:01 ethereality: could you show me "ls -lai" in a pastebin of that directory please. ... Jul 12 10:49:02 ikonia, do you think upgrading to 8.04 may fix it? i'm still using 7.04. ... Jul 12 10:49:10 sudo chown username:usergroup [file] Jul 12 10:49:15 ethereality: initial I thought the escape chars was causing issues ... Jul 12 10:49:28 ikonia, i don't know what you mean by "the escape chars" ... Jul 12 10:49:37 ethereality: I wouldn't upgrade for this - this looks reasonbly serious ... Jul 12 10:49:43 ethereality: spaces basiclly ... Jul 12 10:49:52 (that's what i thought -- thanks) one moment .... ... Jul 12 10:50:33 ikonia, could it be because the pages directory is owned by root? and it's changing the .... i don't know, i'll just do that ls -lai command ... Jul 12 10:51:05 ethereality: now, your in the directorys so the parent directory permissions shouldn't matter ... Jul 12 10:52:16 ikonia, http://paste.ubuntu.com/26905/ ... Jul 12 10:53:02 ethereality: ok, one thing to note, if your in the dir you just need to do ls -la . Jul 12 10:53:09 ethereality: you don't need to speciy the full path Jul 12 10:53:17 oh, 'k, thx Jul 12 10:53:17 brb ... Jul 12 10:53:22 ethereality: can we try something - it may seem a little pointless ... Jul 12 10:59:26 ikonia, sure ... Jul 12 11:02:32 >_> Jul 12 11:02:42 where in the world is carmen ikonia >_> Jul 12 11:02:43 !root Jul 12 11:02:44 Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo ... Jul 12 11:02:50 * ethereality misses his soulmate ... Jul 12 11:03:04 lol @ ubottu ... Jul 12 11:06:48 * ethereality mourns his long lost ikonia ... Jul 12 11:12:48 >ikonia< i await your return >_> Jul 12 11:12:49 * You have left channel #ubuntu ("bbl") **** ENDING LOGGING AT Sat Jul 12 11:12:49 2008 **** BEGIN LOGGING AT Sat Jul 12 11:26:03 2008 Jul 12 11:28:52 ethereality: hi, sorry I had to pop away for a few minutes ... Jul 12 11:29:11 yaaaaaay you're back ikonia i'm so happy. ... Jul 12 11:29:28 ethereality: apologies, where are you up to ... Jul 12 11:29:34 uhhh ... Jul 12 11:29:43 the trying something pointless bit, ikonia Jul 12 11:29:51 ethereality: what I'd like to do is unmount your ntfs partition if possible please. Jul 12 11:29:55 O_O Jul 12 11:30:03 but but but ..... that smells of death and destruction ... Jul 12 11:30:08 no no ... Jul 12 11:31:10 ikonia, would that be "sudo umount /media/sda1"? ... Jul 12 11:31:18 ethereality: thats right yes ... Jul 12 11:31:23 (it's my windows partition, by the way) Jul 12 11:31:26 ethereality: make sure you have no-one in that directory ... Jul 12 11:31:29 ethereality: ok, thats fine Jul 12 11:31:36 ikonia, what after i unmount it? and what do you mean, make sure no one's in it? you mean accessing it? ... Jul 12 11:31:50 ethereality: before you did cd /media/sda1 - your "in it" ... Jul 12 11:32:00 ethereality: or nautilus having it open Jul 12 11:33:08 ikonia, done.... now what? Jul 12 11:33:19 ethereality: ok, now how did you mount it before ? Jul 12 11:33:30 ikonia, i did what people here told me to do to install ntfs-3g Jul 12 11:33:44 ethereality: yes, but how did you then mount it once it was installed ? Jul 12 11:33:46 ikonia, it involved gedit and some file i think Jul 12 11:34:02 ikonia, i don't understand what you're asking me. Jul 12 11:34:15 ethereality: what command did you use to mount the disk ? Jul 12 11:34:18 ikonia, i really don't know how to mount things. Jul 12 11:34:39 ethereality: ok so "sudo mount -t ntfs-3g /dev/sda1 /media/sda1 Jul 12 11:35:29 ikonia, done. Jul 12 11:35:37 ethereality: no warnings ? Jul 12 11:35:40 no. Jul 12 11:35:51 ethereality: ok, thats good, thats what I wanted to check Jul 12 11:35:56 ethereality: so now try your tests in /mnt/sda Jul 12 11:36:20 ikonia, you mean /mnt/sda1 ? Jul 12 11:36:38 ethereality: sory yes Jul 12 11:36:54 ikonia, "bash: cd: /mnt/sda1: No such file or directory" Jul 12 11:37:18 ethereality: /media/sda1 sorry Jul 12 11:37:25 ikonia, -- yeah, about to ask that. Jul 12 11:38:32 ikonia, i cd to directory, do the touch test1 thing, do ls -la, and it seems i can write to it and that everything is owned by root. Jul 12 11:38:53 ethereality: try chowning it Jul 12 11:39:59 ikonia, "chown daniel test1" enters but does nothing. should it be "daniel:daniel" or something? Jul 12 11:40:16 ethereality: you dont have to use a group, but you can do Jul 12 11:41:38 ikonia, neither chown, sudo chown, daniel, or daniel:daniel does anything. Jul 12 11:41:52 ethereality: thats exceptionally odd Jul 12 11:42:01 i can pastebin to prove it >_> Jul 12 11:42:10 (or more strongly state it.) Jul 12 11:42:20 ethereality: I don't doubt Jul 12 11:42:51 ikonia, should i create thread at ubuntuforums at this point? Jul 12 11:43:18 ethereality: I'd log a bug, I suspect it's because your using an earlier version of the ntfs-3g driver, but I can't be certain Jul 12 11:43:40 ikonia, don't know how to log a bug other than create a thread and yell HALP >_> Jul 12 11:43:59 ethereality: thats a pretty bad way, "yelling help" normally gets you ignored Jul 12 11:44:08 ethereality: the best way is to log fact, details and fact Jul 12 11:44:13 but i don't yell help. i yell HALP. sooooo much difference. Jul 12 11:44:15 !launchpad | ethereality Jul 12 11:44:15 ethereality: Launchpad is a collection of development services for Open Source projects. It's Ubuntu's bug tracker, and much more; see https://launchpad.net/ Jul 12 11:44:27 ethereality: that sort of behaviour will get you little help Jul 12 11:44:39 ethereality: I'm trying to advise you and guide you and your making petty jokes Jul 12 11:44:50 ikonia, i'm joking (sort of) ... i basically describe the problem in as much detail as i can, and log everything i've done and conversations Jul 12 11:45:10 ethereality: visit launchpad.net - open an account and log a bug Jul 12 11:45:20 doing ...... [code]daniel@daniel-laptop:~$ sudo chown daniel /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages/jokes.shtml [sudo] password for daniel: daniel@daniel-laptop:~$ ls -la /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages total 1674 drwxrwxrwx 1 root root 16384 2008-07-12 10:18 . drwxrwxrwx 1 root root 4096 2008-07-12 10:18 .. -rwxrwxrwx 1 root root 2481 2008-07-06 23:50 abortion.shtml -rwxrwxrwx 1 root root 2369 2008-07-06 23:50 abortion.shtml~ -rwxrwxrwx 2 root root 5284 2008-01-01 13:20 albumreviews.shtml -rwxrwxrwx 1 root root 5234 2008-01-01 13:20 albumreviews.shtml~ -rwxrwxrwx 2 root root 125583 2007-03-15 17:19 albumreviews.txt -rwxrwxrwx 2 root root 140028 2008-02-03 08:00 albumstable.htm -rwxrwxrwx 1 root root 140040 2008-02-03 08:00 albumstable.htm~ -rwxrwxrwx 1 root root 13251 2007-12-29 18:53 albumstodotable.htm -rwxrwxrwx 1 root root 147055 2007-12-29 18:53 albumstodotable.htm~ drwxrwxrwx 1 root root 0 2007-06-18 17:02 backuprep_files -rwxrwxrwx 1 root root 8693 2007-06-18 17:02 backuprep.shtml -rwxrwxrwx 2 root root 62828 2008-07-04 11:21 biblestudy.shtml -rwxrwxrwx 1 root root 42536 2008-04-01 22:47 biblestudy.shtml~ -rwxrwxrwx 2 root root 43894 2008-07-11 19:53 booksread.htm -rwxrwxrwx 1 root root 43894 2008-07-11 19:53 booksread.htm~ -rwxrwxrwx 2 root root 21422 2008-07-10 17:22 booksreading.htm -rwxrwxrwx 1 root root 21328 2008-07-10 17:22 booksreading.htm~ -rwxrwxrwx 2 root root 2542 2007-05-18 11:29 books.shtml -rwxrwxrwx 1 root root 2363 2007-05-18 11:29 books.shtml~ -rwxrwxrwx 1 root root 1701 2008-06-10 21:42 clinton.shtml -rwxrwxrwx 1 root root 32859 2008-06-10 21:42 clinton.shtml~ -rwxrwxrwx 2 root root 16996 2008-06-17 22:53 clothing.shtml -rwxrwxrwx 1 root root 16941 2008-06-17 22:53 clothing.shtml~ -rwxrwxrwx 2 root root 2823 2008-06-11 23:32 collegessons.shtml -rwxrwxrwx 1 root root 3261 2008-06-11 23:32 collegessons.shtml~ -rwxrwxrwx 2 root root 3765 2005-08-25 00:35 comp.shtml -rwxrwxrwx 2 root root 3132 2008-06-19 20:17 contact.shtml -rwxrwxrwx 1 root root 2637 2008-01-09 21:40 contact.shtml~ -rwxrwxrwx 1 root root 1282 2008-06-11 23:14 dumbarg.shtml -rwxrwxrwx 1 root root 1624 2008-06-11 23:14 dumbarg.shtml~ -rwxrwxrwx 1 root root 2500 2008-02-25 09:31 dumbarguments.shtml~ -rwxrwxrwx 1 root root 5466 2008-06-30 15:02 gays.shtml -rwxrwxrwx 1 root root 5461 2008-06-30 15:02 gays.shtml~ -rwxrwxrwx 2 root root 12932 2006-10-14 01:04 gimme.shtml -rwxrwxrwx 2 root root 2766 2005-08-25 19:52 home.shtml -rwxrwxrwx 1 root root 7416 2008-04-02 23:46 immigration.shtml -rwxrwxrwx 1 root root 7422 2008-04-02 23:46 immigration.shtml~ -rwxrwxrwx 1 root root 2286 2007-12-09 14:38 incomplete.htm -rwxrwxrwx 1 root root 2252 2007-12-09 14:38 incomplete.htm~ -rwxrwxrwx 2 root root 41205 2007-06-22 18:50 jokes.shtml -rwxrwxrwx 1 root root 41205 2008-07-12 10:18 jokes.shtml~ -rwxrwxrwx 2 root root 11242 2006-05-16 23:07 links2.shtml -rwxrwxrwx 1 root root 11242 2008-06-17 01:17 links2.shtml~ -rwxrwxrwx 1 root root 32575 2008-06-16 10:41 mccain.shtml -rwxrwxrwx 1 root root 32536 2008-06-16 10:41 mccain.shtml~ -rwxrwxrwx 2 root root 1547 2006-03-19 21:23 mcnotes.shtml -rwxrwxrwx 2 root root 12339 2005-08-25 00:35 mixes.shtml -rwxrwxrwx 2 root root 1163 2007-05-18 10:46 model.shtml -rwxrwxrwx 1 root root 1166 2007-05-18 10:46 model.shtml~ -rwxrwxrwx 1 root root 1994 2008-04-27 16:49 modern.shtml~ -rwxrwxrwx 2 root root 3193 2006-04-10 09:56 mtsu.shtml -rwxrwxrwx 1 root root 997 2008-06-11 23:31 nav.htm -rwxrwxrwx 1 root root 998 2008-06-11 23:19 nav.htm~ -rwxrwxrwx 1 root root 7824 2008-06-22 22:34 obama.shtml -rwxrwxrwx 1 root root 7548 2008-06-22 22:34 obama.shtml~ drwxrwxrwx 1 root root 0 2008-06-11 23:35 old -rwxrwxrwx 1 root root 13507 2008-05-23 18:20 oldbiblestudycontent -rwxrwxrwx 1 root root 12823 2008-03-30 12:07 oldbiblestudycontent~ -rwxrwxrwx 1 root root 58914 2008-01-25 22:03 oldgays.shtml -rwxrwxrwx 1 root root 892 2005-08-25 00:35 oldprobs.txt -rwxrwxrwx 2 root root 15012 2005-12-17 16:35 ownmusic.shtml -rwxrwxrwx 2 root root 6349 2008-05-07 16:19 perf.shtml -rwxrwxrwx 1 root root 5700 2007-08-18 11:13 perf.shtml~ -rwxrwxrwx 1 root root 324 2005-08-25 00:35 php.htm -rwxrwxrwx 1 root root 1739 2005-08-25 00:35 pics.htm -rwxrwxrwx 2 root root 10916 2007-04-29 20:41 politics.shtml -rwxrwxrwx 1 root root 10916 2008-05-27 19:55 politics.shtml~ -rwxrwxrwx 2 root root 3853 2005-08-25 00:35 poll2.shtml -rwxrwxrwx 2 root root 2612 2005-08-25 00:35 poll.shtml -rwxrwxrwx 2 root root 5262 2007-05-25 11:20 pp.shtml -rwxrwxrwx 1 root root 5109 2007-05-25 11:20 pp.shtml~ -rwxrwxrwx 1 root root 33088 2008-06-10 21:41 pres.shtml -rwxrwxrwx 1 root root 33316 2008-06-10 21:41 pres.shtml~ -rwxrwxrwx 2 root root 993 2005-08-25 00:35 prob2.shtml -rwxrwxrwx 2 root root 1013 2005-08-25 00:35 probframe.htm -rwxrwxrwx 2 root root 2975 2005-08-25 00:35 prob.shtml -rwxrwxrwx 1 root root 5423 2008-02-20 09:24 profile.shtml -rwxrwxrwx 1 root root 5425 2008-02-20 09:24 profile.shtml~ -rwxrwxrwx 2 root root 9158 2007-10-03 21:38 questions.shtml -rwxrwxrwx 1 root root 7823 2007-07-31 21:01 questions.shtml~ -rwxrwxrwx 2 root root 367 2006-03-13 14:19 questions.txt -rwxrwxrwx 2 root root 45512 2006-05-13 22:58 quot2.shtml -rwxrwxrwx 2 root root 63795 2008-06-26 14:47 quot.shtml -rwxrwxrwx 1 root root 63759 2008-06-26 14:47 quot.shtml~ -rwxrwxrwx 1 root root 17132 2008-06-17 13:42 redlight.shtml -rwxrwxrwx 1 root root 17057 2008-06-17 13:42 redlight.shtml~ -rwxrwxrwx 2 root root 10140 2007-06-27 21:49 rep.shtml -rwxrwxrwx 1 root root 10083 2007-06-27 21:49 rep.shtml~ -rwxrwxrwx 2 root root 8063 2006-01-11 18:42 ruleof8.shtml -rwxrwxrwx 2 root root 113261 2005-12-17 16:39 songs.shtml -rwxrwxrwx 2 root root 120 2005-08-25 00:35 soundtrack.txt -rwxrwxrwx 1 root root 1668 2008-06-11 23:03 usa.shtml -rwxrwxrwx 1 root root 2849 2007-08-15 14:27 usa.shtml~ daniel@daniel-laptop:~$ man ls daniel@daniel-laptop:~$ man touch daniel@daniel-laptop:~$ cd /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ touch test1 daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ ls -la test1 -rwxrwxrwx 1 root root 0 2008-07-12 10:44 test1 daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ sudo chown daniel test1 [sudo] password for daniel: daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ ls -la test1 -rwxrwxrwx 1 root root 0 2008-07-12 10:44 test1 daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ ls -lai /media/sda1/Documents\ and\ Settings/Owner/My\ Documents/My\ Webs/dan/pages total 1674 33255 drwxrwxrwx 1 root root 16384 2008-07-12 10:44 . 33254 drwxrwxrwx 1 root root 4096 2008-07-12 10:44 .. 2457 -rwxrwxrwx 1 root root 2481 2008-07-06 23:50 abortion.shtml 2462 -rwxrwxrwx 1 root root 2369 2008-07-06 23:50 abortion.shtml~ 86576 -rwxrwxrwx 2 root root 5284 2008-01-01 13:20 albumreviews.shtml 60530 -rwxrwxrwx 1 root root 5234 2008-01-01 13:20 albumreviews.shtml~ 102411 -rwxrwxrwx 2 root root 125583 2007-03-15 17:19 albumreviews.txt 86640 -rwxrwxrwx 2 root root 140028 2008-02-03 08:00 albumstable.htm 19641 -rwxrwxrwx 1 root root 140040 2008-02-03 08:00 albumstable.htm~ 60528 -rwxrwxrwx 1 root root 13251 2007-12-29 18:53 albumstodotable.htm 60529 -rwxrwxrwx 1 root root 147055 2007-12-29 18:53 albumstodotable.htm~ 51361 drwxrwxrwx 1 root root 0 2007-06-18 17:02 backuprep_files 100056 -rwxrwxrwx 1 root root 8693 2007-06-18 17:02 backuprep.shtml 63025 -rwxrwxrwx 2 root root 62828 2008-07-04 11:21 biblestudy.shtml 60374 -rwxrwxrwx 1 root root 42536 2008-04-01 22:47 biblestudy.shtml~ 36925 -rwxrwxrwx 2 root root 43894 2008-07-11 19:53 booksread.htm 2443 -rwxrwxrwx 1 root root 43894 2008-07-11 19:53 booksread.htm~ 15292 -rwxrwxrwx 2 root root 21422 2008-07-10 17:22 booksreading.htm 28536 -rwxrwxrwx 1 root root 21328 2008-07-10 17:22 booksreading.htm~ 34195 -rwxrwxrwx 2 root root 2542 2007-05-18 11:29 books.shtml 29069 -rwxrwxrwx 1 root root 2363 2007-05-18 11:29 books.shtml~ 2368 -rwxrwxrwx 1 root root 1701 2008-06-10 21:42 clinton.shtml 2369 -rwxrwxrwx 1 root root 32859 2008-06-10 21:42 clinton.shtml~ 18107 -rwxrwxrwx 2 root root 16996 2008-06-17 22:53 clothing.shtml 2446 -rwxrwxrwx 1 root root 16941 2008-06-17 22:53 clothing.shtml~ 107285 -rwxrwxrwx 2 root root 2823 2008-06-11 23:32 collegessons.shtml 2480 -rwxrwxrwx 1 root root 3261 2008-06-11 23:32 collegessons.shtml~ 34196 -rwxrwxrwx 2 root root 3765 2005-08-25 00:35 comp.shtml 63101 -rwxrwxrwx 2 root root 3132 2008-06-19 20:17 contact.shtml 103290 -rwxrwxrwx 1 root root 2637 2008-01-09 21:40 contact.shtml~ 2389 -rwxrwxrwx 1 root root 1282 2008-06-11 23:14 dumbarg.shtml 2388 -rwxrwxrwx 1 root root 1624 2008-06-11 23:14 dumbarg.shtml~ 16681 -rwxrwxrwx 1 root root 2500 2008-02-25 09:31 dumbarguments.shtml~ 33990 -rwxrwxrwx 1 root root 5466 2008-06-30 15:02 gays.shtml 37462 -rwxrwxrwx 1 root root 5461 2008-06-30 15:02 gays.shtml~ 34198 -rwxrwxrwx 2 root root 12932 2006-10-14 01:04 gimme.shtml 34199 -rwxrwxrwx 2 root root 2766 2005-08-25 19:52 home.shtml 34167 -rwxrwxrwx 1 root root 7416 2008-04-02 23:46 immigration.shtml 34832 -rwxrwxrwx 1 root root 7422 2008-04-02 23:46 immigration.shtml~ 29052 -rwxrwxrwx 1 root root 2286 2007-12-09 14:38 incomplete.htm 29701 -rwxrwxrwx 1 root root 2252 2007-12-09 14:38 incomplete.htm~ 34200 -rwxrwxrwx 2 root root 41205 2007-06-22 18:50 jokes.shtml 17052 -rwxrwxrwx 1 root root 41205 2008-07-12 10:18 jokes.shtml~ 34201 -rwxrwxrwx 2 root root 11242 2006-05-16 23:07 links2.shtml 2442 -rwxrwxrwx 1 root root 11242 2008-06-17 01:17 links2.shtml~ 2363 -rwxrwxrwx 1 root root 32575 2008-06-16 10:41 mccain.shtml 2370 -rwxrwxrwx 1 root root 32536 2008-06-16 10:41 mccain.shtml~ 37435 -rwxrwxrwx 2 root root 1547 2006-03-19 21:23 mcnotes.shtml 34202 -rwxrwxrwx 2 root root 12339 2005-08-25 00:35 mixes.shtml 34203 -rwxrwxrwx 2 root root 1163 2007-05-18 10:46 model.shtml 28969 -rwxrwxrwx 1 root root 1166 2007-05-18 10:46 model.shtml~ 35623 -rwxrwxrwx 1 root root 1994 2008-04-27 16:49 modern.shtml~ 81895 -rwxrwxrwx 2 root root 3193 2006-04-10 09:56 mtsu.shtml 2477 -rwxrwxrwx 1 root root 997 2008-06-11 23:31 nav.htm 2447 -rwxrwxrwx 1 root root 998 2008-06-11 23:19 nav.htm~ 2371 -rwxrwxrwx 1 root root 7824 2008-06-22 22:34 obama.shtml 2374 -rwxrwxrwx 1 root root 7548 2008-06-22 22:34 obama.shtml~ 1896 drwxrwxrwx 1 root root 0 2008-06-11 23:35 old 60268 -rwxrwxrwx 1 root root 13507 2008-05-23 18:20 oldbiblestudycontent 34181 -rwxrwxrwx 1 root root 12823 2008-03-30 12:07 oldbiblestudycontent~ 45992 -rwxrwxrwx 1 root root 58914 2008-01-25 22:03 oldgays.shtml 34206 -rwxrwxrwx 1 root root 892 2005-08-25 00:35 oldprobs.txt 34207 -rwxrwxrwx 2 root root 15012 2005-12-17 16:35 ownmusic.shtml 76137 -rwxrwxrwx 2 root root 6349 2008-05-07 16:19 perf.shtml 38805 -rwxrwxrwx 1 root root 5700 2007-08-18 11:13 perf.shtml~ 34208 -rwxrwxrwx 1 root root 324 2005-08-25 00:35 php.htm 34209 -rwxrwxrwx 1 root root 1739 2005-08-25 00:35 pics.htm 86289 -rwxrwxrwx 2 root root 10916 2007-04-29 20:41 politics.shtml 60271 -rwxrwxrwx 1 root root 10916 2008-05-27 19:55 politics.shtml~ 34211 -rwxrwxrwx 2 root root 3853 2005-08-25 00:35 poll2.shtml 34210 -rwxrwxrwx 2 root root 2612 2005-08-25 00:35 poll.shtml 34212 -rwxrwxrwx 2 root root 5262 2007-05-25 11:20 pp.shtml 50963 -rwxrwxrwx 1 root root 5109 2007-05-25 11:20 pp.shtml~ 82256 -rwxrwxrwx 1 root root 33088 2008-06-10 21:41 pres.shtml 82564 -rwxrwxrwx 1 root root 33316 2008-06-10 21:41 pres.shtml~ 34214 -rwxrwxrwx 2 root root 993 2005-08-25 00:35 prob2.shtml 34215 -rwxrwxrwx 2 root root 1013 2005-08-25 00:35 probframe.htm 34213 -rwxrwxrwx 2 root root 2975 2005-08-25 00:35 prob.shtml 30467 -rwxrwxrwx 1 root root 5423 2008-02-20 09:24 profile.shtml 30578 -rwxrwxrwx 1 root root 5425 2008-02-20 09:24 profile.shtml~ 21808 -rwxrwxrwx 2 root root 9158 2007-10-03 21:38 questions.shtml 50958 -rwxrwxrwx 1 root root 7823 2007-07-31 21:01 questions.shtml~ 73282 -rwxrwxrwx 2 root root 367 2006-03-13 14:19 questions.txt 34216 -rwxrwxrwx 2 root root 45512 2006-05-13 22:58 quot2.shtml 76116 -rwxrwxrwx 2 root root 63795 2008-06-26 14:47 quot.shtml 368 -rwxrwxrwx 1 root root 63759 2008-06-26 14:47 quot.shtml~ 2375 -rwxrwxrwx 1 root root 17132 2008-06-17 13:42 redlight.shtml 2383 -rwxrwxrwx 1 root root 17057 2008-06-17 13:42 redlight.shtml~ 99955 -rwxrwxrwx 2 root root 10140 2007-06-27 21:49 rep.shtml 41423 -rwxrwxrwx 1 root root 10083 2007-06-27 21:49 rep.shtml~ 18589 -rwxrwxrwx 2 root root 8063 2006-01-11 18:42 ruleof8.shtml 34221 -rwxrwxrwx 2 root root 113261 2005-12-17 16:39 songs.shtml 34222 -rwxrwxrwx 2 root root 120 2005-08-25 00:35 soundtrack.txt 4666 -rwxrwxrwx 1 root root 0 2008-07-12 10:44 test1 2382 -rwxrwxrwx 1 root root 1668 2008-06-11 23:03 usa.shtml 28317 -rwxrwxrwx 1 root root 2849 2007-08-15 14:27 usa.shtml~ daniel@daniel-laptop:/media/sda1/Documents and Settings/Owner/My Documents/My Webs/dan/pages$ cd /home daniel@daniel-laptop:/home$ cd / daniel@daniel-laptop:/$ sudo umount /media/sda1 [sudo] password for daniel: daniel@daniel-laptop:/$ man mount daniel@daniel-laptop:/$ sudo mount -t ntfs-3g /dev/sda1 /media/sda1 daniel@daniel-laptop:/$ cd /mnt/sda bash: cd: /mnt/sda: No such file or directory daniel@daniel-laptop:/$ cd /mnt/sda1 bash: cd: /mnt/sda1: No such file or directory daniel@daniel-laptop:/$ cd /media/sda1 daniel@daniel-laptop:/media/sda1$ ls -la total 3137780 drwxrwxrwx 1 root root 40960 2008-07-12 10:44 . drwxr-xr-x 7 root root 4096 2008-07-12 09:42 .. -rwxrwxrwx 2 root root 10920 2005-12-27 14:04 aolconnfix.exe -rwxrwxrwx 2 root root 1039 2005-12-27 14:04 aolconnfix.txt -rwxrwxrwx 2 root root 1238 2006-08-09 00:18 _audioscrobbler.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 AUTOEXEC.BAT -rwxrwxrwx 1 root root 103 2005-08-19 23:43 BootErr.log -rwxrwxrwx 1 root root 211 2007-12-16 14:04 boot.ini drwxrwxrwx 1 root root 0 2005-03-23 05:01 Bundle drwxrwxrwx 1 root root 708608 2008-06-28 14:31 Config.Msi -rwxrwxrwx 1 root root 0 2005-03-23 13:13 CONFIG.SYS -rwxrwxrwx 2 root root 0 2008-05-11 19:09 CreateMarkers.log drwxrwxrwx 1 root root 4096 2008-07-12 10:44 Documents and Settings drwxrwxrwx 1 root root 0 2005-03-23 05:01 Drivers -rwxrwxrwx 2 root root 655 2006-01-11 15:13 EasyShareInstall.log -rwxrwxrwx 1 root root 2137509888 2008-07-11 17:32 hiberfil.sys -rwxrwxrwx 1 root root 0 2005-03-23 13:13 IO.SYS -rwxrwxrwx 1 root root 1095 2007-06-17 18:09 IPH.PH -rwxrwxrwx 2 root root 183 2005-09-03 23:04 LogiSetup.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 MSDOS.SYS drwxrwxrwx 1 root root 0 2006-11-30 23:07 MSOCache -rwxrwxrwx 1 root root 1188 2007-01-05 17:23 net_save.dna -rwxrwxrwx 1 root root 47564 2004-08-04 15:00 NTDETECT.COM -rwxrwxrwx 1 root root 250048 2008-05-08 14:06 ntldr -rwxrwxrwx 1 root root 1073741824 2008-07-11 17:32 pagefile.sys drwxrwxrwx 1 root root 32768 2008-07-08 22:54 Program Files drwxrwxrwx 1 root root 4096 2005-11-21 18:07 Psfonts drwxrwxrwx 1 root root 4096 2005-08-21 15:23 RECYCLER -rwxrwxrwx 1 root root 296429 2008-03-02 15:30 Screenshot-1.png -rwxrwxrwx 1 root root 283555 2008-03-02 15:29 Screenshot.png -rwxrwxrwx 2 root root 256 2005-06-12 10:34 SmartInstaller.log drwxrwxrwx 1 root root 4096 2005-09-13 10:18 System Volume Information drwxrwxrwx 1 root root 0 2007-09-18 15:49 Temp -rwxrwxrwx 1 root root 21 2007-09-18 20:42 tmuninst.ini -rwxrwxrwx 1 root root 191 2005-07-28 18:26 touchpad.log drwxrwxrwx 1 root root 0 2008-07-08 22:54 .Trash-daniel drwxrwxrwx 1 root root 106496 2008-06-24 14:16 WINDOWS -rwxrwxrwx 1 root root 150 2007-05-09 17:52 YServer.txt daniel@daniel-laptop:/media/sda1$ touch test1 daniel@daniel-laptop:/media/sda1$ ls -la total 3137780 drwxrwxrwx 1 root root 40960 2008-07-12 11:37 . drwxr-xr-x 7 root root 4096 2008-07-12 09:42 .. -rwxrwxrwx 2 root root 10920 2005-12-27 14:04 aolconnfix.exe -rwxrwxrwx 2 root root 1039 2005-12-27 14:04 aolconnfix.txt -rwxrwxrwx 2 root root 1238 2006-08-09 00:18 _audioscrobbler.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 AUTOEXEC.BAT -rwxrwxrwx 1 root root 103 2005-08-19 23:43 BootErr.log -rwxrwxrwx 1 root root 211 2007-12-16 14:04 boot.ini drwxrwxrwx 1 root root 0 2005-03-23 05:01 Bundle drwxrwxrwx 1 root root 708608 2008-06-28 14:31 Config.Msi -rwxrwxrwx 1 root root 0 2005-03-23 13:13 CONFIG.SYS -rwxrwxrwx 2 root root 0 2008-05-11 19:09 CreateMarkers.log drwxrwxrwx 1 root root 4096 2008-07-12 10:44 Documents and Settings drwxrwxrwx 1 root root 0 2005-03-23 05:01 Drivers -rwxrwxrwx 2 root root 655 2006-01-11 15:13 EasyShareInstall.log -rwxrwxrwx 1 root root 2137509888 2008-07-11 17:32 hiberfil.sys -rwxrwxrwx 1 root root 0 2005-03-23 13:13 IO.SYS -rwxrwxrwx 1 root root 1095 2007-06-17 18:09 IPH.PH -rwxrwxrwx 2 root root 183 2005-09-03 23:04 LogiSetup.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 MSDOS.SYS drwxrwxrwx 1 root root 0 2006-11-30 23:07 MSOCache -rwxrwxrwx 1 root root 1188 2007-01-05 17:23 net_save.dna -rwxrwxrwx 1 root root 47564 2004-08-04 15:00 NTDETECT.COM -rwxrwxrwx 1 root root 250048 2008-05-08 14:06 ntldr -rwxrwxrwx 1 root root 1073741824 2008-07-11 17:32 pagefile.sys drwxrwxrwx 1 root root 32768 2008-07-08 22:54 Program Files drwxrwxrwx 1 root root 4096 2005-11-21 18:07 Psfonts drwxrwxrwx 1 root root 4096 2005-08-21 15:23 RECYCLER -rwxrwxrwx 1 root root 296429 2008-03-02 15:30 Screenshot-1.png -rwxrwxrwx 1 root root 283555 2008-03-02 15:29 Screenshot.png -rwxrwxrwx 2 root root 256 2005-06-12 10:34 SmartInstaller.log drwxrwxrwx 1 root root 4096 2005-09-13 10:18 System Volume Information drwxrwxrwx 1 root root 0 2007-09-18 15:49 Temp -rwxrwxrwx 1 root root 0 2008-07-12 11:37 test1 -rwxrwxrwx 1 root root 21 2007-09-18 20:42 tmuninst.ini -rwxrwxrwx 1 root root 191 2005-07-28 18:26 touchpad.log drwxrwxrwx 1 root root 0 2008-07-08 22:54 .Trash-daniel drwxrwxrwx 1 root root 106496 2008-06-24 14:16 WINDOWS -rwxrwxrwx 1 root root 150 2007-05-09 17:52 YServer.txt daniel@daniel-laptop:/media/sda1$ chown daniel test1 daniel@daniel-laptop:/media/sda1$ ls -la total 3137780 drwxrwxrwx 1 root root 40960 2008-07-12 11:37 . drwxr-xr-x 7 root root 4096 2008-07-12 09:42 .. -rwxrwxrwx 2 root root 10920 2005-12-27 14:04 aolconnfix.exe -rwxrwxrwx 2 root root 1039 2005-12-27 14:04 aolconnfix.txt -rwxrwxrwx 2 root root 1238 2006-08-09 00:18 _audioscrobbler.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 AUTOEXEC.BAT -rwxrwxrwx 1 root root 103 2005-08-19 23:43 BootErr.log -rwxrwxrwx 1 root root 211 2007-12-16 14:04 boot.ini drwxrwxrwx 1 root root 0 2005-03-23 05:01 Bundle drwxrwxrwx 1 root root 708608 2008-06-28 14:31 Config.Msi -rwxrwxrwx 1 root root 0 2005-03-23 13:13 CONFIG.SYS -rwxrwxrwx 2 root root 0 2008-05-11 19:09 CreateMarkers.log drwxrwxrwx 1 root root 4096 2008-07-12 10:44 Documents and Settings drwxrwxrwx 1 root root 0 2005-03-23 05:01 Drivers -rwxrwxrwx 2 root root 655 2006-01-11 15:13 EasyShareInstall.log -rwxrwxrwx 1 root root 2137509888 2008-07-11 17:32 hiberfil.sys -rwxrwxrwx 1 root root 0 2005-03-23 13:13 IO.SYS -rwxrwxrwx 1 root root 1095 2007-06-17 18:09 IPH.PH -rwxrwxrwx 2 root root 183 2005-09-03 23:04 LogiSetup.log -rwxrwxrwx 1 root root 0 2005-03-23 13:13 MSDOS.SYS drwxrwxrwx 1 root root 0 2006-11-30 23:07 MSOCache -rwxrwxrwx 1 root root 1188 2007-01-05 17:23 net_save.dna -rwxrwxrwx 1 root root 47564 2004-08-04 15:00 NTDETECT.COM -rwxrwxrwx 1 root root 250048 2008-05-08 14:06 ntldr -rwxrwxrwx 1 root root 1073741824 2008-07-11 17:32 pagefile.sys drwxrwxrwx 1 root root 32768 2008-07-08 22:54 Program Files drwxrwxrwx 1 root root 4096 2005-11-21 18:07 Psfonts drwxrwxrwx 1 root root 4096 2005-08-21 15:23 RECYCLER -rwxrwxrwx 1 root root 296429 2008-03-02 15:30 Screenshot-1.png -rwxrwxrwx 1 root root 283555 2008-03-02 15:29 Screenshot.png -rwxrwxrwx 2 root root 256 2005-06-12 10:34 SmartInstaller.log drwxrwxrwx 1 root root 4096 2005-09-13 10:18 System Volume Information drwxrwxrwx 1 root root 0 2007-09-18 15:49 Temp -rwxrwxrwx 1 root root 0 2008-07-12 11:37 test1 -rwxrwxrwx 1 root root 21 2007-09-18 20:42 tmuninst.ini -rwxrwxrwx 1 root root 191 2005-07-28 18:26 touchpad.log drwxrwxrwx 1 root root 0 2008-07-08 22:54 .Trash-daniel drwxrwxrwx 1 root root 106496 2008-06-24 14:16 WINDOWS -rwxrwxrwx 1 root root 150 2007-05-09 17:52 YServer.txt daniel@daniel-laptop:/media/sda1$ sudo chown daniel test1 daniel@daniel-laptop:/media/sda1$ man ls daniel@daniel-laptop:/media/sda1$ man ls daniel@daniel-laptop:/media/sda1$ ls -la test1 -rwxrwxrwx 1 root root 0 2008-07-12 11:37 test1 daniel@daniel-laptop:/media/sda1$ chown daniel:daniel test1 daniel@daniel-laptop:/media/sda1$ ls -la test1 -rwxrwxrwx 1 root root 0 2008-07-12 11:37 test1 daniel@daniel-laptop:/media/sda1$ sudo chown daniel:daniel test1 daniel@daniel-laptop:/media/sda1$ ls -la test1 -rwxrwxrwx 1 root root 0 2008-07-12 11:37 test1 daniel@daniel-laptop:/media/sda1$ man chown daniel@daniel-laptop:/media/sda1$ [/code]