LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2009, 12:24 PM   #1
watsonsun
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
Unhappy Cannot move file to trash, do you want to delete immediately?


Hi all

I have Rhythmbox Music Player in ubuntu. When I click 'Move to trash' in rhythmbox, the song is not removed from my disk storage. However when I login as root (administrator), it is deleted from my disk. I have searched your forum and followed the suggestion of inserting into my fstab the line as shown below:

/dev/sda3 /media/MainStorage HPFS/NTFS defaults,unmask=007,gid=46,uid=watson 0 0

However after doing this and restarting my computer, the drive fails to mount altogether.

I hope someone can help me cause I am a totally newbee in Ubuntu

Thanks to all
Watson
 
Old 07-07-2009, 01:46 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
It won't mount because the filesystem type and options are wrong. I assume the drive is a windows drive (NTFS).

Here's a link to the Ubuntu Guide that talks about mounting NTFS drives.
 
Old 07-07-2009, 01:50 PM   #3
watsonsun
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for the response.

You are absolutely right. I have changed the script from

/dev/sda3 /media/MainStorage HPFS/NTFS defaults,unmask=007,gid=46,uid=watson 0 0

to

/dev/sda3 /media/MainStorage auto defaults,unmask=007,gid=46,uid=watson 0 0

and it solved my problem.

Thanks
 
Old 07-07-2009, 02:10 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I'm not sure "unmask" is an actual option. I think it's supposed to be umask (no N). Basically, umask is the opposite of chmod for permissions. For chmod, a permission of 777 gives read, write, and execute permissions to everyone. umask=000 will give read, write, and execute permissions to everyone.

Just out of curiosity, where did you get the gid=46 from? Usually gid's less than 1000 are system type groups...
 
Old 07-07-2009, 02:39 PM   #5
watsonsun
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I got this example from this thread http://ubuntuforums.org/showthread.php?t=900262

I just followed the example for gid=46. Should I change it and if so to what number?

Thanks for pointing the unmask. It should be umask. Didnt realised it when I typed from the example.

Thank again
Watson
 
Old 07-07-2009, 04:12 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
What is the output of cat /etc/group | grep 46 (you might have to use sudo if it comes back empty)? I'm just not sure you need either a gid or a uid. Typically, I don't put any extraneous things into an fstab entry if they're not needed. So I was just curious what group is assigned to 46.

Last edited by pljvaldez; 07-07-2009 at 04:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
move a file to Trash masatheesh Linux - Newbie 5 04-30-2009 07:18 AM
KDE4 'move to trash' doesn't vdemuth Slackware 4 04-21-2009 03:50 PM
Can't move files/folders to trash... adred Linux - General 1 06-22-2008 06:40 AM
Move to trash works beautifully, but empty trash .. different story. kd5eax Mandriva 2 12-04-2007 03:52 PM
making a script that will move a file or files in a trash folder Paxmaster Programming 5 12-12-2004 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration