[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with chmod



This still sounds like you are mounting a FAT (DOS/Win9x) filesystem,
rather than an ext2 (Linux) filesystem.  I'll just get all the
questions I have out now rather than continuing to pull teeth.

1. You must have at some point created a filesystem on /dev/hdc1
   (a.k.a. "formatting") before you could mount it.  How did you
   do this for /dev/hdc1?  mke2fs?
2. Did this partition previously exist for DOS/Windows use in
   its current location?
3. Is there an entry for /mnt/ftp in /etc/fstab?
4. When you say "it didn't make any difference [mounting as vfat]",
   what do you mean?  Did it not mount, did it mount and not persereve
   permissions, or something else entirely?
5. Who are you when you chmod?  (check the output of 'id')
6. Could you post the output of "fdisk -l"?

	- Kevin Colby
	  kevinc grainsystems com



biscut wrote:
> 
> Not too sure, i fdisk'd the drive as you said and set the partition type to
> be Linux, I think it was 83 or something like that, I manually mount the
> drive with "mount /dev/hdc1 /mnt/ftp" and then copied some files onto the
> drive, the files copied over fine, but I got messages saying that "operation
> not permitted" when it came to preserving file permissions, I have also
> tried to mount the drive by using "mount -t vfat /dev/hdc1 /mnt/ftp" just in
> case that made any difference but it didnt :-( so I currently have the drive
> mounted using the former of the two commands.
> 
> Regards
> biscut
> 
> > -----Original Message-----
> > From: redhat-install-list-admin redhat com
> > [mailto:redhat-install-list-admin redhat com]On Behalf Of Kevin Colby
> > Sent: 01 March 2001 21:17
> > To: redhat-install-list redhat com
> > Subject: Re: Help with chmod
> >
> >
> >
> > You wouldn't be trying this on an MS filesystem, would you?
> > (Extended permissions are not supported by any FAT variant.)
> >
> >       - Kevin Colby
> >         kevinc grainsystems com
> >
> >
> > biscut wrote:
> > >
> > > I seem to be having a problem with chmod, whenever I try to set
> > chmod 777
> > > <file-name> then the file permissions never seem to change, i.e
> > they stay as
> > >
> > > -rwxr-xr-x readme.txt
> > >
> > > if I try to chmod on a directory then I keep getting operation
> > not permitted
> > > errors even though I am root, I get operation not permitted
> > errors if I try
> > > to use chown as well, has anyone got any idea's why this could
> > be happening
> > > please ?? I have looked at man chmod but that doesnt seem to give me any
> > > clues as to why this is happening.
> > >
> > > thanks for any help
> > >
> > > Regards
> > > biscut
> > >
> > > _______________________________________________
> > > Redhat-install-list mailing list
> > > Redhat-install-list redhat com
> > > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> >
> >
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]