LinuxQuestions.org
Review your favorite Linux distribution.
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 12-02-2005, 05:03 AM   #1
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 0
Angry security-access permissions


hello every one

will any one plz tell me how to change the permissions of a normal user

bye
 
Old 12-02-2005, 06:02 AM   #2
lockout
LQ Newbie
 
Registered: Sep 2005
Location: Riga, LV
Distribution: Slackware/Gentoo
Posts: 26

Rep: Reputation: 15
FPFPFP!

Of what permissions do you speak?
If you speak on file access permisions than you should check /etc/groups
and reffer to man page on chmod, chown commands.

Cheers
 
Old 12-02-2005, 06:24 AM   #3
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
hi
actually i mounted fat32 drive in linux and while accessing the drive as a normal user im unable to modify the contents of the driver is there any way to do that (I'm able to read but not write in to the drive)
 
Old 12-02-2005, 06:40 AM   #4
lockout
LQ Newbie
 
Registered: Sep 2005
Location: Riga, LV
Distribution: Slackware/Gentoo
Posts: 26

Rep: Reputation: 15
Did you check the /etc/fstab file has an user rw option set for the FAT32 partition.
Be sure to check that a user has rw permissoins on the target mount directory (eg. /mnt/fat).

Cheers!
 
Old 12-02-2005, 06:57 AM   #5
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
this is my /etc/fstab content

________________________________________________________________
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda6 /home/arjun/windows auto defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0
_____________________________________________________________

where to modify
 
Old 12-02-2005, 08:14 AM   #6
lockout
LQ Newbie
 
Registered: Sep 2005
Location: Riga, LV
Distribution: Slackware/Gentoo
Posts: 26

Rep: Reputation: 15
Lets assume that this entry specifies your FTA32 drive
Quote:
/dev/hda6 /home/arjun/windows auto defaults 0 0
If it is so indeed than you should be setting filesystem to vfat and the main thing -
change defaults to user,rw,noauto:

Code:
/dev/hda6 /home/arjun/windows vfat user,rw,noauto 0 0
For more info look here .

As the mount piont resides within your home directory I assume it has full acces priviliges for user arjun.

Last edited by lockout; 12-02-2005 at 08:23 AM.
 
Old 12-03-2005, 02:37 AM   #7
kumary
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Thanx for ur help it solved my problem

bye
 
Old 12-03-2005, 01:40 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Your thread is moved to Linux-Newbie, where it fits much better, because it's a Linux-technical one.
 
  


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
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 08:40 AM
XFce Security/Permissions issue HenchmenResourc Linux - Software 1 02-02-2005 10:03 PM
Samba permissions - security = domain, help!!! Gustavo Gomes Linux - Networking 0 10-28-2003 06:28 AM
security opinion-program permissions Robert0380 Linux - Security 1 06-30-2003 06:43 AM
Security and Permissions Questions gauge73 Linux - Newbie 3 03-25-2003 10:15 PM

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

All times are GMT -5. The time now is 05:26 PM.

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