other partition question

Gary Kirkpatrick pegngary at gmail.com
Wed Dec 9 12:39:21 UTC 2009


On Wed, Dec 9, 2009 at 4:23 AM, Colin Law <clanlaw at googlemail.com> wrote:

> 2009/12/9 James Michael Fultz <croooow at gmail.com>:
> > * Gary Kirkpatrick <pegngary at gmail.com> [2009-12-08 20:23 -0500]:
> >> So i created a partion called data.  When I go to store files in data,
> that
> >> action is not permittted.  There is one more thing I need to do and can
> not
> >> seem to find what that is.  I bet one of you knows just what to do.  I
> have
> >> had this problem once before and i have forgotten the solution.
> >
> > Change ownership, permissions or both on the mount point to permit
> > writing to the appropriate user or users.  Alternatively, create
> > per-user subdirectories beneath the mount point and set ownership and
> > permission for those individually.
> >
> > Examples, entered at the shell prompt ($) in a terminal:
> >
> > Change ownership of mount point ('/data') to owner "youruser".
> >
> > $ chown youruser /data
> >
> > Change permissions to allow any user file and directory creation but may
> > only remove files or directories belonging to them (like on '/tmp').
> >
> > $ chmod 1777 /data
>
> I think those may have to be
> sudo chown ... and sudo chmod ...
>
> Colin
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


The results were:
$ chown gary /data
chown: cannot access `/data': No such file or directory
gary at garynetbook:~$ sudo chown gary /data
[sudo] password for gary:
chown: cannot access `/data': No such file or directory
gary at garynetbook:~$ chmod 1777 /data
chmod: cannot access `/data': No such file or directory

Did I do something incorrectly?

thanks

gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091209/5aabb550/attachment.html>


More information about the ubuntu-users mailing list