LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   security-access permissions (https://www.linuxquestions.org/questions/linux-newbie-8/security-access-permissions-388558/)

kumary 12-02-2005 05:03 AM

security-access permissions
 
hello every one

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

bye

lockout 12-02-2005 06:02 AM

FPFPFP! :D

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 :)

kumary 12-02-2005 06:24 AM

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)

lockout 12-02-2005 06:40 AM

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!

kumary 12-02-2005 06:57 AM

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

lockout 12-02-2005 08:14 AM

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.

kumary 12-03-2005 02:37 AM

Thanx for ur help it solved my problem

bye

Mara 12-03-2005 01:40 PM

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


All times are GMT -5. The time now is 09:29 PM.