[SOLVED] Is /opt empty by default?

Hello,
i had some issue installing a third party program. I downloaded it as binary, the only thing to do was to place it to /opt. It was a tar.bz2 file. it contents was opt folder, then PorgramName folder and so on. so i issued:
sudo tar xjvf archive.tar.bz2
while being in the root(/) folder. everything looked like to run smoothly, but after that i wanted to check /opt and it had 0700 permissions and owner 1003.... wtf? i changed user and group to root and permissions to 755 and opened the /opt directory and the only contents in it was the content from the archive. Is /opt by default empty or did i screw something up? System seems to work normal. I really don't remember what was in /opt nor what permissions did it have before i issued that command. Could this way off unpacking the archive break something?
Last edited by ancrouter (2011-10-06 21:43:52)

/opt will be empty unless you install something into it e.g. Java
https://wiki.archlinux.org/index.php/Ar … _Standards
Are you saying you installed the program without using pacman?  Using a PKGBUILD is the way to go here.

Similar Messages

  • Reverting USER FORMS back to "Empty" or "Default Page"

    Hi all,
    I could really use some help with my situation here.
    I have designed my User Form in such a way that it handles *"Employee Recruitment"* Process in an easy and straightforward way.
    My User Form has two main Tabs : *"Employee Joining the Company"* and *"Employee Leaving the Company"*.
    In other words : IN and OUT process.
    The first tab is used to Create the Employee "file", and also update his current Status (if any thing changes while he is employed by the company).
    The second tab deals with his Leaving the company (if he either resigns, or is kicked out).
    So far, so good.
    However, sometimes, an employee is hired only on a "Temporary" basis. Meaning, a "fixed-term" contract. So, when his contract is up, he leaves the company.
    But, what if he decides to COME BACK (or, if he is again re-hired by the company)?
    To make it easier, we do not delete any employee's records from our IDM system (even after he has left the company). So, if he ever returns to work, his "*username"* is still in the IDM system, and can be revived.
    But.............therein lies the problem. If an employee returns, we need to initiate an entirely new CREATE process for him.
    Also, if he leaves the company again (for the second time), this requires a new OUT process.
    (a) Is it possible to initiate a new CREATE-process for a user, whose "username" already exists in IDM? In other words, he has already been "created";
    How could I "erase" the previous "Employee IN" User Form, and re-input everything with a fresh, empty form?
    (b) similarly, how can I "erase" everything from the OUT-form?
    In a nutshell : is there anyway to revert BACK to an empty User Form (default field values (zero)) ?
    Any help will be greatly appreciated.
    Thanks.

    Hi chapo.
    thanks for your reply.
    *> I assume that when a person leaves the company that their rights in various application will be either disabled or disabled then deleted after a period of time. When this occurs this should remove most of the applications that a user is assigned to and resolve a potential security issue of a returning contractor having access to applications from a previous engagement*
    Yes, this is true. Our IDM system is linked to other Resources (particularly Active Directory and LDAP). Naturally, when a user's account is DISABLED in IDM, this will also disable all accounts and access-rights in other systems.
    *> In regard to the other information that may be stored. You could create an extended attribute that flags the user when they leave the company. When the person rejoins the company the form then resets attributes based on the existance or otherwise of the flag.*
    This is the part that interests me the most. Because : I need the User Form to be "RESET".............in other words, all attributes set back to Default (a fresh, empty form), so the CREATE and UPDATE processes can begin afresh.
    Please, could you specify how I could do this?

  • Package empty in default host firmware

    Hi All
    I received this minor error and do not Know what is this 

    Hi Amr,
    The reason you see this message is because you have the "Firmware Auto Sync Server policy" set to "auto Acknowledge" or "User Acknowledge" (see screenshot below) and the default host firmware package policy has some empty values.   To clear this fault you can fill out the empty values in the default host firmware policy or what I would recommend is to set the "Firmware Auto Sync Server policy" to "No Actions".  
    Let me know if this helps.

  • [SOLVED] Alpine - Error sending: No default posting command

    Hi, I have installed the Alpine mail client yesterday, and it all works nicely, except I can't send mail. Everytime I try I get this message:
    Error sending: No default posting command
    I have tried googling around, and from what I understand Alpine uses sendmail by default, but I haven't got it installed, nor I can find it in the repos. Is there any way I can change this? And what can I use to send mail?
    Thanks.
    Last edited by finferflu (2007-12-26 16:02:13)

    I haven't dug it enough yet, and I'm not sure that this is possible, even though Alpine is very customisable as far as I can see.
    I'll let you know if I find anything

  • %ACCOUNT_SET% is empty in Default.lgx after submit

    I'm trying to use %ACTIONS_SET% (Account dimension in one application) to populate a stored procedure. I have a stored procedure that have 4 parameters Entity, Time, Actions and Category.
    *RUN_STORED_PROCEDURE=tbg_CopyWorkFlowComments('%ENTITY_SET%','%TIME_SET%','%ACTIONS_SET%','%CATEGORY_SET%')
    In logfile it looks like this:
    Executing TBG_COPYWORKFLOWCOMMENTS 'TWSFR','2011.MAR','','ACTUAL'
    Any idea how to solve it.
    We are running BPC 7.0 SP7.
    Edited by: Clas Uddenäs on Sep 5, 2011 5:17 PM

    Hi,
    The SET variables hold the member values. These values should be passed from the DM package. So, you need to add this dimension in the prompt statement of the advanced script of the DM package.
    Hope this helps.

  • [solved] Gnome set Evince as default PDF

    Hello,
    I wonder why I cannot select Evince as my default PDF viewer. The default application window simply does not let me choose Evince.
    Screenshot: https://dl.dropbox.com/u/8902804/Screen … viewer.png
    Any ideas what to do alternatively?
    Thanks!
    Last edited by orschiro (2012-11-26 05:53:37)

    wombat23 wrote:I wonder if there is a bug to file, though? does evince register itself not properly as a PDF viewer within GNOME or does Inkscape somehow overwrite this?
    There's already a bunch of bugs about this filed against most distros. Previously it was just an issue with it not displaying in the application menus, but I think a recent Gnome Shell version (3.4/3.6?) is also now respecting NoDisplay in the Open With / Default application list.  I didn't have this problem on my previous Arch install from about 18 months ago up until two weeks ago - Evince was always the default app for opening PDFs - but with my shiny two-week-old Arch install it was a problem.
    That said, using xdg-mime is the cross-desktop way of doing this at least.

  • [SOLVED] Loading mobile version by default with Qupzilla

    Is there a way to load the mobile version of all websites by default with Qupzilla?
    I can achieve this manually when the mobile version of the website resides in m.webaddress.something, but there are some sites that do not use separate addresses for mobile versions.
    I think this is related to setting the browser agent, but in Qupzilla I only see agents for Desktop browsers.
    Any hint? Are there other browsers with this feature?
    Last edited by Box0 (2014-05-25 20:11:14)

    Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en-us) AppleWebKit/532+ (KHTML, like Gecko) Version/3.0 Mobile/1A538b Safari/419.3
    Can you make your own user agent? The one above will get you mobile pages.

  • [SOLVED] makepkg leaves empty source dir

    Hello, I made this package https://aur.archlinux.org/packages/i8kutils-bzr/
    Works as expected, the only problem is that after running makepkg (with or without the --clean flag) there is always an empty "i8kutils-bzr" directory in the package root.
    The culprit PKGBUILD line seems to be the following. The empty dir name changes along with $pkgname.
    source=("$pkgname"::'bzr+https://launchpad.net/i8kutils/trunk'
    I can't find how to stop makepkg from creating that empty dir.
    The sources are inside the 'src' directory, that dir may be used for cloning? But why does makepkg keep it?
    Last edited by adirat (2014-07-15 15:41:38)

    I can see the sources only in pkg-root/src/$pkgname, the pkg-root/$pkgname is always empty. It is created when bzr pulls the sources, though
    if I change the source line to the following, makepkg has the same behavior only the empty dir name is "trunk".
    So you have an empty pkg-root/trunk and source present in pkg-root/src/trunk
    source=('bzr+https://launchpad.net/i8kutils/trunk'
    Edit: And on every build, bzr re-downloads all the sources
    Later edit:
    core/pacman 4.1.2-6 (base base-devel) [installed]
    Last edited by adirat (2014-07-15 15:21:47)

  • [Solved]which application exec xorg default screensaver (black screen)

    Hi,guys!
    I want to  exce cron in 45 minutes with xorg's default screensaver application  to prompt me to take a water for relaxtion.:(
    But I don't know xorg's default screensaver application,and I hope to change the default  saver time for a  long time!
    thank you!f
    Last edited by 57lvii (2010-04-23 12:59:00)

    man -k screensaver
    XActivateScreenSaver (3) - manipulate the screen saver
    XForceScreenSaver (3) - manipulate the screen saver
    XGetScreenSaver (3) - manipulate the screen saver
    XResetScreenSaver (3) - manipulate the screen saver
    XScreenSaver (3) [XScreenSaverSelectInput] - X11 Screen Saver extension client library
    XScreenSaverAllocInfo (3) - X11 Screen Saver extension client library
    XScreenSaverGetRegistered (3) - X11 Screen Saver extension client library
    XScreenSaverQueryExtension (3) - X11 Screen Saver extension client library
    XScreenSaverQueryInfo (3) - X11 Screen Saver extension client library
    XScreenSaverQueryVersion (3) - X11 Screen Saver extension client library
    XScreenSaverRegister (3) - X11 Screen Saver extension client library
    XScreenSaverSelectInput (3) - X11 Screen Saver extension client library
    XScreenSaverSetAttributes (3) - X11 Screen Saver extension client library
    XScreenSaverSuspend (3) - X11 Screen Saver extension client library
    XScreenSaverUnregister (3) - X11 Screen Saver extension client library
    XScreenSaverUnsetAttributes (3) - X11 Screen Saver extension client library
    XSetScreenSaver (3) - manipulate the screen saver
    But they all can't execute !
    does anybody know which application control the xorg's default screensaver !!
    thanks !!

  • [SOLVED]Cursor theme changes to default in Firefox and Thunderbird

    When i use facebook, when the page loads something like photos or my profile, the cursor changes to default X11.
    I use KDE Oxygen Black theme so the proper cursor theme when the page loads must be the arrow with the two bubbles rotating around, but i get the default skinny black cursor with a clock.
    This happens in some java apps like netbeans.
    I've done this alredy:
    https://wiki.archlinux.org/index.php/X1 … sor_Themes
    I have Oxygen Black theme in KDM too.
    I have tried this in Konqueror and Midori and works perfect. (The cursor flicker a little, but works)
    Thanks in advance.
    PD: sorry if you notice my bad english .
    Last edited by Hyugga (2012-03-16 15:39:16)

    If you need a fix before next major release, just do the following:
    1) Check Arch Files out: http://projects.archlinux.org/svntogit/ … hunderbird
    2) Download Patch https://hg.mozilla.org/mozilla-central/ … 6e3eca4196 ans save it to patch.patch (for example)
    3) Add filename and md5sum to PKGBUILD
    4) Add after "patch -Np1 -i "$srcdir/libvpx.patch"":
    cd "$srcdir/comm-release/mozilla"
    patch -Np1 -i "$srcdir/patch.patch"
    cd "$srcdir/comm-release"
    5) Run makepkg -si
    6) delete autoconf2.13,yasm,etc. afterwards (makedpendencies)

  • [SOLVED] Unable to net-start "default" network in libvirt (KVM)

    Hi. I've used this tutorial  and have net-define'ed a network from this xml, but when i try to net-start it, i get the following error:
    virsh # net-start default
    error: Failed to start network default
    error: internal error Network is already in use by interface virbr0
    At first i though that some other network has already been defined and auto-started, so i've checked net-list
    virsh # net-list --all
    Name State Autostart
    default inactive no
    Here is the output from $ ip a show dev virbr0
    4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
    link/ether ce:1e:b4:54:83:83 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
    I became curious, and found out that dnsmasq was running
    $ ps -ef | ack dnsm | ack -v ack
    nobody 12333 1 0 13:04 ? 00:00:00 dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override
    With that i thought that everything works just fine, and i should try to configure a virtual machine to use the default network.
    EDIT:
    Looks like $ virsh edit fedora and /etc/libvirt/qemu/fedora.xml contain different things. I am pretty confused.
    /etc/libvirt/qemu/fedora.xml
    virsh edit fedora
    virsh # list --all
    Id Name State
    - fedora shut off
    virsh # start fedora
    error: Failed to start domain fedora
    error: internal error Network 'default' is not active.
    How can it be started and not started at the same time?
    Last edited by blin (2011-12-18 14:51:49)

    Well, it turns out, i shoulde have run virsh as root, that way everuthing works fine.

  • [Solved/Hacked] .txt and .doc default app.

    I use Stumpwm and Thunar and I open .txt files with Gvim and .doc files with LibreOffice/OpenOffice.
    My problem is: If I set the default application for .txt files to be Gvim, this is also set for .doc files and viceversa.
    What I want is to be able to set Gvim the default application for text files and LibreOffice for .doc files.
    Last edited by botzoboy (2011-01-18 16:37:29)

    I had the same problem a while back. Finally found this informative thread. Seemed to be a bug in Thunar, so I just decided to let it be.
    However, it looks like the problem has been fixed in the latest version of Thunar (1.2.0) that came with the Xfce 4.8 update last week, at least on my end. Have you tried updating?
    Last edited by Mast (2011-01-18 16:17:40)

  • Blank thumbnails / not solved by Opt + Cmd

    Hi there...
    I am using iPhoto 9.2 and I am realising now that many of the thumbnails have gone blank. Photos are still there, but not the thumbnails.  I have tried the standard proposed solution (opt + cmd & iPhoto, and then rebuild everything in every conceivable combination) to no avail.  Has any of you come to another, alternative solution?
    If I have to re-install the whole thing... is there any way to backup JUST the originals, and not the entire library (I am assuming that the problem is in the library itself...)?
    Thanx!

    The usual solution:
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to rebuild the thumbnails. It can take 3 or 4 goes for this to work
    However, if that hasn't worked after 4 or so goes:
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • [SOLVED] Xarchiver or Squeeze in default Xfce4 ?

    In Xfce4 official website, xarchiver is the proposed archive manager for Xfce4. But I pacman -S xfce4 and get squeeze as a archive manager. Why not xarchiver ?
      However, if it can display a menu on a right click, say "Extract here", or such things, like 7-zip in WindowsXP, I guess it would be more convenient.
    Last edited by ShinChyn (2009-03-15 13:14:02)

    ShinChyn wrote:In Xfce4 official website, xarchiver is the proposed archive manager for Xfce4. But I pacman -S xfce4 and get squeeze as a archive manager. Why not xarchiver ?
      However, if it can display a menu on a right click, say "Extract here", or such things, like 7-zip in WindowsXP, I guess it would be more convenient.
    I always thought squeeze was the default extractor for Xfce. But XArchiver does have the Extract here functionality -- but not for all types of compressed files. I think its more dependent on the backend processes than the front-end. Xarchiver and Squeeze both are just front-ends for tar, bzip2,zip,unrar etc.

  • Combobox ~ Empty  by default

    Hi,
    I have some problems with comboboxes which have not an empty
    first line. Indeed, I have 4 comboboxes in cascade which are
    informed by a xml file, and i haven't find the option to have the
    first line empty, the first element of my xml file is automatically
    posted, and so the 3 following comboboxes are.
    Thanks for some help

    First, this is not a Flex Builder question, so it should go
    in the General Discussion forum, instead of here.
    Look into the "prompt" property. Perhaps it will do what you
    wish. Also, you might try setting the selectedIndex = -1;
    Tracy

Maybe you are looking for