I am currently running Ubuntu Studio (a variant of Ubuntu 10.10), dual-booted with Windows 7. For convenience's sake, I have three partitions - one for 7, one for Ubuntu, and a third shared partition, for all of my non-OS-specific media, documents and programs. I am using RhythmBox Media Player, and have it pointed at a folder on the shared partition as a music library.
However, every time I boot, I have to re-mount the shared partition, which requires re-entering my login password. In a similar vein, when I'm installing programs in terminal (doing 'sudo apt-get install [x]'), I have to re-enter my password each time I do a sudo command. Is there any way to keep super-user permissions until I choose to drop them myself? Better yet, can I make it so that logging in as the admin account automatically instates super-user privileges?
How can I format a USB hard drive to ext3/ext4 or whatever file format and have full permission to read, write and execute all files afterwards? When using the command line (as ROOT of course) mkfs.ext3 /dev/sdb? Restricts the rights to ROOT as does the procedure gParted. The man mkfs did not help much. Configuring the fstab- file is a bit of a hassle, so it would be nice, if there was an option to set the permissions "correctly" right from the beginning. Setting Ubuntu (I'm using Ubuntu 9.10) up, so that it mounts USB devices not as ROOT as default but giving all users all permissions seems to be really complicated, as a guy from my local LUG told me.
I backed up my "/home" and "/usr" folders from a previous installation.How can I copy them on to my new installation without losing my permissions?I tried using nautilus, but everything had "Root-only" permissions after I pasted the files.
I have an Ubuntu 11.04 laptop that I use to connect to a Windows 7 server. Everything was working fine until the hard drive on the server crashed and it was replaced with a backup. Now I intermittently lose access to the shares with Nautilus giving me the following message:
"The folder contents could not be displayed.You do not have the permissions necessary to view the contents of Folder"
When I look at the mount points in terminal I see the following:
Sometimes the permissions will revert back by themselves, sometimes I need to umount and mount to get back in.I have tried deleting and recreating the mount points. No change.It is driving me up the wall, I have tried everything I can think of, installing/uninstalling winbind, the fuse modules etc etc. I use this machine as a production machine in a heterogeneous environment and everything works awesomely except for this. I love Ubuntu, I can't even think of booting Windoze these days but not being able to access the network shares is a right show-stopper for me.
how do i give full permissions to my account? At the moment i'm logged onto root so i can create files / folders in my LAMP folder (/opt/lampp/htdocs) i've right click on the folder and gone to the permissions tab and give the ownership to my account (Kevin) but it still doesnt let me create files or folders? i just want to give my account full permissions to every folder!
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.
I have one drive for Kubuntu and 4 other NTFS drives. When I'm using Ubuntu Desktop Environment (GNOME), I seem to be able to delete files, create new folders, files etc, in all the NTFS drives. That is, I have full permissions to make changes in the NTFS drives. But when I switch to KDE, this isn't possible. Options like rename, delete, cut, etc, aren't working, they aren't highlighted.Is there any way I can have full permissions to modify NTFS drives in KDE?
I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.
I'm a new user for oracle,tried to install oracle 10g on redhat linux 5 but gettinh the same error message. response/ runInstaller [oracle2@localhost database_10201]$ sh runInstaller_runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied_
how to give full set of permisions to an user in linux to access a folder?
Now I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?
I want to upgrade my ubuntu 10.04 to 10.10 or 11.04 but I afraid of doing that because last time that I did it upgraded successfully but after restarting, it went to blank screen and I forced to install a new UBUNTU. unfortunately there was no other previous version of UBUNTU in boot option.My question is how can I update or upgrade my UBUNTU to another one with keeping all of last versions data(kernel,modules,drivers,....)that if new version does not recognize some thing I have other choice to boot my system from ubuntu boot menu.
i have suse linux enterprise desktop on my laptop with these partitions :
Device Boot Start End Blocks Id System /dev/sda1 * 1 2612 20980858 83 Linux /dev/sda2 2613 3592 7871848 82 Linux swap / Solaris /dev/sda3 3593 3971 3044317+ 83 Linux /dev/sda4 3972 60801 456486972+ 83 Linux
now i want to delete all partitions except root partition (sda1) and make it's size bigger then create other partitions again.
(Ubuntu Linux server, 64-bits)I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual.First this is the MD5 of the file after download, which didn't match the expected value:
This was really unexpected. Since I have a lot of RAM, I suspected this was the effect of caching and something was going awry with it. I decided to retry with the whole file from disk, for my surprise:
~% sudo sysctl -w vm.drop_caches=3 # This linux command invalidates vm.drop_caches = 3 # everything in the memory cache. ~% md5sum media.iso 2992aa6270f6e1de9154730ed3beedc1 media.iso
I redid it and now it seems to stay consistent, although this still isn't the value I was expecting. Certainly, the contents in memory cache were different from the contents on disk.This is the big problem.To fix the download, I created a torrent on the source machine and opened it in the target machine. Five 1MB chunks out of ~3.0GB failed integrity check. I used the torrent to fix these file chunks and how the file integrity is ok.The problem now is to determine where the data got out-of-sync.
I tested the memory with memtest86+, all but the bit fading test. I was expecting to see some failing memory module, but there wasn't anything. Everything is ok.Filesystem is Ext4, over LVM2, over a 3-disk RAID5 array.Ext4 is considered stable, and if data were inconsistent between disks, mdadm would have warned. But there is nothing in the logs. S.M.A.R.T. error logs are clean, the disks are new (have less than 30 days of "power-on-hours").I'm looking for information about any data-loss bugs in my current kernel (2.6.35), but there doesn't seem to be anything, as far as I looked.what else I could check, or where exactly could be the defect/bug?It is a Ubuntu 10.10 64-bit, Core i7 930, 6 GB non-ECC RAM.
Update: I confirmed that the files are being correctly written to the disk, the pages are being altered after they are read from disk, while in memory. I did a lot more memtests (I left it doing bit fade test overnight),and still nothing. All memory modules seem ok.Some more tests:
~% md5sum media.iso cc8bcf1ce67ff7704eadc2222650c087 media.iso ~% cp media.iso tmp[code]....(direcat is a version of cat that reads with O_DIRECT, that is, bypassing page cache)There is a clear pattern: it always happens to the 2nd byte in a 16-byte alignment. In that byte, almost always the bit 4 (LSB) flips to one, but there was one instance where bit 2 flipped to zero.
I have a vp6 codec flv. I have a wav file that I want to convert into mp3 and added to the vp6 flv. So when I play the flv the audio is added and the video quality is not changed.I tried:ffmpeg -i 20.flv -i 20.wav -vcodec copy -acodec libmp3lame new_file.flvbut I an error "Could not write header for output file #0 (incorrect codec parameters ?)". I'm guessing because it is a vp6 flv codec.Is there a way to just add an audio file to the flv? There is no audio in the current flv. I cannot lose any quality in the video.
Every time my workstation reboots I have to manually redo my resolv.conf file because some of the servers I manage use apparently different nameservers than what my system is registering at boot. Is there a way to make sure my resolv.conf file says static?
Can any data be lost on ext4 with full journalling mode when electricity crashes? I know it's possible on filesystems like JFS and XFS because they don't journal data (only metadata). When ext4 in "journal" mode journalles both - data and metadata. Does it give 100% guarantee that no data can ever be lost in case of problems with electricity?
I have Ubuntu 10.10 installed. I am very new to Linux. I am having a problem connecting to wireless network when I reboot to Vista OS. When I am using Ubuntu, it works fine. I have to plug in the LAN cable in order to connect to internet. When I try to connect to wireless network, I don't see any networks at all. My WiFi switch is ON. I keep switching back and forth between Vista OS and Linux.Narendra
Since 10.10 is not out yet, I think I'm going to try Mint. (or possibly Lubuntu - I have both ISOs copied to CD already)
Question is: Is it possible to install the new OS on the partition that now contains Ubuntu, without disturbing my Windows Vista partition? (I just need Vista for occasional use of MagicJack- otherwise I'd gladly just wipe the whole disk)
Can I just boot my Ubuntu live CD and run Disk Utility and delete the Ubuntu partition? (I prefer to use GUI rather than CLI).
I have a Linux box being used as a firewall with Fedora 10 and shorewall 4.2.10. Secondary IPs are loaded on the WAN (eth1)card through Shorewall NAT and Rules file. The problem is that if there is a network hickup or if the circuit bounces, the primary IP comes back but I have to reload Shorewall to get the secondary ips back. Is there a way so that they can automatically reload or just not go away if the connection bounces?
I have Windows 7 working on my laptop. I have 20GB space unpartitioned. I want to install a flavor of Linux like Fedora or Ubuntu in that space, but I have heard that keeping a dual OS configuration sometimes results in losing data stored on the hard disk. I've also heard that it may sometimes cause unrecoverable problem because when Linux is loaded on hard disk it will take over the boot loader from Windows.
Is this correct? Moreover, I have 6 partitions in Windows, but if I use a Live CD for Ubuntu or Fedora to boot, then it is not showing some partitions -- sometimes it shows only 4 or 5 partitions. What might be the problem, and how to resolve it without formatting the whole hard disk and repartitioning it?
Just ran into an uncomfortable problem. I usually never save any documents on my machine, and keep all my stuff on an external USB hard disk. (an 80GB TrekStor DS microdisk q.u) Well yesterday this disk just would not mount. Read through related posts but nothing seemed to work. Even tried it on a Windows machine.
Tried TestDisk utility. Found nothing wrong with the drive, but still could not repair the MBR.log code...
Palimpsest Utility recognized the drive, but just will not let me do anything with it except format it.
How can i repair the partitions and MBR without losing all my data?
I know this isn't exactly a programming question, but it popped up in my use of git for programming projects at least. I've got a web server that I use to host my git repos on, but my ubuntu box seems to "lose" the ability to connect to it via SSH. I'll get a "connection refused" error when I try to ssh or use git. Rebooting my local machine will fix the problem, but only temporarily. I can still connect to the web interface just fine, and the problem manifests with other servers as well.
I've been working around it by pulling my changes over to my laptop and pushing from there, but that's sub-optimal as you can imagine. Has anyone seen something like this? I'd be tempted to say it's some kind of IP caching problem, but I can't connect even using the IP address of the server directly.