Re: Mounting partition

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

 



On November 18, 2003 09:43 am, Roger Beever wrote:
> On Tue, 2003-11-18 at 02:33, Pete Nesbitt wrote:
> > On November 17, 2003 01:32 pm, Roger Beever wrote:
> > > On Mon, 2003-11-17 at 19:58, Rodrigo Nascimento wrote:
> > > > You only need to create the mount point /win...
> > >
> > > Well not quite.
> > > I ended up deleting the partition and remaking it, I only had a test
> > > file from the windoze side any way, using the instructions fro one of
> > > the RH documents.
> > > I'm now in a situation were I have the partition mounted but can only
> > > write to it as root. I can open the file in openoffice
> > > Chmod keeps telling me the operation is not permitted.
> > > So how do I change the directory so anyone can read and write to it.
> > > Roger
> >
> > Hi Roger,
> > What full chmod command are you using that fails and what is the exact
> > error message?
> > What does a "ls -l /" report for /win ?
> >
> > if it is still /win and you want it so anyone can read/write then, as
> > root, "cd /;chmod 777 /win"
> >
> > --
> > Pete Nesbitt, rhce
>
> As requested.
> roger@roger2 roger]$ su
> Password:
> [root@roger2 roger]# mount /dev/hdb3 /win
> [root@roger2 roger]# cd /;chmod 777 /win
> chmod: changing permissions of `/win' (requested: 0777, actual: 0755):
> Operation not permitted
> [root@roger2 /]#
> root@roger2 win]# ls -l
> total 16
> drwxr-xr-x    3 root     root         4096 Nov 18 01:13 recycled
> drwxr-xr-x    3 root     root         4096 Nov 18 01:13 System Volume
> Informatio      n
> drwxr-xr-x    2 root     root         4096 Nov 17 21:19 test
> -rwxr-xr-x    1 root     root           68 Nov 18 01:21 test2.txt
>
> See other post re vfat question

Hi Roger,
Sorry. My mistake :(
you need to unmount it first. Then set the perms on the mount point, then 
remount it.

it should be:
cd /
umount /win
chmod 777 /win
mount /win
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux