Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> File System Access Rights, Problems with read-only
snwright
post Apr 13 2003, 10:37 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 13-April 03
Member No.: 670



Hey:
I just installed linux on my machine: a Caldera release. It's a lot of fun, i definitely appreciate having it. But i'm having a few problems. Here's one.
I have two physical drives, and I use (and have used for some time, back when i ran windows) one of them to store a large music collection. I kept it intact when i converted to Linux, and now i find that it has been mounted as a read-only file system, so i can only play music, not organize or add to it. as i understand, i cannot use chmod or chown to alter this, and have found no suitable way to remedy my problem.
any idas?
Go to the top of the page
 
+Quote Post
Corey
post Apr 14 2003, 11:29 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Okay, first off, is the second physical disk (the one holding your music collection) formatted with fat32 or with NTFS? Or is it a linux-formatted filesystem?

The reason:

FAT32 and Linux filesystems are fine, you should be able to read-write to these without any trouble. NTFS is a different deal. The NTFS filesystem has yet to be fully figured out, you are able to read from it fine, however, writing will not work. The linux kernel does include code for this, but it is extreamly unstable and you risk loosing all data on the drive by using it.

What to do:

...if it is NTFS, then you have two choices. The first choice is to leave it and settle for only reading and no writing. The second choice is to copy all your music files to another partition then format that drive to a linux filesystem with mkfs and copy all your files back over. If you still have windows instaled somewhere, or would still like to make it readable to windows for some time in the future, then instead of formating for linux, you can use a dos bootdisk, and format the drive as fat32.

...if it is FAT32 or Linux, then you can setup your /etc/fstab file to mount the filesystem with read-write access. Instead of going into specifics on this, I would suggest that you read the man page for mount with "man mount" and check out the fat32 section for parameters on mounting the drive with different permissions


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
snwright
post Apr 16 2003, 08:48 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 13-April 03
Member No.: 670



Cool. Thanks. It definitely isn't linux... How do I tell which it is?

-spencer
Go to the top of the page
 
+Quote Post
Corey
post Apr 17 2003, 07:46 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



If you issue the command "fdisk -l" (that's a lower case L) it may tell you what filesystem is on that partition.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
snwright
post Apr 25 2003, 02:25 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 13-April 03
Member No.: 670



Ok. I tried, and I guess i don't have fdisk. Can I get it?

i've also been having problems with a shell script i've been writing - i've found that my shell isn't saving the exit status of programs as $status. can i set status to have the correct values?

thanks,
spencer
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 05:06 PM