Find the answer to your Linux question:
Results 1 to 2 of 2
i've several disk partitions in my pc and when i want to run some of my "programs", it works only on disk where my linux is istalled(hda2). but i usually ...
  1. #1
    Just Joined! Runn3r.cze's Avatar
    Join Date
    Jul 2007
    Location
    czech republic
    Posts
    93

    problem ruuning my programs from other disk

    i've several disk partitions in my pc and when i want to run some of my "programs", it works only on disk where my linux is istalled(hda2). but i usually store my data (inlude souce codes) on an other disk (hdb2). but when i want to run the programs from there, i get an error
    Code:
    permission denied
    . but i've enough permissions to run it.
    can somebody help me how to run my programs from other disk than the one where linux is installed???

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    When the other disks are mounted, they have permissions
    associated with them. If they are mounted at boot time,
    these permissions are found in the file /etc/fstab

    It's not uncommon for a system to mount non-linux partitions
    without executable permission, because usually there wouldn't
    be any linux executables on your windows drive.

    fstab(5): static info about filesystems - Linux man page

    mount(8): mount file system - Linux man page

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...