General :: Mint 8: Regular User Can't Access Ext3 Partition On Mounted MicroSD Card?
Feb 19, 2010
I have an HP laptop with a recently installed copy of Mint 8 KDE Community Edition. I created the initial admin user account ("joseph") when I installed.
I had an existing home directory under a different name from another installation, so I added a user with that name ("joe") and imported a copy of the original home directory. The user "joe" didn't have the same admin privileges as the initial "joseph" account, so I added "joe" to the sudoers file and the same groups as the initial admin user.
Everything works perfectly under this arrangement, for the most part. Now here's the problem:
I have a T-Mobile G1 phone that uses Android. I've rooted and ROM-modded the G1, and have the microSD card in the phone set up with two partitions. The vfat partition stores all the photos, music and other stuff the phone needs. The ROM mod allows me to store apps on the SD card, so that second partition uses ext3 for its file system.
When I'm logged in as the admin "joseph" account and I insert the SD card in the laptop's card slot (or plug the phone into the USB port), the SD card can be mounted, and I have full access to both card partitions. I can see all folders. I do this to backup the contents of the card to an external drive (especially the apps in the ext3 partition, since that's been trashed on me once before on the phone).
However, when I log in as "joe", I cannot view the contents of the ext3 partition at all. I can see the vfat drive fine, and the ext3 partition mounts, but with user/group "joseph/joseph." When I open Dolphin to view the mounted ext3 partition, I get the error "could not enter folder /media/disk-1" at the bottom of the view window in Dolphin.
Here are the relative entries returned when I run "mount" to view the mounted drives:
/dev/mmcblk0p1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,uid=1001,utf8,shortname=mixed,flush)
/dev/mmcblk0p2 on /media/disk-1 type ext3 (rw,nosuid,nodev,uhelper=hal)
Note that the uid listed on the vfat mount is 1001, which is the gid for the "joe" account.
I know there must be a configuration setting somewhere that will allow the ext3 partition to automount under the "joe" user account. I suppose that using the admin account to change the permissions would be the easy way to do this, but there must be something that would do it automagically. I've ripped through all the config files I can find, but can't seem to find anything that would help.
All I'm looking for here is enough access to be able to copy the directories on that mount to my external drive.
I pulled the MicroSD card out of a non-working Android phone to backup its data onto my Debian system. My Desktop is Cinnamon and I was simply using copy/past from within Nemo. The files began to be transferred but during the transaction a dialog popped up declaring an input/output error. From that point on the card was not readable on my system.
I initially plugged the card into the computer via a USB card reader. I later tried using an SD card adapter and plugging it in my printer's SD slot. Still the system would not recognize the card. I also tried plugging the card into another Android phone. The phone could not read the card and attaching the phone to a computer did not recognize the card either. I then logged into a Windows 7 system but it could not detect it. The partition manager always showed the USB drive or SD slot as "device not connected". The last thing I tried was putting the card, with the SD adapter, in my camcorder. The camcorder prompted to format but failed to do so.
I would like to recover the pictures and videos off of the card but I am afraid that there may have been hardware failure on the card's controller. I have been searching around most of the day trying to find a solution but nothing I have tried has rendered it detectable on any system. If it is controller failure, need repairing or recovering data from physically damaged SD cards?
The Motorola mounts in 10.04 but I can't tell the size of the available disc space so don't know if it's some internal memory or the 16 GB microSD card. It shows some files and a setup.exe so I suspect it's not the card and don't want to screw anything up.
I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.
I have an Iomega External Hard Drive 1TB. Problem: Unable to write to Ext3 Partition. How I got here: Started off with going into windows and shrinking it's current NTFS partition down by 50GB. Then used an Ubuntu LiveCD to gain access to GParted and with that 50GB free I formatted it with an Ext3 system. It does this no problems. I then can't write anything to this partition? I've tried doing "chmod 777 /dev/sdb2" but it says Operation not Permitted.
EDIT: Need to be able to use it on YDL 6.2 on my PS3, YDL doesn't have NTFS write support and I want to transfer files larger than 4GB rendering Fat32 useless. No I'm not able to re-size or compress this large file.
I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock information to know if there are any problems with the harddrive. Unfortunately, partition is used in the production system and can't be unmounted.
I see two ways to get what I want: Run badblocks in read-only mode. This will probably take a lot of time and cause unnecessary bruden on the system. Somehow extract information about badblocks from the filesystem iteself. How can I view known badblocks registered in mounted filesystem?
I have a 500 G, where 80 are used for FC13. I added a new 80 G partiton, using Disk Utiliy, called it Backup, and I can access it when I am logged as root, When I log with any other user, even with all privileges (added almost in all groups), I get a dialog box requesting authentication.
I enter my user password, file manage just disappears as soon as dialog box disappears and I think it is a permission issue again.
In disk utility opposite to Device there is "dev/sdb", in mount point there is media/backup.
I opened fstab, I can not see an entry, here is the fstab :
# # /etc/fstab # Created by anaconda on Wed Jun 16 00:58:19 2010 # # Accessible filesystems, by reference, are maintained under '/dev/disk'
So what is the route to follow to follow to allow my user to access normally read and write to it without anu persmission issues
I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".
After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".
Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)
I am trying to figure out a totally odd behavior of the ext3 filesystem mounted in Ubuntu 9.10. There is a Korn Shell script, part of which does the following in the loop:
while ((1)); do mv dir1/file dir2; if [[ ! -r dir2/file ]]; then echo "ERROR" ls -l dir1/* dir2/* exit 1 elif echo "OK" fi done
Given that dir2/file always exists and that I do not move it asynchronously with "&", my script should never hit the "ERROR" statement. The odd thing is that it does, and quite randomly (no pattern at all). However when it does hit the ERROR case, ls -l prints that file is in dir2 and it is readable! I tried using "-e" instead of "-r" test - no luck. I never seen anything like this in 10 years of my programming experience. Same script worked fine on Fedora 11, and yet it wouldn't work on Ubuntu.
Size Label Mount point File system 52 GB Multimedia /MM ntfs 52 GB Backup /ABackup ntfs 52 GB Extras /Extras ext4 27 GB root / ext4 60 GB home /home ext4
The problem is that I cannot access the /MM and contents. I tried Properties > Permissions and changed applied the changes to subfolders and contents too. Now I can access /MM but not the contents. All are marked with a lock logo.There are numerous folders/files.Changing the permissions individually is a hectic work.possible to do it in a command line/script?
I have a really odd problem when I mount a partition with Nautilus is attributed to another user, I don't know why. I've tried by adding the following like in /etc/fstab /dev/sda2 /media/windoze ext3 user,noauto,rw 0 0 Then I can mount the partition but in this case it is attributed to the root and I don't have the permission to read it. I cannot understand why since I've given the 'user' option.
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
Yesterday, I upgraded to the 10.04 verion of xubuntu. Looks fine. However, I keep my data on an NTFS partition of my dual boot laptop, and am finding that I can't access it.
I have a symbolic link to that mounted partition, and when I click on it, I can see the first level of folders, but I can't execute them (even though they seem to be set to 777) and I can't open anything...
This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based
I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.
I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?
We are running debian off of an SD card and want to know what's best for /var?
- Plenty of room on 2GB SD card, so do we, make /var as large as possible (everything else is read only) to reduce block overwrites, or do we make /var as small as possible, hopefully reducing the load 'pdflush' places on the 200 Mhz system?
That said, why not ext2? Is there damage that can happen in /var due to insta-crash or power loss that will prevent proper system function? We heard ext4 is more optimized, but ext4 on 2.6.29, not sure.
If we must use a journaled file system for /var, then which is lowest load on system, or "better": jfs, ext3, jffs2 ...
I forgot the root passwd for linux (via the "single" mode) and, according to all confirms, did so successfully! I then try to log on to Centos as root, and I can't....it says "incorrect passwd"! So then I log on as another, regular, but not root, user, with that passwd, and boot up into Centos. if I try to "su" to root, with the new root passwd, again it says its incorrect. there is no "system admin" passwd set. I checked!. I need root access within Centos!
Recently I have renovated an old computer which once belonged to my dad (the old HDD crashed, and I just bought a new one to replace it). My parents want me to fix this computer for my 5-year-old sister to use. I decided to use Linux Mint as the OS because everything (flash, mp3, etc.) is already configured.
How do I create a user account in Linux Mint with limited access for my sister, so that it won't mess up the entire system?
All she does is surf the web, so I'm just worried that she might accidentally mess up a system setting that I eventually will have to fix it.
I have recently installed linux mint 10 Julia on my wife's Dell. I installed off CD from linux freedom website with the ftp download. My wife wanted her own account so I went to admin/users and groups and created her account. Or so I thought. When I tried to switch users (with the boot CD in and out of the drive) I got the follwing error:
1) "The panel encountered a problem while loading "OAFIID:GNOME_mintMenu" do you want to delete applet from your configuration?"
2) "The panel encountered a problem while loading "OAFIID:GNOME_IndicatorApplet" Do you want to delete the applet from your configuration?" Both of these had an orange word bubble with an exclamation point in it.
3) "Nautilus could not create the following required folders; :/home?tina?Disktop,/home/tina/.nautilus. Before running Nautilus, please create these folders or set permissions such that Nautilus can create them." This came in a red word bubble with an "x" in it. One last thing. When I installed linux mint 10 on my ancient compac (it has a pent 4 processor and had win 2K on it) all I had to do was plug in a usb wireless card and I was online. My wife's Dell has a wireless card built in and I can't find it in mint 10. How do I set up the wireless. Sorry for the "2 fer" but I'm pressed for time and have to get to work. I'm a copier tech/electrician and I'm good with the hardware but with the software, not so much. I'm sticking with linux no matter what the learning curve because my Mom gave me the compac evo thinking it was useless and I've brought it back to life with linux.
I have formatted a sd card ext3 for some test but I would like to to reformat to vfat. I have used linux to reformat using mkfs.vfat but still can't read it in windows. The next thing I was going to try was to dd from a good SD card but wanted to see
I would like to use the dd command to make a low level copy of a hard drive. How do you access the dd command in Linux Mint? I am going to install the source and target in the computer, boot up to Linux Mint with a Bootable CD and then copy one drive to the other.
A HP Netserver LP2000r, with original SCSI controller and HP NetRaid-2M controller, 3x 36GB Ultra3 HDD in RAID5, Debian (sarge/etch), has crashed after 992 days without reboot. From all that I can see, a hardware failure, most likely with the memory. The HP Diagnostic tools cannot find any problem, but everytime I boot into Knoppix, I get between 2minutes and 2 hours of runtime, and then either a kernel oops or just a complete and sudden halt.
Well, the box has earned its money. However, there is some data on the drives that I need to recover (yes, I have beaten myself up properly about not backing up that data, don't even go there !). There are three partitions: sda1 is /, sda2 is swap and sda3 is a LVM volume with 3 logical volumes on it. As far as I can tell, the hardware defect must have been creeping in and has made a total mess of the inodes in all these partitions.
After booting into Knoppix, I can restore the volumes using pvscan, vgscan, lvscan, vgcfgrestore and vgchange. If I try and mount them: mayhem. So I try and check them, using fsck.ext3. All sorts of interesting nonsense, such as a completely empty inode 11 (the first inode) and then obviously from there on all else is pointless. I tried using debugfs, but the information on what to do with it is somewhat spurious.
P.S.: Tomorrow I will go and get myself a 16GB Flash Drive and then hopefully I will be able to dump the partitions one by one onto that drive and transfer the images onto a different computer for analysis and data recovery.
want get Linux mint8 on to a separate partition but when i go into advance in the partition menu and and chose the partition i want,in this case (e),(c) having windows xp on it.it says ...no root file system is defined.
when I was first trying out Linux and installing Partitions, I did it right, but I used 200GB of Space, and so I decided I didn't want to use it VIA Partition and I wanted to use it VIA Wubi... and I didn't know the correct way to uninstall it... So I went to Windows Partition Manager and manually deleted the partition myself with the OS in it, but the thing is, it turned into 200GB of Unallocated space, and I couldn't give it back to my C: so it's just there... and now, a month *Present day* I want to install Mint 10 KDE and now... The big problem... I can't assign Linux Mint 10 to the unallocated space, only to the rest of the HDD... how do I assign it to the "Free" space? I tried "Specify Partitions Manually" but there was nothing that showed up. What would happen if I assigned negative 19% for Linux? Would it cause negative effects?
Then I convert the / partition filesystem by the following steps:login as root user in multi user mode read [url], and execute tune2fs -O extents,uninit_bg,dir_index /dev/mapper/VolGroup01-LogVol00 modify /etc/fstab, change the type of / to ext4
reboot (because fsck say running it on a mounted filesystem can cause filesystem damage, so i decide to reboot to single user mode first. maybe it's a mistake here) try to boot F11 to single user mode, failed
reboot from a SystemRescueCD-1.2.0 LiveCD run e2fsck -fpDC0 /dev/mapper/VolGroup01-LogVol00 in SystemRescueCD-1.2.0 LiveCD, no error reported
reboot try to boot F11 normally(multi user mode), but it failed at: EXT3-fs: dm-0: couldn't mount because of unsupported optional features (40).
I tried rescue mode of Fedora-11-i386-netinst.iso after these steps above. The / partition can be found and mounted to /mnt/sysimage correctly. I can read/write files in / partition, and i can even yum new softwares in rescue mode, but it just can't be mounted when booting.