Red Hat :: Create An Rpm For An Ordinary Tar.gz File?
Feb 3, 2010
I have some compressed (tar.gz) files that i need to get users to install on their servers but it becomes a pain some times to explain the command and where to uncompress it to.Is there a way to create an rpm of the files inside the tar.gz so that by just running rpm -ivh "file.rpm" it extracts them to the correct target destination.For example: rpm -ivh "www.rpm" will exact files inside rpm into /var/www
Is it sensible to install a netbook edition on an ordinary machine? Like if i want to quickly browse the web and answer emails with fast boot time and without having a full-blown desktop?
Have got slow bumpy - slow to load -slow to refresh graphics. Also noticed that when inittab 3 and doing a non graphical login for user startx wont work. Something about fbdev not loading.
logining in via kdm works for user. have tried placing an xorg.conf into /etc/X11 with what used to be ok for user to have dri.am using an radeon hd 2400 pcie graphic card. Also placed a file into /etc/X11/xorg.conf.d/100-dri.conf again with what used to work to get dri working. Is it me or is slackware graphics gone down hill since 13.0?
My program attributes (it uses semanage to change range): I'd like to ordinary user (bartek) can execute my program. I executed as root:
chmod u+s se_chmod4
so now my user can change his range in permissive mode by my program. My politic: In enforcing mode i can see attributes but when i want to excute i get:
How should look like my TE file that user (bartek) could execute my program (forget at moment about "semanage")?
Virtual Box doesn't work under ordinary user, though this user is in vboxusers group. Under SU it work normally. This happied after upgrage to 4.0.10-8.1 version from obs://build.opensuse.org/Virtualization community repository. In Oss repository there is 4.0.4 version.
Here the massage, that appears after start of Virtual Box under ordinary user: "Failed to create the VirtualBox COM object.
The application will now terminate. Ditails: Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)
I am posting the o/p of /etc/fstab and /etc/mtab...Currently i am the only user but if i add one more , how can i give that user the right to mount any partition
I'm using ubuntu,i have a bin file under my /usr/bin, if i run the command under root user i'm getting no problem an it works fine,if i try it in with differnent user im getting
Code: semctl:premission denied
so how can i edit my bin file and change it to right permission
If you select "support virtualization" during install, you get the xen kernel installed.
Some things do not work with this kernel (e.g. nVidia drivers). So my question is whether it is possible to install both kernels (xen and ordinary) and select between them with grub at boot time?
I did try this a while ago, by first installing with xen and then manualy adding the ordinary kernel, but the ordinary kernel failed to boot (for reasons I don't now recall - sorry). Clearly, there must be differences in the "virtualization" build other than the kernel.
The alternative, if I want to play with virtualization, would be to have two entirely separate installations, but this seems like a waste of space when surely almost everything must be identical?
I can't find anything in the Centos Xen documentation about this.
Before I try again I would just like to check if anyone actually knows if this is possible, or if not why not?
I have read a couple of threads that deals with resize partion and then create new lvm partion.That is not what I want to do! I have resized my partion from 275 GB to 150 GB. the reason for this was hoping for more space to be able to create a normal partion with cfdisk but that does not seem to work. I have free space, but how can I use it to create room for a new ordinary partion.when the default partion layout for fedora/centos is to fill the whole space up whether you use it or not?
I am trying to install several of the packages listed in the repositories for Ubuntu 10.04 LTS from the Ubuntu SoftwarecCenter. I get the error message: "The action would require the installation of packages from not authenticated sources."
How can this be...they are in the repository. Doesn't that mean they are authenticated?
By the way, under sources, I selected "Server for the United States".
fsck died with exit statusAn automatic file system check of the root file system failed. A manual fsck must be performed then the system restarted. The fsck should be performed in maintenance mode with the root file system mounted in read only mode..This is the message I now get with the word "warning" in red
Is there a way to allow ordinary users to mount / unmount an ntfs partition?I don't want it to be mounted automatically - I can do that. I want it to be mount / unmountable by ordinary users (possibly in a particular group).
I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message
Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system
So when I click on delete I get another error message:
Error while deleting. There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system
At this point I can only click on Skip, Skip All, or Cancel.
I have not changed anything on the stick recently so I dont know what is causing the problem.
Is there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.
I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.
Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.
What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.
I do not want to reformat it from what it is, apparemtly NTFS.
Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
I am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.
I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 2.6.38.8. I am getting error message when I run the command sudo gedit /etc/x11/xorg.conf
The error message is
(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory
(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.
I just did a fresh install of Fedora 14 and noticed that with the ordinary KDE boot the command "free" says it's utilizing 1.5GB of RAM. Is that usual? What is running in BG that uses so much memory?
So in older versions (even in 9.x) of Ubuntu, file-roller offered a "create archive" option when right clicking on a file. Now, in 10.10, that option seems to be gone.I mean, it was never a great option to begin with since it only appeared when selecting multiple files (not with a single file)... but this is much worse. I need a quick and efficient way to create a .rar or .zip file. Right now I have to open file-roller, drag the files in, and then create the archive.