newbie's question on file permission

Zhengguo Xu tworiversfolk at gmail.com
Fri Aug 1 20:04:34 UTC 2008


thanks again all. to make the life much simpler, what i should do if i want
to format the disk as native Linux file system? i can always use another
disk to connect to windows anyway.

after backing up all data and format the disk as,say, ext3 (this part i know
how to do), how do i set the disk auto-mount every time i plug it in my
laptop? i remember once i format a 8GB usb stick as ext3 and every time i
have to mount manually. or USb stick is different from the "Big Disk"?



2008/8/1 POWERS, ZACK <zpowers at umflint.edu>

> Both read and write permissions are supported with NTFS in Linux
> through the FUSE module. In Ubuntu this support can be installed by
> using Synaptic to install the ntfs-3g package. Since 7.04 Feisty Fawn,
> ntfs-3g has been the default for mounting NTFS partitions. Once you
> mount the volume with ntfs-3g then you may use POSIX styled file
> permissions on all files.
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com on behalf of Zhengguo Xu
> Sent: Fri 8/1/2008 3:09 PM
> To: Ubuntu user technical support,not for general discussions
> Subject: Re: newbie's question on file permission
>
> many thanks!  all of you. how can I change the permission for whole
> disk?
>
> 2008/8/1 Zhengguo Xu <tworiversfolk at gmail.com>
>
> > Thanks a lot, Zack!! it indeed is FAT32 disk. I do need to connect
> this
> > disk to windows from time to time, but I had the impression that
> NTFs is not
> > best support by Linx. or am I completely wrong about it? writing to
> NTFs
> > disk in linux is now perfectly normal?
> >
> >
> > 2008/8/1 POWERS, ZACK <zpowers at umflint.edu>
> >
> >> Hi,
> >> The reason permissions don't change on your USB stick is because
> your
> >> USB disk is formatted in a filesystem that does not support POSIX
> >> style file permissions. If its FAT16 or FAT32, which it is most
> likely
> >> is, it doesn't support any type of file permissions. To solve this
> >> issues you will have to reformat your USB disk to a POSIX compliant
> >> filesystem (NTFS would be the best choice for compatibility with
> >> Windows).
> >>
> >>
> >> -----Original Message-----
> >> From: ubuntu-users-bounces at lists.ubuntu.com on behalf of Zhengguo
> Xu
> >> Sent: Fri 8/1/2008 2:37 PM
> >> To: Ubuntu User
> >> Subject: newbie's question on file permission
> >>
> >> Greeting all!
> >>
> >> Recently I encounted a strange problem (or it maybe very obvious
> for
> >> you
> >> guys) while copying files and I'd like to ask a question on file
> >> permission
> >> in linux.
> >>
> >> I have a file, lets say 'biology.ppt' and it has permission as
> follows
> >> and i
> >> am the owner and it belongs to group 'root'
> >>
> >> -rwx------
> >>
> >> i want to change it to group, say, 'test', and give permissions to
> >> everyone
> >> to read and write and execute, what's wrong when I run the
> following
> >> command?
> >>
> >> sudo chgrp test biology.ppt
> >> sudo chmod 777 biology.ppt
> >>
> >> nothing happened when i run these commands and i tried them with
> and
> >> without
> >> sudo. the file still has the permission -rwx------ and root is
> still
> >> the
> >> group.
> >>
> >> if it matters, the file is on a usb disk mounted in /media
> >>
> >> i also tried to create some file in my home directory and i can
> change
> >> it as
> >> i want with the same command.
> >>
> >> any help would be greatly appreciated.
> >>
> >>
> >> --
> >> ubuntu-users mailing list
> >> ubuntu-users at lists.ubuntu.com
> >> Modify settings or unsubscribe at:
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >>
> >>
> >
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080801/93846cf4/attachment.html>


More information about the ubuntu-users mailing list