LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2013, 07:13 AM   #1
ajay ummadi
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Rep: Reputation: Disabled
sd-card permissions


Hi

My device is booting throgh Micro sd card , that contains Fat32(boot), ext2(rootfs).

whenever i will give this product into end user's they can easily open the Micro sd card & that source code can easily copy to every one,

ie my problem,

how can i over come this problem ? is there is any way to hide the code ?
note: my device is booting throgh sd -card .

My device specifactions

processor : Am1808

o/s : Linux 2.3.2
 
Old 03-12-2013, 01:08 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,504

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
you may try an encrypted filesystem, but I do not know what exists for that version.
 
Old 03-13-2013, 12:45 AM   #3
ajay ummadi
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
sd-card permissions

Quote:
Originally Posted by pan64 View Post
you may try an encrypted filesystem, but I do not know what exists for that version.
i have a one dobut

if i encrypt my filesystem is it possible to understand linux in botting time the encrypted file
 
Old 03-13-2013, 12:53 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
As far as I remember, you have asked the same question earlier.

So what about changing the permission to read-only for everyone, except owner, on that sd-card? Or even you can give no read permission for anyone, except owner.. It should perhaps solve your purpose.
 
Old 03-13-2013, 01:29 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
It does not matter what file permissions you set, once you hand over the card, the person with control over the machine on which it is mounted will be able to read every bit.

If you are worried about users seeing source code, then don't put source code on the sdcard.

I'm not sure what you are trying to achieve, or what the real problem actually is.

Evo2.
 
Old 03-13-2013, 02:09 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,504

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
Quote:
Originally Posted by ajay ummadi View Post
i have a one dobut

if i encrypt my filesystem is it possible to understand linux in botting time the encrypted file
You will need a non-encrypted boot partition and another one containing the sensitive data.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions on dvb card kudos Fedora 4 12-09-2006 11:10 PM
Permissions issues with graphics card Courthold Slackware 2 11-24-2004 02:41 PM
Secure digital card permissions mrsolo Linux - Software 1 11-17-2004 05:48 PM
How do you set permissions for the sound card? kidicarus Linux - Hardware 3 09-19-2003 01:05 AM
Sound card permissions Rodcl Linux - Hardware 7 09-02-2002 11:51 PM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration