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
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.
I'm trying to make a particular file accessible on my computer ( /dev/uinput ) without having to use sudo or su - I've set up a wiimote to act as a remote for my media player, and it requires access to that file. When I use chmod, chgrp or chown to change the file's settings, it enables access to the file - however, when I reboot my PC, the settings get reset, and I have to change the access rights when I first use it again. I've tried using the following commands to make the changes (substituting my username/groupname as user and group below), as root:
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.
I am desperately trying to recover two folders from a Freecom FSG 3 NAS. As far as I am aware it is running Linux 2.6 based on Snapgear. After working through the hardwares' recovery procedure a number of times, the state of the device appears to get worse and worse. So I have attempted to rescue the files by using a program called Putty to access the device over SSH.When I access the device using Putty I login as admin. The folders I need to recover are located in the home folder. Listing the contents of the directory I get...
I am running Ubuntu Server and I recently added a new hard drive to the mix. Not replacing the old one, but adding a second one.What I want to know is how to I access that hard drive? I know in the desktop version it auto adds it, but not in the server version I checked my media folder.I installed it to be my new Samba share hard drive. So how to I get at it to use it?
A section of the hard drive on my laptop is damaged but the laptop has genearlly been running fine as it seems to very rarely touch that section (once every few months). However, when installing some updates the computer has hit that section which means it becomes unresponsive and makes a nasty clunking sound every 10s or so. Because of this I've had to abort the update but now whenever I try to run 'dpkg --configure -a' to sort out the problem caused by the interrupted update I get the same freezing up and clunking. The message that appears when I run the command is adding extension /usr/lib/openoffice/basis3.0/program/mailmerge.py... and then it freezes.
I've recently added a new hard disk and due to mother board controllers this new hard disk is known as sda.Before that my boot partition was /dev/sda3 and know this changed to sdb3.Whenever grub menu appears and I choose opensuse,it can't find /dev/sda3 .It seems that I should edit menu.lst or change boot loader parameter.something like root (hd1,2).But I don't how I can do this with opensuse boot loader.Though I could do this with CentOS easily.
Still it says the owner is root and also the group is root. What else do I need to do to make me owner of this partition? The fileproperties say: drwxrwxrwx Still the partition is read only for me. In ntfs-config it says: "Enable write support for external drive"
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
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.
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
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?
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
Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.
I've got a bit of an issue here. I'm running OpenSUSE 11.1 with an old Windows XP drive slaved on the secondary cable. Works just find, as long as I sudo mount it (sudo mount /dev/sdb1 /windows/C) and I can access everything I have on the drive; this is not the issue. The issue is that I have another drive that I want to sync up. Eh, this needs to be a bit clearer.
When I have /windows/C mounted, it shows a padlock on the C drive, but not windows folder. (/windows/C). I have a dedicated entry in / to allow windows to work. I have maybe 25 folders in my Music folder that I want to sync to my /C drive, as I plan to re-install Suse on a bigger drive, and don't want to lose this music.
Upon su *password* into root, I can ls -l and I get Code: ls -l total 32 drwxr-xr-x 26 root root 32768 1969-12-31 17:00 C
[Code].....
The reason I want to get this stuff transfered over is because I'm running out of room on my smaller drive and I figure I may as well utilize a 200GB HDD for something besides a paperweight. I know this drive will work, but I don't want to lose my current data that exists on my smaller drive. (I think my current drive is a 40? Not completely sure right now)
I want to dual boot openSUSE 11.2 and Windows 7. I already have Windows 7 installed but I have encountered multiple issues in the past with trying to make dual boots. Usually when I install Linux, GRUB decides it wants to go into world domination mode, and "breaks" my Windows installation. I have reason to believe this is because the distros I use come with legacy GRUB, (v0.97) and for some odd reason it lacks commands such as "update-grub" etc. This means I cannot add Windows 7 to the boot menu without going into extreme complications, which have NEVER, I repeat NEVER succeeded. When I boot the Windows drive directly, I get some error about GRUB not finding the device, and it puts me into a grub rescue command line. Now I am no expert in this field at all, but wouldn't that mean that GRUB wrote itself to the MBR of...oh I don't know, ALL of my hard drives? I really want to install openSUSE 11.2, but from bad experience I am really put off as I know that it ships with legacy GRUB v0.97.I am also running Fedora 13 at the moment, I have quite an experimental dual boot running..been trying to get GRUB 2 for hours now, it is definitely there but no commands work, "upgrade-grub-from-legacy" and "update-grub" return with command not found. I've heard this is just a bug but can anybody confirm that there will definitely be a way for me to "fix" my windows installation after it gets "broken" by GRUB?Second idea, unplug my windows hard drive while openSUSE installs?
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
I would like to increase the storage space available to users. I am planning on adding another 120gb hdd and want it available to users in their home space. Is that possible? Also, what happens if you change hardware? If I changed my cd drive to a dvd-rw will suse 11.2 simply find the change and update the system (like in windows)
I added my wife to my system and gave her adm admin access. I compared my access to her's and it is the same. Yet, when I log on as her, the 1TB USB drive does not show up in Places. I tried mounting it and it said it was already mounted in /media/FantomDid find with "ls" command that is indeed mounted there, but since it doesn't show in Places, it cannot be accessed.Been searching and hunting and cannot find out why this is. If I would have made up her userid from the start, I wouldn't have this problem, but since Ijust added her,I cannot find a way to get her UID to "see" the Fantom USB drive
I just added a new hard drive an I am in gparted and when i try to create a primary partition I can only choose hfs, what am I doing wrong? I want to create ext3 or ext4
I bought a "WD My Passport Essential 320 GB" usb drive. When I plug it in (suse 11.2 x86_64 gnome version), it won't automount, a message appears ".../dev/sr2 is not a valid block device", I can not mount it manually neither Don't have a clue how to proceed in solving this issue. The drive is a bit strange though, it has some software on it for protecting data, which I wont need, but can't get rid of it neither. However when I connected it to my laptop running ubuntu 9.10 x86_64, the drive automounted ok, so I guess I must be missing some additional software on my suse. The drive was initially NTFS formated, but I did reformat it to FAT with ubuntu.
What is happening is that I need to make my file system thing for linux bigger, but it wont let me, because it is on 'swap' not sure what that is. It says I need to unmount which I also don't know is, or how to do.
I can not see my usb hard drive here is some information Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00021330 .....
I did an installation of SUSE 11.2 on a new SCSI hard drive. Keeping the old hard drive separate. I remembered there was some info on the old hard drive I wanted.
I added this to the system and mounted a partition. I then copied the data over. Then I umounted the partition rebooted the machine and removed the hard drive.
However the machine will now not boot without this hard drive even though its not mounted. Not sure what the error message im given means I think it could be trying to fchk it.
Do I need to do something more like remove /dev/sdd ?