LinuxQuestions.org
Visit Jeremy's Blog.
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 01-13-2010, 10:09 PM   #1
longbow0
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian
Posts: 20

Rep: Reputation: 2
"Permisson denied" while writing to a ntfs format usb stick


Hi,

I'm working on Debian Squeese (testing) and already have installed "ntfs-3g" and "ntfs-config" packages. I also have selected the item "Enable write support for external device" in ntfs-config.

Now my usb stick, 8g, ntfs format which was formated by mkfs.ntfs, could be mounted read-only automatically. It always said "Permission denied" while I'm trying to write to it.

How can I resolve this problem? Any suggestions will be appreciated.
 
Old 01-13-2010, 10:16 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
try this:

mount remount,rw,user <flash_drive_device>

and then try.
 
Old 01-13-2010, 10:29 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,177

Rep: Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645Reputation: 3645
fstab

http://www.linuxquestions.org/questi...-mount-459534/

Last edited by jefro; 01-13-2010 at 10:30 PM.
 
Old 01-14-2010, 01:36 AM   #4
longbow0
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 2
Thanks for your attention.

I've tried
Code:
mount -o remount,rw,user /dev/sdb1
but it didn't work.

Science it's a usb stick, I would not like to modify "/etc/fstab" file.
 
Old 01-14-2010, 02:35 AM   #5
longbow0
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 2
This could be resolved by manual mount:
Code:
# mount -t ntfs-3g -o uid=<uid>,gid=<gid> /dev/sdb1 /mnt/usb
where <uid> and <gid> are the numerical uid and gid.

But how to do with auto mount?
 
  


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
tshark gives "permission denied" writing to (any) file in home dir. kr0m3 Linux - Networking 6 10-08-2019 07:45 AM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 04:50 PM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 03:05 PM
lost writing ability on usb-stick / not possible with protocol "drives" - how to fix? ungua SUSE / openSUSE 3 11-24-2004 09:11 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 06:44 AM

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

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration