LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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, 12:08 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
you may try an encrypted filesystem, but I do not know what exists for that version.
 
Old 03-12-2013, 11:45 PM   #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-12-2013, 11:53 PM   #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, 12:29 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 01:09 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
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



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
Sound card permissions Rodcl Linux - Hardware 8 11-22-2021 12:06 PM
permissions on dvb card kudos Fedora 4 12-09-2006 10:10 PM
Permissions issues with graphics card Courthold Slackware 2 11-24-2004 01:41 PM
Secure digital card permissions mrsolo Linux - Software 1 11-17-2004 04:48 PM
How do you set permissions for the sound card? kidicarus Linux - Hardware 3 09-19-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration