Click to See Complete Forum and Search --> : Couple of quick questions...


ScRapZ_1
01-29-2002, 11:48 PM
1) How do I set write permissions for a user on a mounted (FAT32) drive. I've tried setting permisions using chmod, and even tried chown... but the permissions stay the same and dont get changed...

2) Make it so RedHat starts up with the graphical logon screen. Currently, I just log on and type startx... but I dont want that anymore. I tried using Xconfigure, but it doesnt like me anymore. X still works, just not Xconfigure.

TTFN,
ScRapZ_1 :p

X_console
01-30-2002, 12:18 AM
1. You need to edit /etc/fstab and add the rw option to that line that mounts that partition.

2. Basically edit /etc/inittab: http://www.linuxnewbie.org/nhf/intel/x-windows/guiboot.html

bdl
01-30-2002, 12:22 AM
Originally posted by ScRapZ_1:
<STRONG>1) How do I set write permissions for a user on a mounted (FAT32) drive. I've tried setting permisions using chmod, and even tried chown... but the permissions stay the same and dont get changed...
</STRONG>

Very common problem. You can't chmod or chown FAT32, FAT or NTFS. You must mount those filesystems in such a way as to give the perms and owner you want at mount time. Please read the 'mount' manpage. Here's an example /etc/fstab file to give you an idea:

/dev/hda1 /mnt/windows vfat rw,user,uid=1000,gid=1000,umask=027 0 0

The UID and GID are values given to mount as a certain owner/group while the umask sets the perms.


<STRONG>
2) Make it so RedHat starts up with the graphical logon screen. Currently, I just log on and type startx... but I dont want that anymore. I tried using Xconfigure, but it doesnt like me anymore. X still works, just not Xconfigure.

</STRONG>

Install XDM, GDM or KDM.

Oh, yeah, and set sysinit to '5'

[ 29 January 2002: Message edited by: bdl ]