I'm getting Permission denied even though I'm putting sudo in front of the command but, instead of asking me for a pass word it just says Permission denied "then" it askes for a pass. I enter the pass and it just takes me to the
prompt. I enter the command a second time and it says Permission denied again.
I have recently bought a new laptop, installed my first linux OS on it (Ubuntu 9.10) and an external hard drive with 500GB on it for backup. For the first few days my external hard drive was working fine, but then eventually it wouldn't let me copy/move/delete stuff to and from it. So I kept trying to change the permissions but it wouldn't let me.
I figured this would be a very very common problem, so I looked up some forums to try out the methods but they didn't work. So I thought I would ask you guys for help because I am pleased with the support. I wouldn't think this would be a hard problem to solve.
I have an external hard drive that has all of my Apple Powerbook G4 files on it. I plugged in my "Journal Extended" external hard drive into my new HP laptop with Ubuntu 10.10 on it.
All of my files are on the hard drive still, however lots of them have a little X on the folders and when I try to open them it tells me I don't have permission? How can I force the permission for everything on my external? It's my own files and I can't even access them lol.
I installed Ubuntu 10.10 beta yesterday and most of it is working very well. However, I ran into a problem with permissions today.I have a HDD containing my home folder and a HDD containing my data folder. The HDD with the data folder is mounted on /media/data/data_1.
I made sure I had set a+x rights on the file, tried executing it as root but the permission error stayed.When I copy that same file to my Desktop folder I can perfectly execute it.When it's located on the other hard drive I can't. I tried several command line scripts and they all work when I execute them from my OS hard drive,but not from another hard drive.
Is there a utility app that will allow 'ghosting' your current Linux harddrive to another. For example, my current drive is 40Gb, I'd like to ghost/clone it to a 320Gb harddrive. Using an app like this saves re-installing the O/S, software, configuration and allows making a disaster-recovery drive.
I want to move the entire contents of my backup HD to another HD. I could manually copy everything, but I was hoping to clone the entire backup hard drive. I tried to do it with Gparted, but as far as I can tell, I can't clone between drives, only between partitions on the same drive (I've done that before). So how can I do this in Linux? I think one of my drives came with a cloning utility on a CD, but I'm not sure I still have the CD.
Here's what i'm trying to do: i have a 300GB IDE hard drive that has a OpenSuse build. I am trying to replicate this HD so that i can have another box similar to the original one...my second drive is 500GB SATA.
So far, I just ran a 'dd' command to copy the 300GB to 500GB. Now, after having read on internet, i realized i need to change fstab & /boot/grub/menu.lst. specifically, we need to change for ex:/dev/disk/by-id/ata-Maxtor_7L300S0_L60LCJ0G-part1 to /dev/disk/by-id/sda1 i did use a Ubuntu LiveCD to access the fstab and changed the line as mentioned above. Now, how do i change the menu.lst?? right now, when i try booting up from this HD, i have issues. specifically, i get this error message: could not find /dev/VolGroup00/LogVol00
An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'
The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?
I have a cron backup scheme in which I rsync, then tar, then copy files on my internal hard drives to an external (USB) drive. When it works, it works. But I often get a "Permission Denied" message for all of these tasks. how the external drive is auto-mounted so I edited the etc/fstab so that the owner of the cron job is also the owner of the external drive (I think. Unfortunately, I'm not at that machine right now (it's at work), I can't give the exact fstab line (I will post it as an update to this thread next time I am at the machine).) BUT, I still get times when the cron backup runs fine and other times I get the Permission Denied. This is a shared machine that is dual-booted, so what I *think* is going on is that when the machine is rebooted to Fedora, but nobody logs in, I get a Permission Denied for the cron backup. It seems like on days when someone has logged in as the main user and left without logging out that the cron backup runs fine.
I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.
cp gives the following error---> cp const1.java /home/user1/Documents/scjp cp: cannot open `const1.java' for reading: Permission denied lsattr shows this---> lsattr const1.java lsattr: Permission denied While reading flags on const1.java mount shows this---> /dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
I am getting annoyed that every time I try to extract, move, or delete a folder I get:
"Unable to move due to file permission" "Unable to delete due to file permission" "Unable to extract due to file permission"
I really have a hard time trying to use, and understand the chmod folder stuff in terminal. So I asked a friend and he helped me create a desktop program or icon where I would just drop the folder I wanted to use on it, and permission wouldn't be needed anymore.
Well, I dropped a a folder on it one day and the folder didn't open, so I tried another folder and eventually the thing never worked again so I removed it.
Is it possible to allow the entire hard drive or OS (Ubuntu 9.10) to give me permission to all the folders? I only installed the [password to log] in thing, so I wouldn't have to worry about people in my house using my computer without consent. If this isn't possible can someone post a method to create the launcher or icon?
Note: I made a root desktop thing (Guy holding what looks to be an ID card) but not even that will allow me to delete the folder in the file system. I the entire game that the folder is called is removed already, so there is no point me leaving this folder alone.
For some reason, Ubuntu 10.4 LTS cannot boot normally, so I have reverted to a live CD, no concern, I can just reinstall, what I am concerned with is the fact that I get my music. I load up the live CD, and I am able to access my hard drive, but I as I found my music folder, I cannot copy and past and/or move ANY folders into a flash drive. It says I do not have permission.
I've encountered a very frustrating problem. I have both my desktop and my laptop computer installed with Ubuntu 10.10 recently. And I use a external hard drive formatted in EXT3 as a backup. I created the EXT3 partition on my external hard drive using my laptop, but I cannot access those files using my desktop. What's going on? If one day I lost my laptop, does it mean even if I have backup, I can never access without my laptop??? How can I solve this problem?
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?
I am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.
present config is as follows:
Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes
I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.
Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?
I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.
I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?
Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.
Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford. I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.How can I do this? I have two sata drives in the box, running 10.10 desktop.
Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford.I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
I am trying to clone my internal drive on my laptop using the dd command after starting up my computer using the 10.10 installer CD. Nothing happens when I follow the instructions from this site: [URL] When I follow these instructions, it doesn't work. I know that I am not being specific here but all I can say is that nothing happens. What am I doing wrong. My internal drive is 250GB and the partition I created on my DOS formatted external drive is 250GB as well.
I'm trying to make an image of my whole hard drive (320 GB) to save on an external hard drive. I'm using Ubuntu Jaunty Live CD to do it, with this command
Code: sudo dd if=/dev/sda | gzip -c > /media/ExpansionDrive/imagedd.img At the beginning everything is going fine, but after few hours the transfer rate is incredibly low. After 1/2 hour, 20 Gb have been copied. After 1 hour, 27 GB After 2 hours, 40 GB After 4 hours, 54 GB After 8 hours, 71 GB
Is it normal? I've also tried to use ddrescue, but I have the same problem. Is there any other tool to clone hard drive with a constant transfer rate?
I have just installed 9.10 netbook remix onto my Eeepc 901. I was previously using 9.4 Rather than clicking on shutdown icons, or going through shutdown menus, I added a keyboard shortcut to run a shell script containing the following code:
Code: #!/bin/bash init 0 because init needs to be run as root to have the correct permissions, I set the owner and group to be root , ran chmod 711, then chmod u+s to prevent anyone altering the script, and to allow anyone to execute it with root privelidges Since updateing to 9.10 netbook remix, I have been unable to get this to work. have applied the above changes but get a "/bin/bash: /usr/bin/shutdownscript: permission denied" error when I try to run my shutdown script from the terminal (nothing happens when I press the key combination asigned to the keyboard shortcut). If I run the shutdown script with sudo then it neatly shuts down. ls reveals the following permissions:-rws--s--x 1 root root
So it appears as if SUID and SGID are both set, and the owner/group are correct, and the script works, and yet it doesn't have the permissions to work. I installed 9.4 long ago enough that I can't remember if I had to do anything else to get it working, or has something changed between 9.4 and 9.10?
I tried to execute the following command: $ ./eval_online_wiki.ml -db_user aa -db_pass bb -db_name cc It returned as follows: bash: ./eval_online_wiki.ml: Permission denied What does this mean? How to solve the problem? Actually, I was following a README, and it says "$ ./eval_online_wiki -db_user <username> -db_pass <pwd> -db_name <db_name>"
Forum.Ref:Ubuntu 10.4 Lucid LynxFluxboxOpera 10.61Has anyone a clue how I can solve following (minor but annoying) problem?It takes a relative long time (a few seconds) as normal user before Opera starts in my fluxbox environment. I expected a quicker startup time.Also because when I start opera as root the startup time is shorter.I started opera in a terminal. No messages when started as root with gksudoBut 5 lines of:open: Permission deniedwhen started as normal user. Startup succeeds after these messages.So I figured out that there is some kind of authorisation problem but have no clue how to find out which files opera tries to open and fails and what to do at this point.I searched for similar problems on this forum and also via google but could not find any real answers.
Currently I am having troubles getting my ssh key to work correctly. I have had a desktop crash which has been reformatted to use ubuntu. The key residing in id_rsa.pub has been copied over to the ssh server into the authorized keys of the given user. however When we try to login we get a "permission denied (public key, keyboard-interactive)" error. below is the debug option:
jv@ops-desktop:~/.ssh$ ssh -v firstname.lastname@example.org OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for *
I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.
The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ****** mount error(13): Permission denied Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.
Im running Ubuntu 10.10 on my hp mini 110 netbook, have been for since i upgraded from 10.04. The problem Im having all of a sudden is when I try and copy anything from internal file system, to anything external [phone, card reader, usb hardrive] I get a pop up that says Error opening file '/media/disk/<filename>': Permission denied
Should be a quick fix i would think, what you guys got ???
I've done a fresh install of Ubuntu 9.04 and tried to create a folder using the File Brower went to my user account and proceeded to create a directory. Then when trying to cp a file to this new directory I get permission denied. I checked the directory permissions and discovered that its owner was root not the user that I was signed in as.
So I had no choice but to enable the root account so I could copy the file I wanted. Why could I not have copied the file using the user that I was signed/logged int as without resorting to changing users to root. I hope that its not a bug of some kind or maybe I did something weird during the install. I would like to disable the root account again.