LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 10-09-2008, 07:16 PM   #1
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,088

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
unable to write to my usb flash drive.


[fc-9 live-usb]
this is weird, basically no-one except for root can write to the empty space of my usb disk.

Code:
[root@localhost schneidz]# pwd
/media/disk/schneidz
[root@localhost schneidz]# ll
total 0
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 akuma
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 chun-li
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 h4x0rz
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 hello
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 l33t
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 world
[root@localhost schneidz]# mount
/dev/mapper/live-rw on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500,umask=000,dmask=000,fmask=000)
gvfs-fuse-daemon on /home/fedora/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=fedora)
[root@localhost schneidz]# chown schneidz akuma
chown: changing ownership of `akuma': Operation not permitted
[root@localhost schneidz]# chmod 777 *
[root@localhost schneidz]# chmod -R 777 .
[root@localhost schneidz]# ll
total 0
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 akuma
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 chun-li
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 h4x0rz
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 hello
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 l33t
-rwxr-xr-x 1 root root 0 2008-10-09 19:58 world
[root@localhost schneidz]# exit
logout

[schneidz@localhost schneidz]$ touch foobar
touch: cannot touch `foobar': Permission denied
anyone care to make sense of this.
 
Old 10-09-2008, 08:50 PM   #2
eagleheart
Member
 
Registered: Apr 2007
Location: Athens, Georgia, USA
Distribution: kubuntu 12.04, centos 6.3
Posts: 31

Rep: Reputation: 16
as far as chown & chmod is concerned...

vfat doesn't support such operations. Can you reformat the device as ext2 (i.e. something *nix based)

BTW who is UID 500 ? is it schneidz?
 
Old 10-09-2008, 11:11 PM   #3
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,088

Original Poster
Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Quote:
Originally Posted by eagleheart View Post
vfat doesn't support such operations. Can you reformat the device as ext2 (i.e. something *nix based)

BTW who is UID 500 ? is it schneidz?
thx, this tutorial says to use vfat: https://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo
i'll try ext2...

yes, i renamed the default 'fedora' user to 'schneidz'
 
Old 10-10-2008, 05:48 PM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,088

Original Poster
Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
it works when you format the drive as ext2.

thx,
 
Old 10-13-2008, 09:30 PM   #5
eagleheart
Member
 
Registered: Apr 2007
Location: Athens, Georgia, USA
Distribution: kubuntu 12.04, centos 6.3
Posts: 31

Rep: Reputation: 16
No problem, but
Quote:
this tutorial says to use vfat
yes, so I may have not helped at all

Decided to try making a usb live boot myself. The syslinux command doesn't work with an ext2 file system (expects a fat filesystem).

I'm working with sysrescuecd
http://www.sysresccd.org/Sysresccd-m...n_an_USB-stick , not fedora, but I'm sure it's the same principle.
 
  


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
Unable to get the write properties for my flash drive deepumnit Linux - Hardware 1 03-07-2008 11:36 AM
Cannot write to USB flash drive leisa Linux - Hardware 7 01-02-2008 09:30 AM
Can't format USB flash drive, write protection krisbitner Linux - Hardware 5 02-07-2007 03:18 PM
Unable to write to external USB drive m_lp_ql_m Linux - Newbie 2 08-29-2005 03:21 PM
USB Flash drive will not let me write. sniperhf Linux - Hardware 1 12-05-2003 02:39 AM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration