LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06: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, 07: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, 07: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, 07: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, 07: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, 09: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 09:23 AM.
 
Old 12-03-2005, 03: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, 02:40 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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 09:40 AM
XFce Security/Permissions issue HenchmenResourc Linux - Software 1 02-02-2005 11:03 PM
Samba permissions - security = domain, help!!! Gustavo Gomes Linux - Networking 0 10-28-2003 07:28 AM
security opinion-program permissions Robert0380 Linux - Security 1 06-30-2003 07:43 AM
Security and Permissions Questions gauge73 Linux - Newbie 3 03-25-2003 11:15 PM


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