Linux.com

king13

king13

  • Linux.com Member
  • Posts: 1
  • Member Since: 19 Feb 11
  • Last Logged In: 19 Feb 11

Latest Posts

Posted by
Topic
Post Preview
Posted
  • king13
    Control user access to a folder
    Hi everyone I currently use ubuntu 10.10 which i have installed on a usb stick I have an application installed under the directory /home/ubuntu/MyApplication Inside the application folder there is a launch.sh script which launches the application. I have created a symbolic link on the desktop which calls /home/ubuntu/MyApplication/launch.sh that launches the application from the desktop The usb stick will be shared between a number of users. I want the other users to be able to launch my application, but i don't want them to be able to view or copy the content of /home/ubuntu/MyApplication which contains application data I set up a Private directory using ecryptfs-utils and i placed the content of /home/ubuntu/MyApplication inside the private directory ecryptfs-setup-private The problem i'm having is that after a restart when i log on and try to launch the application through the symbolic link on the desktop, i get a file not found error, because at this moment the Private directory is not mounted. When i mount the Private directory than the content inside the Private directory becomes readable. I want the users to be able to launch the application through the shortcut on the desktop but at the same time i want the content of the Private folder to remain encrypted(don't want them to copy, view or modify the files) Any suggestions are more then welcome Thanks, El
    Link to this post 20 Feb 11

    Hi everyone

    I currently use ubuntu 10.10 which i have installed on a usb stick

    I have an application installed under the directory /home/ubuntu/MyApplication

    Inside the application folder there is a launch.sh script which launches the application. I have created a symbolic link on the desktop which calls /home/ubuntu/MyApplication/launch.sh that launches the application from the desktop

    The usb stick will be shared between a number of users. I want the other users to be able to launch my application, but i don't want them to be able to view or copy the content of /home/ubuntu/MyApplication which contains application data

    I set up a Private directory using ecryptfs-utils and i placed the content of /home/ubuntu/MyApplication inside the private directory

    ecryptfs-setup-private

    The problem i'm having is that after a restart when i log on and try to launch the application through the symbolic link on the desktop, i get a file not found error, because at this moment the Private directory is not mounted.

    When i mount the Private directory than the content inside the Private directory becomes readable.

    I want the users to be able to launch the application through the shortcut on the desktop but at the same time i want the content of the Private folder to remain encrypted(don't want them to copy, view or modify the files)

    Any suggestions are more then welcome

    Thanks,

    El

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board