Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-09-2008, 07:16 PM
|
#1
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
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.
|
|
|
10-09-2008, 08:50 PM
|
#2
|
Member
Registered: Apr 2007
Location: Athens, Georgia, USA
Distribution: kubuntu 12.04, centos 6.3
Posts: 31
Rep:
|
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?
|
|
|
10-09-2008, 11:11 PM
|
#3
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
Original Poster
|
Quote:
Originally Posted by eagleheart
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'
|
|
|
10-10-2008, 05:48 PM
|
#4
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
Original Poster
|
it works when you format the drive as ext2.
thx,
|
|
|
10-13-2008, 09:30 PM
|
#5
|
Member
Registered: Apr 2007
Location: Athens, Georgia, USA
Distribution: kubuntu 12.04, centos 6.3
Posts: 31
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|