General :: Chmod (Directory On Drive) Fails Without Error

Aug 2, 2010

I have an external USB hard drive (sdb1) mounted at /media/Iomega HDD. When I try to do a chmod to a directory on this drive, chmod doesn't give me an error, but it doesn't change the privs - even when I'm root. Why is this?

Code:
root@d-desktop:/media/Iomega HDD# ls -lart
total 2176732
drwx------ 1 dan dan 456 2010-08-01 16:24 Unison
root@d-desktop:/media/Iomega HDD# chmod -v a+rwx Unison
mode of 'Unison' changed to 0777 (rwxrwxrwx)
root@d-desktop:/media/Iomega HDD# ls -larth
total 2.1G
drwx------ 1 dan dan 456 2010-08-01 16:24 Unison
root@d-desktop:/media/Iomega HDD# /usr/lib/klibc/bin/fstype /dev/sdb1
FSTYPE=unknown
FSSIZE=0
root@d-desktop:/media/Iomega HDD

View 14 Replies


ADVERTISEMENT

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

Hardware :: Hard Drive Replacement - When Disconnect 4GB Drive System Fails To Boot Up And Complains - Error 21

Mar 20, 2010

I have minor problem with upgrading a hard drive. I am running an old pentium lll with two hard drives. On the first hard drive I have two partitions of around 90GB each. On the first partition is installed winXP and on the second partition I have Suse 10.3, both booted by grub and living happily side by side. My second hard drive (which is formatted for windows is only 4GB.

My problem arises when I try to replace the 4GB with a 80Gb hard drive. When I disconnect the 4GB drive the system fails to boot up and complains with error 21.

View 8 Replies View Related

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

Jul 17, 2010

I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.

-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix

[code]....

View 1 Replies View Related

Ubuntu Installation :: Chmod +x - No Such File Or Directory

Dec 18, 2010

The software I just bought (Lightroom 2.1) contains instructions to get my serial. I downloaded the sofware on my desktop and installed it. In the terminal, I wrote "chmod +x keagan", pressed enter and wrote "./keagan" and I get this message: No such file or directory. what I am doing wrong? I am working on Mac OS 10.4.

View 6 Replies View Related

CentOS 5 :: C5.4 Install Fails With Drive Write Error / Solution For This?

Dec 15, 2009

I am unable to install CentOS V5.4 on my work station.

After collecting the config info (root password, etc.) the installation immediately gets disk write errors while doing PVCREATE.

I'm installing from the DVD to the 136GB SCSI drive. The drive is known to be good and is writable as a Windows
volume.

The scsi drive is the only drive selected for installation.

I've selected to delete all partitions on the volume and install default configuration however the new partition is not created. code...

View 6 Replies View Related

Ubuntu :: Chmod: Cannot Access 'afk-kick' File Or Directory Not Exist?

Oct 22, 2010

here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:

cd
chmod 777 ../bin/panel
cd ../bin/panel

[code]....

View 2 Replies View Related

Ubuntu :: Using /etc/crontab To Force Chown And Chmod In Specific Directory?

Feb 9, 2011

I need to actively make sure some files, in a specific directory, are chmod 750 and owned by transmission:media-daemons. Other users will save to this directory, with other permissions and UID/GID but I must make sureto reinforce this default.

So I have this on my /etc/crontab:

Code:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

[Code]....

View 1 Replies View Related

Ubuntu :: Flash Drive Won't Chmod?

Mar 20, 2011

I have been working closely to the Katana boot kit here recently, and this is bugging me. I am trying to use a new program to Katana called Forge. I have it on my flash drive, and I open the properties to make it executable, and when I click something it automatically changes back. I have tried the basic stuff, sudo nautilus.

View 1 Replies View Related

Ubuntu :: Copying Home Directory To USB Drive - Error

Apr 15, 2010

I am getting ready to upgrade from Ubuntu 8.10 to 9,04 (I am a bit behind, I know). I just drag my home folder to a USB drive to back up and it should copy all the files (including hidden ones).

When I tried this, I get the error that Symbolic links cannot be created. Should I worry about this? Would this effect my backup in some fashion?

View 8 Replies View Related

General :: Usb Drive, Locate It, Move Folder From Usb Drive To Usr Directory?

Feb 28, 2010

I want to move a folder from USB drive to desktop, any directory, let say usr directory. But don't know what the name for usb drive and where to find it, i know i am going to use mv command.

View 5 Replies View Related

General :: Installing .gz File..: "make: Error 127 Chmod 755 "?

Oct 10, 2010

So I am new to linux and computing in general:I am installing curphoo ( a yahoo chat client). The README file contains the following text:

Code:
You need a Python 2.4 series interpretter starting with Curphoo 0.4.0.
Starting with 0.4.0, Curphoo uses a purely Python implementation of

[code]....

View 14 Replies View Related

OpenSUSE :: Added Second Hard Drive Now Can't Chown Or Chmod

Mar 29, 2010

I occasionally get into areas in Linux where I get my own ignorance demonstrated....System is a core quad running OpenSuse 11.2 64 bit on a LAN at home. I added a 750 GB SATA drive with the idea of putting all media on the drive i.e.music primarily plus a few movies and making the data sharable by anyone across the LAN i.e. the computer in the living room with an audio line to the stereo. My room mate is strictly a Windoze user so I figured if she wanted stuff on her machine as well then format the new drive with NTFS which I did using GPartd. I then set the drive to mount as /storage under root.

I loaded the music library &c and although I can play music from my user account on this machine I can not add music or videos or anything else except as root. I dont want to have to change to /root to do this. I attempted a chmod tonight as su from a terminal then in the root GUI using dolphin and resetting the permissions under properties and nothing changes. The drive appears in the filesystem as /storage with ownership as root. The permissions are

drwxr-xr-x 1 root users 4096 2010-03-27 22:55 storage

trying to chmod as root has no effect at all. I would like to be able to add content from any machine on the LAN plus be able to play a movie or video as well as music (I assume this would need the execute permission) but chmod -R 777 storage has no effect. Neither does cd'ing to the directory and trying to change ownership or permissions on the individual files or directories on the drive.Command line as su or as root from that gui, no difference. I do a

chmod g+w,o+rw storage

and the command appears to execute.However I ls -l and find the permissions unchanged. I obviously have or am doing something wrong, possibly in the way I set the drive up in the first place.

View 8 Replies View Related

Ubuntu :: Unable To Use Chmod Inside An External Drive

Jan 8, 2011

I have recently installed Ubuntu 10.10 (x64) and I have noticed that I cannot change the permissions of any of the files on my external drives. If I do it from the Properties of the file by manually changing a field on permissions, it changes back automatically before my eyes. If I change it with chmod, nothing happens. They are all in "-rw-/drwx/-rwx------" mode. What should I do?

View 6 Replies View Related

General :: Mkdir Fails - Even With -p - No Such File Or Directory

May 30, 2010

The setup ( although dont trust anything I say ):

I'm working on an embedded system device using a NFS mounted rootfs ( as shared by my host ) , but I store large video content directly on the device's hdd in /data.

Device's hdd partition /dev/sda3 is ext3 fs mounted at /tmp/mnt/diska3 (rw), then I have a script create dirs like /tmp/mnt/diska3/data and /tmp/mnt/diska3/data/incoming, then symlink :

ln -s /tmp/mnt/diska3/data /data so that the /data appears like any other directory.

I can see /tmp/mnt/diska3/data/incoming. I did chmod -R a+w tmp to rule out permissions.

Running a subsequent script calls mkdir: mkdir -p /data/incoming/gui

BUT fails: mkdir: cannot create directory '/data/': No such file or directory

View 5 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Modify The /etc/host File - Change Directory Fails?

Feb 1, 2010

I am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header

[root@root tmp]#

I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?

View 2 Replies View Related

General :: Useradd Creates User But Fails To Make Home Directory

Oct 7, 2010

when I try to add a user it fails to make the corresponding home directory. I can still su to the user, set the password, and everything else. the output is as follows:

$ useradd username
useradd: cannot create home directory /home/username

I read that this could be a result of there not being enough space but if I do df -h, i see that only 88% of the memory is being used.

View 14 Replies View Related

Ubuntu Servers :: Vsftpd Chroot, Creates 550 Error On CHMOD Command?

Jul 14, 2010

I've been searching the web, without finding any sollution to my problem.vsFTPd is acting really weird. I've never seen this problem before, and I've been using vsftpd for some years nowWell.. The thing is, I've made a user that chroots to the folder /var/www on my server. And when I then try to chmod the file /var/www/htdocs/testsite/index.html through my ftp-client, I only get the error "550 SITE CHMOD command failed.", and when I then check in my /var/log/vsftpd.log it says

Code:
FAIL CHMOD: Client "192.168.50.58", "/htdocs/testsite/index.html 777"
Which I think would mean that it tries to chmod the file "/htdocs/testsite/index.html" instead of chmod the

[code]....

View 7 Replies View Related

General :: Puppy On Hard Drive Fails To Boot After Power Cut

Apr 19, 2011

I'm very new to Linux and recently setup a desktop PC with Puppy 5.2.5. only. I chose to have a permanent install on the hard drive and loaded additional PETS and utilities as I thought needed for my use. Last night after immediately booting up the PC I had a power cut lasting a few minutes. When power returned and I repowered the PC, I found during Puppy's boot sequence it reported an error and remained in what appeared to be a console mode - did not carry through and load my desktop. So I inserted the Puppy CD and booted from that but I'm afraid I'm not familiar enough with Linux to understand how I can get back my original desktop setup and run once again from my hard drive without having to go back to scratch.

View 5 Replies View Related

General :: GRUB-2 Bootloader Fails To Load For Lack Of Floppy Drive?

Jul 21, 2010

2010.07.21 while trying to install Ubuntu 10.4 I've been trying to install Ubuntu 10.04 on my Dell workstation and am unable to get the Grub-2 bootloader to load properly. It seems to be failing for lack of a floppy drive on the system resulting in an error message that reads : error: fd0 cannot get C/H/S values.

I've gone through the Grub-2 page at [URL].. to no avail and other sources having similar problems have likewise turned up no solutions. here's the background: A while back I was trying to install a different version of Linux and had the same problems, then had to set the project aside for a bit. I don't think this has anything to do with Linux or Ubuntu per se, but rather Grub.

The system is an old (4-5 years) Dell workstation that has one drive (128 GB) set up for Windows XP and a second new drive (500GB) which I installed for Linux. There is a DVD/CD drive and the system contains no floppy drive at all. In one attempt to get this working I tried modifying the BIOS to indicate there was a floppy drive - this created a failure earlier in the chain with the BIOS failing to load properly, not unexpected, just a shot in the dark at that point.

At the moment I am considering just running out to buy and install a cheap floppy drive to see if that helps. I'll never use the thing though so I'd rather find a solution that doesn't require me to spend money on useless hardware. In any case, here's the /boot/grub/grub.cfg contents:

# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###

[Code]...

View 1 Replies View Related

General :: Directory Listing On A Usb Drive?

Jan 24, 2011

I have a usb drive which I will call it "mydrive" for this discussion. I am trying to get to it so I can do a ls -al on the usb device itself.

But I'm not sure how to get to the dir entry for the device.

View 4 Replies View Related

Ubuntu :: When Went To Mount D Drive (like Usually Do In Windows) Got The Error Message "directory D: Does Not Exist"?

May 7, 2010

i'm running ubuntu 10.04 and windows vista on my laptop and I installed Dos box on ubuntu quite some time ago, when i went to mount my d drive (like i usually do in windows) I got the error message "directory D: does not exist" i tried to fix it myself but i gave up because it wasnt that important. A while later i read on a webpage that "Linux doesnot employ the concept of drive letters" so i thought this must be the reason for this error message but why would there be dosbox for linux if that was the case

View 2 Replies View Related

General :: Write To SD Card Fails - No Error

Feb 17, 2010

I am using Sandisk 2GB micro SD card on ARM processor EP9307A. The card is detected, mounted.
I can read data from the SD card. But cannot write to it. There is no error when I attempt to write to the Card. It appears as if its working fine. But after umount and re-mount, the data written is gone.

Here is the log when the SD card is detected:
# insmod drv
card size = 1977614336, sector size = 31, wp_grp_size = 127, wp_grp_enable = y
S:00001000 M:fffff000

What is the significance of Write Group Protect Enable (wp_grp_enable=y). Is it the case that the SD card is write protected.

Using CMD9 : SEND_CSD , I can read the Card Specific Data (CSD).
I have tried CMD27 : PROGRAM_CSD , to CLEAR wr_grp_enable : No effect seen.
I have tried CMD29 : CLEAR_WRITE_PROT ,: No effect seen.

Where is the issue,
1. I could not send commands properly.
2. Card cannot be set free from WRITE_PROTECT.
3. Something else.

View 2 Replies View Related

General :: Logging In Non-root Users Fails Either With "no Shell" Or No Directory

Mar 9, 2010

I tried to create a user on Solaris 10 but when I try to login the user with "su -" I get the error message "no directory". When I try to login with "su" I get the error message "no shell".

I tried the useradd several combinations e.g.

All the tries i made didn't work. I also checked the permissions on /etc, /bin, /sbin and / and it seems ok so that the newly created user can access them.

View 14 Replies View Related

General :: Dd Copy - Hard Drive Clone Fails When Mounting Root Androotblock - /newroot Failed

Oct 27, 2010

I am trying to replace an old, smaller, and dying laptop hard drive with a newer one, using a USB external drive. I first tried cloning disk to disk with Clonezilla, but it failed after cloning my root, swap, and /home directories it froze when it tried to reinstall grub. After 2x trying, I switched to dd, which I have never really used (I am fairly new to Linux in general). The actual command I used was:

Quote:

dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror

All seemed ok and after approximately 2 hours my 80GB drive had been cloned onto my new 250GB, with dd giving what appeared to be a satisfactory closure summary. I tried to mount and access the drive from my external USB enclosure but could not view it, though the data is there, I believe, as the size and bytes show... The error that Dolphin is giving me is:

Quote:

error - wrong fstype, bad option, bad superblock on /dev/sdb1 Missing codepage or helper program or other error. When I installed the new drive directly into my laptop, it begins to boot (Sabayon 5.4, 2.6.35 kernel) but almost immediately I get (handwritten down, but this is close):

Quote:

detected real_root
mounting /dev/sda1 on /newroot failed: input/output error
!! Could not mount specified ROOT, try again
!! Could not find the root block device in .

[code]....

I am assuming that my issue has something to do with grub, and maybe specific UUIDs that don't match (?) but I'm not really certain. I have both Grub Legacy 0.9x and the newer Grub 2 installed (Sabayon is already moving over) but I still boot with Legacy, not with the new 2, as I don't know how to switch, and am not sure if I should yet. I thought that dd copied bit for bit, and I added the noerrorï just to try to get it all transferred, so I don't know what went wrong exactly, though something seems wrong with grub and the bootloader, I guess...

View 6 Replies View Related

General :: Rsync To Copy Directory Tree From NAS Drive ?

Apr 10, 2010

I have a WD world book edition 1TB NAS drive, and just purchased an acomdata 1tb drive and connected it to the NAS via USB. If I recall I think the WD NAS has a ext_ or some type of linux filesystem on it, and the acomdata has a ntfs filesystem on it.

What I want to do is copy over certain directory trees of the NAS to the USB attached drive. I usually use MS synctoy to sync folders from my windows pc to the NAS drive, and MS richcopy to make the initial transfer from PC to NAS. For this operation though, since it is taking place entirely on the NAS and its connected drive, I thought that rsync would be the best option, and it is available on my NAS drive.

Last night I entered in rsync -avr /movies/* /usb1-1share1/ to copy the entire "movies" dir to the drive, which shows up as usb1-1share1 on the NAS drive. It copied most of the directory tree ok, but a lot of the folders were empty, so this morning I tried rsync -Carv --ignore-existing /movies/* /usb1-1share1/ to try and get all the files missed, without recopying the 24GB that did make it across. This also managed to copy a few more GB over, but not everything.

I am running the command from an ssh session on the NAS using putty on my PC, in as user "admin" which should have all rights over these folders. There is a bunch of errors in the command window like this: rsync: failed to set times on "/shares/usb1-1share1/movies/classics/fulldvd/First Blood DVD/.VTS_01_2.VOB.RxdjWZ": Operation not permitted (1)

I want to restart another session and get the files it missed, but I want to find out what I am doing wrong first. Should I be doing this as root user? am I missing some switches or just plain doing it all wrong?

View 3 Replies View Related

General :: Copy Everything In The Home Directory To An External Drive ?

Jun 11, 2011

How do you copy everything in the home directory to an external drive while running in rescue mode?

View 3 Replies View Related

General :: Copying /home Directory To External Usb Drive?

Dec 21, 2010

im thinking of copying my /home directory by just click & dragging it to my external usb hard drive. then do a fresh reinstall. then just replace the new /home directory with the one on my hard drive(old home directory) will it have my original programs i used to have and all my settings & stuff?

View 10 Replies View Related

General :: IN Which File Error Gets Stored If Installation Of Anything Fails

Jun 3, 2011

I was installing some software on my linux system and then i get long list of errors. Now i can go up and see when did it starts so i want to know the log file where the full error gets stored so that i can look when it started

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved