Ubuntu :: Force USB External HDD To Default Mount As Read Only?
Nov 28, 2010
how to force Ubuntu to mount a USB external drive as read only by default when you plug the USB drive in?
I know the drive /dev/...sda1 name but I have looked at editing fstab and not sure how to proceed. Is fstab the right thing to be editing?
View 2 Replies
ADVERTISEMENT
Jan 20, 2010
I want all USB-Devices (Hard-disks, USB-Sticks) that are plugged into a Slackware 13 be mounted as read-only.How do I achieve this?
View 4 Replies
View Related
Oct 7, 2010
I try
mount -t ntfs -o rw /dev/sdb1 /mnt/exthdd
it doesn't give me any response so I presume it succeeded but when I try to touch it, it tells me it's a read-only file system
View 1 Replies
View Related
Jun 13, 2010
When I ran 8.04, force check would be run every 23 boots. The ESCAPE key allowed me to skip it that boot and it would again start force check at the next boot. In 10.04, it gave me an option to use the C key to cancel, but it does not attempt force check at subsequent boots. It does not seem to do an automatic check any more.
How can I restore the original 10.04 setting? Or better yet, get it to perform as it did in 8.04
View 9 Replies
View Related
Feb 24, 2011
Is there a way to fix a partition that wont mount?
When I boot into Ubunutu I am told that the shared partition (which I called Storage on my shared NTFS D Drive) wont mount.
View 6 Replies
View Related
Aug 14, 2011
I have noticed that a CD or DVD wont mount in Ubuntu 10.04 but always mounts on a reboot. /media is empty.Could this maybe a hardware issue rather that a fault with Ubuntu? My PC is used almost every day and is 4 years old. Is there a command to force mount a CD or DVD?
View 6 Replies
View Related
Jun 14, 2010
Is there any setting to connect ssh server using default profile.
for example if I run
ssh user@ssh_server_ip '/bin/bash --norc --noprofile'
it will skip user's login profile(/etc/profile,/etc/bashrc,~/.bashrc,~/.bash_profile)
Can i do some settings in ssh server that deny profile skipping by client.
View 1 Replies
View Related
May 25, 2010
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
View 9 Replies
View Related
May 5, 2011
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
View 2 Replies
View Related
May 20, 2010
I have squid3 proxy and I want to define a default start web site that will be opened force only one time. Is something like it possible?
View 4 Replies
View Related
Dec 25, 2010
I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?
View 9 Replies
View Related
Aug 8, 2011
I'm having an issue running a CD via external CD/DVD player (LG portable super multi-drive)
My netbook is: eee pc 1005P Im running: Ubuntu netbook remix 10:10
I've tried the following:
Quote:
run
Code:
sudo mkdir /media/cdrom0; gksudo gedit /etc/fstab
add this line:
[Code]....
View 5 Replies
View Related
Jul 4, 2011
Been happily going along with Lucid Lynx, locked in, no problems. Slowly sorting through many files on an external 500 GB USB drive, moving into useful sub-folders. Today, I cannot write to any folders on that drive -- read only. ?!?! I run nautilus as root, still no joy. (Using nautilus GUI to browse files to move to other folders.. how can I change these settings to allow me to be able to write to this drive again?
View 9 Replies
View Related
Jun 16, 2010
How do I force Firefox to recognize a certain default firefox profile I have?
For whatever reason I can't get FF to show all of the add-ons I have. Yes, they are installed and they appear when as icons when I first boot up but after I close FF and start it again there are no icons (like Adblock).
View 1 Replies
View Related
Aug 30, 2010
Short version: How do I reformat an external hard-drive (read-only, NFTS) so that I can rw to it.
Long version: I had a self-built Ubuntu desktop that is now dead. I have pulled out the hard-drives and have bought one of the connector's to convert the SATA cable to USB so I can put the data on my Mac. Unfortunately, my Mac is not able to read the hard-drive for some reason... So, I've decided to boot my old Ubuntu laptop to pull the files from the SATA drive to an external drive then hopefully connect that external drive to transfer the files to the Mac. The external drive is currently formatted as NFTS and I'm unable to reformat it with gparted--I'm guessing that's because it's read-only mode...?
Ubuntu ext3 SATA -> connector -> Mac OS X
or
Ubuntu ext3 SATA -> connector -> Ubuntu ext3 laptop -> external NFTS HD -> Mac OS X
View 3 Replies
View Related
Nov 28, 2010
I have shared two external harddrives via samba on ubuntu, but only I can access it. The reason being is because I have logged into linux, and become the owner of the external hdd's. On the permission properties, I can see that the group I have created every other user under has "No Folder Access", and if I change this it reverts back instantly. So frustrating, I've tried to chmod it which hasn't done a thing. The owner of the external hdd's seems to be the only person who can access it over samba.Is there anyway I can get normal users to just read and write to external hdd's?
View 9 Replies
View Related
Feb 17, 2011
I have a computer with Ubuntu 10.04, with few disk space. For downloading some torrents, I've connected a USB hardrive, ext4 formated. But this idea wasn't a solution, because the drive keeps getting read-only permission... Is there any way of prevent this to happen?
View 2 Replies
View Related
Feb 27, 2011
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
View 4 Replies
View Related
Apr 6, 2011
Yesterday, I bought a 1TB WD Passport, for backup and storage. It uses NTFS, and I've had no problems manually mounting and moving files to and from it from root. However, I don't like having to be root to in any way modify the data on the drive. In order to avoid this I decided to create a line in fstab that would allow permissions to the user, so I added this to my fstab:
Code:
/dev/sdb1/mnt/external ntfs defaults,
noauto, noexec, user, uid=1000, gid=users, umask=0022, nls=utf8 0 0
This allows me to mount, unmount, and peruse the external HDD - however, if this is active, neither the user NOR root have permission to make any changes. The HDD acts as read only, even though there is no "ro" option on my fstab.
View 14 Replies
View Related
Feb 2, 2010
I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
View 3 Replies
View Related
Jun 26, 2010
I am using Thunar and XFCE4. I started with the minimal install CD, so this is not exactly Xubuntu as I do not have Xubuntu-desktop package installed. I installed psydm to be able to easily edit and control mounting, fstab etc... Anyways, I can't figure out how to write to this disk. I have amended the Thunar icon to read "gksudo Thunar" as its command. It opens Thunar with whatever elevated rights that would come along with the command. I still can't write to the disk. If I change the permissions for the disk under the properties tab to be "read&write" for the user group, It asks me about something to be done retroactively to files. No matter whether I choose yes or no here, it still does not change the disk to a writable disk.
No love and no ideas. Can you help me write to this disk ? I run as a user called "user" so maybe I should not have made Thunar open as "gksudo" ?
View 3 Replies
View Related
Aug 6, 2010
I just got a new WD Studio External USB 2.0/FW800 hard disk drive, it is formatted to HFS+ with Journaling (hfsplus) and I use it for both an iMAC and a PC/Linux. The problem is that on my PC (Linux - Ubuntu 9.10) there is always some kind of read-only error whenever I try to edit, create, delete anything on it. I tried it on my iMAC and I'm able to read and write on it with no problem.
The mount command on Linux gives me: /dev/sdc3 on /media/My Passport type hfsplus (rw,nosuid,nodev,uhelper=devkit) Clearly indicating that it ("My Passport" on /dev/sdc3) is mounted as "rw" (read and write, not read-only). I tried connecting it via Firewire 800 and USB 2.0 and both give me the same results. I also tried fixing it in my iMAC using Disk Utility but it reports on problem and I clearly safely "Ejected" it before unplugging it from my iMAC.
View 1 Replies
View Related
Jan 22, 2011
so here's my issue and what I think is causing it right now. I have a 1TB external usb hard drive that has worked perfectly, but recently I set it up a mount point for it in fstab so that I could create a SMB share on the drive so I could stream videos and pictures to my TV through my Wii using WiiMC. This now works perfectly, but now the hard drive has been set into read-only mode. When I use sudo to try to chmod the drive or the folders on it, it does nothing. When I right-click on the drive and check the permissions tab, it says the owner is root and all the options are greyed out.
I've read through several posts on similar topics to this, but none of them have been very helpful as they suggest using command line tools that I don't know how to use, so I'm hoping someone here can give me concise, step by step instructions of what to type in, or what settings to change in fstab to solve my little problem so I can start copying stuff back onto my drive. I'm running Ubuntu 10.10 and the filesystem on the external drive is FAT32. Here's some more info you might need:
sudo fdisk -l:
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]...
View 5 Replies
View Related
Aug 21, 2010
I was in the process of backing up data from my hard drive to an external usb drive when the drive suddenly became read only. Does anyone know how I can make it read/write again? I am using Debian Lenny and the drive is ntfs formatted. I have another ntfs formatted usb drive that is not effected in this way.
View 7 Replies
View Related
Mar 16, 2011
I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.
When attempting to create a "test" directory I get one of two messages:
Quote:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
Quote:
Keep in mind this is a newly-formatted, empty drive.
Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?
Okay, here's the information you'll need to make a diagnosis....
Here's the output of a "df -h" command:
Quote:
Here's the contents of my /etc/fstab:
Quote:
Here's the output of "cat /etc/mtab":
Quote:
Here's the output of a mount command:
Quote:
Here's the output of fdisk on the device in question:
Quote:
The number of cylinders for this disk is set to 48641.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.
View 13 Replies
View Related
Nov 2, 2010
I have a pc I want to clone and it has 2 partitions sda1 which is vfat and sda2 ntfs. When I had mounted my external hdd it was seen as sdc1 and my Knoppix boot as sdb1. I tried using the following command to copy the pc image to my external but when it gets to 26Gb it gives read error.
mkdir -p mybackup
mount -t ntfs -o rw /dev/sdc1 ./mybackup
dd if=/dev/sda of=./mybackup/780.iso bs=4096 conv=notrunc,noerror
Where am I going wrong? Is there anything wrong with my above commands?
View 3 Replies
View Related
Mar 16, 2010
I can NOT mount my CDROM. I see several under the /dev folder cdrom, cdrw, dvd, scd0, src, how do I kow which drive to mount? I would like to load KDE fom a slackware disk,
View 1 Replies
View Related
Mar 28, 2010
I've set up an NFS server on my MacBook, and mounted it on my Ubuntu desktop. Everything works fine, except all the files are read-only.
[Code]..
View 2 Replies
View Related
Jan 8, 2011
I recently formatted my memory stick in windows. It works properly in windows. I have a dual boot with ubuntu 10.04 and the usb automounts in read-only mode. I cannot write anything to the usb stick in ubuntu. sudo chomod does not work.
View 4 Replies
View Related
Mar 10, 2011
sudden of all all USB drives and sticks I put into a PC will not mount with read/write permissions (they did before). I can still copy to them, but only when I am root. I am on Maverick I've noticed though that if I run disk utility, then UNMOUNT the partition, Check File System, Mount the partition back, I get read/write access..
View 9 Replies
View Related