LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-01-2000, 05:00 AM   #1
ryan
LQ Newbie
 
Registered: Nov 2000
Posts: 3

Rep: Reputation: 0
Exclamation


Is it possible to configure directory/file permissions so only certain users can see them. I have a dual boot system and notice that my Windows 98 partion is mounted allowing me access files on that partion. What I want to do is set security so only I can access this.
Can I do this with a workstation install?
 
Old 12-03-2000, 04:28 PM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I know of a way to set the permissions through root user, but the ability to block files and directories is dependant on the person who created the file(s), so you are stuck if you are not the root user. Anyway, you set the permissions of any file (logged in as root user) by using the command:
chmod [options] (file)

where the options need to be looked up in the manual page because I cant remember them all, and file is obviously the name of the file you want restricted.

I assume that you know where the folder Win98 is mounted to?

If so all you need to do is set the permission in the folder it is mounted to. For a better explaination (cough) of this here is the link:
http://www.linuxdoc.org/HOWTO/Securi...O-5.html#ss5.2

[Edited by CragStar on 12-12-2000 at 08:42 AM]
 
Old 12-06-2000, 12:46 PM   #3
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
if your windows partition is mounted under /mnt/windows
you could try chmod 700 /mnt/windows.You can also try and edit your /etc/fstab and see if the "user" or "default" parameters are being used for your windows partition.If so change it.
eg: /dev/hda1 /mnt/windows vfat user,auto,exec 0 0
remove the "user".
 
  


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
File and directory permissions or groups kuplo Linux - Newbie 1 11-11-2005 03:06 AM
File/Directory Permissions waynevnc Debian 1 05-23-2005 04:23 PM
File and Directory permissions plasmapudding Red Hat 3 09-09-2003 10:26 AM
vsftpd and file/directory permissions dynamo|x Linux - Security 7 06-01-2003 09:37 PM
'Proper' file and directory permissions etherdeath Linux - General 5 03-02-2003 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:42 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