Ubuntu Multimedia :: Lost Permissions On USB Drive
Mar 31, 2010
I put my 8 Gb USB drive in the slot tonight to rearrange some pictures (jpg and gif). When I attempted to cut and paste the cut function was not available. I checked the file properties and the files were all read only. I tried to change the permissions, but was presented with a message box:
[[The permissions could not be changed. Sorry, could not change the permissions of "115.jpg": Error setting permissions: Read-only file system]]
How to get back my permissions?
some programs updated ( like losing my Network Connection icon and having it show up now on the secondary users desktop, while it used to be that she couldn't get it to display, now I can't.)So I try to theme an app using APK Manager but now my 'out' folder is X'ed out, along w/ its contents, and it says I don't have permissions to view the folder/files. So i checked and I'm still the owner, my perms are all checked, I believe my group is still the same (same as my user name). Under 'System/Administration/User and Groups' I see that I'm still an Admin., I have all User Privileges marked true, my main group matches my user name and my ID is still 1000. Also my password is still valid. Please, someone tell me WTF is happening here, LOL. Thnx in advance for ur patience and concern
I got my livna, and rpm fusion repositories in order today, and my dvd started playing movies, but when I tried my cd rom, nothing happened when I inserted a music cd. I googled for info and came accross a blog talking about permissions. And when I right clicked on my cd drive icon and looked into permissios, it said: "The permissions of "CD DRIVE" could not be determined. The open with tab was blank, so I selected "Rythmbox" and thought that would fix it, but it's still not doing any thing after inserting cd. Also if I try looking up the cd from within Rythmbox, the cd doesn't show.
I accidentally wiped my 120GB external hardrive clean ( it was at about 95% capacity ) and I was able to recover 111.80GB back using ddrescue and all of those files now sit in a Recovery.img file.
1 ) I know I have to mount this file... yet every time I try to mount it back on my external HD permissions jump down my neck, and to add to it when I try to give my user full permissions for that drive it never works and resets to how it was.
2 )I have tried copying to .img to my drive so I could jsut worry about it later and free up some local HD space yet I don't have those permissions as well...
i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions
I use a USB drive to store most of my personal and work files, and I use it both at home and at work (two different machines, both running Ubuntu). The drive is encrypted, and is accessed using TrueCrypt (the entire drive is encrypted as a device rather than an encrypted file on the device). The TrueCrypt device is formatted as ext3/ext4.
I have a problem with certain file permissions being changed to read-only (rw-r--r--) after mounting the drive. This happens after I have used it on one computer, and then I mount it on the other. Even though I have been setting write permissions to all (chmod -R a+rw *) to get around this problem, when I mount on the other machine the write access is gone. I don't want to keep manually changing permissions; I would like the file permissions to stay as I set them.I'm using the same version of TrueCrypt at work and at home. I'm running Ubuntu 9.04 at work, and 9.10 at home.I do have different usernames on these computers, and I suspect that is the problem (but don't see why this would change file permissions for all users).
I have a system with 10 drives running Linux software RAID using RAID 6. Today the system stopped responding and needed to be hard power cycled. The filesystem on the RAID (note, not the root filesystem, that's on its own drive) is in tact and the data is still there.
But I noticed during the boot sequence this:
The first part didn't surprise me, it just seemed that a drive dropped out. No big deal, RAID is designed to handle just that. But that last bit concerned me. I didn't like the term "capacity change" on my RAID.
As I said before, the filesystem is fine. No change from before:
But /proc/mdstat says this:
Notice the [10/9]. I've seen it say [9/10] when a drive mistakenly dropped out before. And after re-syncing it went back to [10/10] as expected. But does this mean something different? Is there something else that needs to be done besides just letting this finish? Has the RAID somehow changed its shape in some way?
I am running Ubuntu Server 10.04 LTS with Kernel 2.6.32-22-generic-pae I was originally using usbmount to autmont the western digital external usb drive I had attached to the system and it was working great. However, while I was adding files to the drive i deleted all of the directories and files that came on the drive out of box such as 'autorun.inf' and an autorun directory containing an icon for the drive.. when I rebooted the drive was no longer mounted, I tried to un/reinstall usbmount a few times but it still didnt work, so I wound up adding the drive into my fstab, my fstab line reads like this
The issue I am having is that Virtual Box does not recognize my USB drives. I understand that it is related to the fact that Ubuntu cannot recognize the permissions on the USB NTFS drive. So how do I mount the ntfs drive and gain full permissions?
One post suggested that I have to join my user to the 'vbuser' group in users and groups to fix this in 9.04, but I do not have a "vbuser" group in my list of groups. I am running 10.04.
What should I do if I want to allow access to USB flash drive selectively - Say for e.g. All permissions for "root", "Read/Write" for user "A", Only "Read" for user "B" and user "C" shouldn't be able to access or mount (no permissions) the USB flash drive at all.Also I want to do it by modifying entries in some files or by some commands (so that it can be done programatically if needed)
I installed Wubi 9.10 on my windows 7 net-book and it failed to install, so I found a tutorial and tried again to install Wubi. My problem now is it failed a second time now because I did two attempts of 30 gig installs I am missing 60 gigs hard drive space and cant figure out how to recover the lost space. I have uninstalled Wubi / Ubuntu from programs but still no recovery. It needs to be recovered so I can dual boot properly given that I use Ubuntu and Windows
I have a bit of a problem in my new install of Lenny (5.0.1). The machine in question was running XP and has a C: drive (system) and two other had drives (ide) one with music on and the other with videos. All were NTFS naturally.
I installed Lenny and re partitioned the system drive accordingly with swap and root partitions, no problems there.
The next phase was to convert the other two drives to ext3. The music drive has been backed up so the plan was to re-partition that to ext3, copy the video files to it and then re partition the now ex video drive and restore the music files to that.
I ran Gparted and partitioned the old music drive to ext3 but could not then mount it, it didn't do this after formating. I did not have permissions to mount the drive.
I read on a forum how to mount the drive from Terminal, going to /mnt, mkdir VideoDrive, mount /dev/hdb1 VideoDrive and presto it was mounted. However I still did not have permissions to it and could therefore not create directories.
Right clicking on the drive and showing properties now showed owner as root ~ create and delete files, group as root ~ access files, others ~ access files. All of these drop-downs are unavailable for changing.
I went into users and groups. There were groups there called mike and root so I selected both root user and mike user as members of both of these groups. Nope.
In the drive properties I entered Mount Point as /mnt/VideoDrive, File System as ext3, and Mount Options as defaults,unmask=000 0 0. The other forum I read stated that unmask is used to allow access to all users.
I then transfered these options to the Volume properties, again no joy.
I have added entries into the fstab and mtab files still no joy.
First off I want to apologize for the fact that the first several paragraphs go into something seemingly unrelated to the subject of this thread. However I want to be sure that those who choose to lend me a hand understand where I'm coming from and why I'm asking that question.I just recently switched from Windows Vista to Ubuntu 10.04. So far I've been loving it mostly. But their is one oddball thing I haven't been able to get working. That is a pair of shared folders located on my NTFS external drive connected via USB2.
The drive was automatically mounted on first boot and has full read/write access for owner (which is my username) right out of the gate. For this reason I assumed I would be good to do this.I've been unable to get it working in Ubuntu. As it stands now I've manually added them to smb.conf, added them to the Samba Server Configuration and finally by right clicking the folder in nautilus and choosing Sharing Options. All with varying resultsAt best it will show the shares under the computer but not allow access. I've also cleared out all of these for those folders to try them individually or in different orders. What I found was that using Sharing Options first gives this error and sets nothing up. But either of the other two will at least show the share albeit with no access.
Quote:'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.What I've discovered is that if I use just the Sharing Options from Nautilus on any folder located on my ext4 partition or the internal NTFS partition then it will ask if applicable to adjust the permissions and though nothing appears in smb.conf that it works more or less just fine.Having played with "ls -l" I discovered that by default that ownership of the folders on the external NTFS is set to myself and that permissions are 700. On the ext4 partition ownership is set to myself and permissions on folders 711. The folders on the internal NTFS partition has an ownership of "root" and permissions set to 777
From here I tried to use "sudo chmod" via a terminal to manually change permissions for folders on all 3 partitions and I can do so for the ext4 and the internal NTFS owned by root. But no matter what I cannot for the external NTFS.The main thing is I want to know why I can't adjust those permissions on the external. I'm convinced that something to do with the way USB drives work by default must be impacting this but I could not find a single thing anywhere to confirm this much less to offer a solution.The second thing is that I installed and used mountmanager to automatically mount the internal NTFS and according to that softwares options the setup for both it and the external NTFS are the same. But if that is true then why is the external owned by me and the internal by root and the resulting permissions are completely different?
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
I own a Lacie Network Space (1) which has recently given up the ghost - I looked into getting data recovered from it and it turns out it would cost around 500quid!! After doing some research I've found out that the drive runs linux - SO, I have bought myself a HDD cradle, Downloaded an Ubuntu Live CD, taken the drive out of the network space and mounted it in Ubuntu via USB. All good up til now, I've managed to get the majority of my data off except one folder - my music folder. It has quite a deep file structure (which maybe the issue) but essentially the permissions for the top folder have a padlock and a small cross - this doesn't allow me to even read the files to copy them off. I've now tried the 'chown' command: sudo chown ubuntu /media/ 999GBfilessystem/ openshare/audio
I was trying to install a new hard drive and in the process have managed to not only format my old hard drive but lost all my stuff as well. I am running a live CD but unable to mount the said hard drive. I Know its there.
fdisk tells me:
As you can see its still registering as /dev/sda, I am unable to mount this to run a undelete program on it.
a e2fsck tells me
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
We had a drive failure on /dev/sda. Everything 'except' boot was on raid5 across sda, sdb, sdc, sdd. I know how to repartition a new drive and rebuild the raid etc, but I don't know how to regenerate the files that reside on the boot partition. I really don't want to re-install as we have lot of custom code and software that may depend on our current libraries and build environment.
I looked through the guides and didn't find what I was looking for. Here is what I have so far:
That's the drive I am wanting to mount with full permissions for anyone. Right now the folder only has root permissions. Is there a specific group ID I assign this in fstab so it's automatically mounted with full permissions for anyone who logs in?
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.
I have four internal harddrives on my system. On the first HD i've installed Debian 5.0 AMD. I'm trying to write to my other HD to backup my files,but i get a message that this HD doesn't have permision to be writen to. How do i change the permission for Harddrives.
I'm trying to change the permissions of my external USB drive that i've plugged into my machine. It still reads user root and group root. I've tried chown -R kuier /home/kuiper/file Then chgrp -R users /home/kuiper/file But it still doesn't change permissions. I've also tried editing /etc/group and adding my name to plugdev group. nothing seems to be working?
You know the great thing about having a debian system is that you have to reinstall so rarely you miss all the new changes that happen in the system until you have to do something like install a new piece of software and realize that fstab has been turned into spaghetti and you no longer have the slightest idea what is going on.I just got a new 1TB USB2 drive to use for backups. I plugged in it and it was recognized fine but it was formatted in NTFS which I didn't particularly want so I reformatted it as ext4FS. It automounts fine but only with all permissions set to root. I tried doing a direct chmod on the drive but that wasn't recognized. Where in the hodgepodge of HAL settings and whatnot do I set it to make the drive user accessible and mount to somewhere other than /media/disk?
Tired of fat32 fragility, I reformatted a 4GB pen-drive as ext4 using Yast's partitioner. I chose format as ext4 and checked fstab options "can be mounted by user", "no access time" and "ordered journaling". I thought that these fstab options would be ineffective since a removable device won't be added to fstab. when I insert the pen-drive it auto-mounts and the folder /media/EMTEC is created (EMTEC is the volume name). The relevant mount entries are:
There's no fstab entry, as it should be, and there is a mtab entry corresponding to the pen-drive, /sde1. However the /media/EMTEC as created (by udev, I suppose) is owned by root, I can't write to it. But if I change (as root) the /etc/EMTEC folder permissions so it belongs to the regular user, i can (obviously) write to it *and* it stays so *between* remounts. Haven't tried a reboot yet. What I'm not sure is if ordered journaling is OK for a pen-drive - or any kind of journaling, for that matter. Or will this significantly decrease flash memory life? Also, the fstab options set in Yast appear to be remembered by whatever creates mtab, as well as /media/EMTEC permissions. Is that so? Where are these settings kept? How does this work?
When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.
Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?
when you attache a pen drive with windows you can drag from the pen drive to the desk top, and visa versa. with Linux logged in as normal user I can drag files from pen drive to Desktop but not the other way around. my pen drive is TITANIUM and at /dev/sdb1 mounted at /media/TITANIUM so I have to use
cp /home/user/Desktop/file /media/TITANIUM as root
If I log in as root I can drag files from pen drive to desktop and also from Desktop to pen drive. is there an easy way to give permissions for normal user. I had a look a groups and it has scanner, printer etc listed ,can I amend groups somehow to enable same permissions for pen drive access as root?
I am running Linux Mint on my primary hard drive, and I would like to access some folders I have on my second hard drive, which has Windows XP installed on it. However, whenever I try to use these folders, I am greeted with the error message, "The file is not marked as executable." While I know how to set files as executable whenever I am using folders on my Linux drive, whenever I try to set such permissions on my XP folders, I can't seem to make it work. The files revert to their former status, and I'm told that I don't have permission. Should I set the files as sharable from within XP, so that they aren't marked as read-only? Or is there another solution I've missed?
I wan trying to install Debain on a 4GB USB drive while running the setting something happened with my pc and i had to restart it.I try to boot from the USB drive it worked but was giving a empty cursor. the installation did not continue.i open the USB drive in my pc now but it shows just 300 MB space and lost the 3.7 GB space.I think space of USB drive with that partition, can i recover my USB drive lost partition space ?
I've resisted the urge to post for as long as I could. I use these forums quite often in finding answers to the numerous linux questions that I've had & found it to be a great resource. For some reason after an innocent reboot of my Fedora 12 Core system, GRUB decided it would no longer load the O/S. I was just getting a flashing _ in the top left of the screen. I thought there must be a problem with the partition table & have used the systemRescueCd to run testdisk (I have made a copy of the disk first to an image file using dd - don't worry I made sure I got the commands around the correct way!).
testdisk shows that I have a partition which is bootable & Primary, which appears to be the grub partition (I can list the files in test disk). However when I search the disk I get the following after it has found a couple of partitions. (it is an 80Gb disk)