Results 1 to 9 of 9
Hi All,
I have a system that is dual booting Windows/Ubuntu, I rarely use Windows but when I do I want to have access to m files in Ubuntu, so ...
- 09-08-2009 #1
Deleting Files on NTFS shared
Hi All,
I have a system that is dual booting Windows/Ubuntu, I rarely use Windows but when I do I want to have access to m files in Ubuntu, so I basically have set it up to where all of my storage is in Windows and thus is accessible in Ubuntu. I can read/write to the NTFS partition no problem.
The issue is when I try to delete a file it doesn't go to the trash, instead it gives me a warning saying it can't go to the trash and instead must permanently delete the file and asked me if I'm sure....this gets really old as I constantly have to "verify" that I'm sure I want to delete a file, much easier to have it go to the trash and just to empty the trash once every week or two.
So, is there a way I can set it up so I can do this? If not, should I bug report this or is it a limitation put on by Windows which is insurmountable?
Thanks all!Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 09-08-2009 #2
Hi,
You might want to do a safe-rm
safe-rm - Project Hosting on Google Code
- 09-08-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 76
If you use shift+delete, it will bypass that warning, since shift-delete is the hotkey for permanent delete.
- 09-09-2009 #4
- 09-09-2009 #5Just Joined!
- Join Date
- Aug 2009
- Posts
- 76
This other thing will allow you to use trash:
Edit your /etc/fstab file, by typing the command gksu gedit /etc/fstab
Find the entry which points to your NTFS drive
add the following information into the 'options' area of the fstab entry (the options are immediately before the two 0/1 numbers, and seperated by commas)
Add these entries to it
umask=000,uid=1000
So if your fstab entry looks like this
UUID=4DD2955E3E83EC02 /media/wardog ntfs defaults,nls=utf8,gid=047 0 1
Change it to
UUID=4DD2955E3E83EC02 /media/wardog ntfs defaults,nls=utf8,umask=000,uid=1000,gid=047 0 1
Save and reboot
---------------------------------------------------
The UID entry sets your user as the owner and gives you read write execute permissions, and the umask entry removes other potential permissions problems. The result is a working trash can for that drive.
- 09-09-2009 #6
hey all,
I think I was unclear on what I want (ZeroAngel I think you have it right but your command failed, my drive doesn't even mount when I add those)
UUID=23914C023V234B1FA /media/Windows ntfs defaults,nls=utf8,umask=000, uid = 1000,gid=46 0 1
I don't want to be prompted every time, I don't want warnings, I don't want to verify deletes after each round, I don't want to have to permenantly delete each thing before it going to trash. I want it to go to the trash without being prompted and then be able to just empty my trash like normal once a week or so, exactly how it works "normally" under EXT partitions.
Thanks allBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 09-09-2009 #7Just Joined!
- Join Date
- Aug 2009
- Posts
- 76
Try this one:
UUID=23914C023V234B1FA /media/Windows ntfs defaults,nls=utf8,umask=000,uid=1000,gid=46 0 1
Its exactly like the one you posted but note how there are no longer any spaces around the part that says "uid"
- 09-09-2009 #8
excellent! worked, can you tell me what those extra two things really do? Thanks!
Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 09-09-2009 #9Just Joined!
- Join Date
- Aug 2009
- Posts
- 76
Good to know!
umask = 000 gives rwx (read-write-execute) permissions to all users -- (its the inverse of chmod 777 which does the same)
uid=1000 sets the 'owner' of the files on the partition to the main user, which by default has the user id # 1000


Reply With Quote
