Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot change folder permissions in redhat 8.0

Status
Not open for further replies.

mackey333

Technical User
May 10, 2001
563
US
I am in x-windows. When I right click a folder and select "permissions" the box pops up. Whenever I change where anything is checked after a second it goes back to how it was before I changed anything. The folder was created as root and I am trying to change the permissions as root. It is on a different partition if that has anything to do with it. -Greg :-Q

flaga.gif
 
The filesystem of the problem partition is fat32. I found the device in /dev/hda2 and changed the permissions to allow everyone to read/write/execute from it and then I went back the the folder that is the problem /home/vServer (vServer and everything below it cannot be changed). It's not that the box is greyed out or anything it just changes back after I touch anything. -Greg :-Q

flaga.gif
 
have a look in /mnt and see if the drive is there
if not let me know and I tell you how to set it up#
 
I'm not sure about the some permission "emulation" your software might be doing, but FAT32 doesn't support permissions like that (there's no allowance in the filesystem itself for owner, permission, etc like EXT2/3, others). On all distros I've used, it mounts 755 (rwxr-xr-x) owned by root.root by default. You can change this behavior by having a look at the "mode" option for "
Code:
mount
". You can specify the umask for the partition you are mounting that way (along with UID and GID if you want).

As a quick test, try "
Code:
mount -o remount -o mode=000 <device hda2, hdb1, whatever> <mount point>
&quot;
 
legend2b4 can you tell me how to mount a drive?

I have installed linux redhat 7.3 recently and the floppy drive was not installed.

When I type mount /mnt/floopy ( or mount /dev/fd0) I get a message saying that /mnt/floppy does not exist in /etc/fstab or /etc/mtab

If I use Konqueror to browse the /mnt folder, I can see only the cdrom folder and not the floppy folder

If I give the command kudzu /dev/floppy, it takes me to setup the mouse configuration (first time as I had not configured the mouse)
The next time nothing happens.
 
re the floppy

add this line to /etc/fstab


/dev/fd0 /mnt/floppy auto noauto,owner,kudzo 0 0

for the sake of neatness follow the space format used in the file

Create a New Folder in /mnt and name it floppy

log out and reboot

pop in a floppy disk , mount it and have a look in /mnt/floppy you may need to hit refresh

re your windows drive I'm going to put up a FAQ &quot;HOW TO MOUNT A WINDOWS DRIVE&quot; right now it's not hard to do and if you read it you will understand the above line

Post if you have any probs mate
 
Ok, thanks, I'm not at home right now but I will try it out and get back to you (thursday night most likely) -Greg :-Q

flaga.gif
 
macley333 I have Posted a FAQ

&quot;how can I read my windows drive from linux&quot;

have a look at it and see if that answers your problem

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top