Results 1 to 7 of 7

Thread: Read/Write privileges

  1. #1
    Join Date
    Nov 2010
    Beans
    4

    Read/Write privileges

    Hello,


    I have a pc with ubuntu 10.04 instaled, and a fold shared on my user directory.
    Witch are the permicions that i have to edit, so every time i create or edit a document (any tipe: openoffice,...), that document cam have read and write privileges on another computer in my home network so i can work on it?


    Thankyou so much for any help given
    Last edited by pedroazenham; November 16th, 2010 at 06:04 PM. Reason: SOLVED

  2. #2
    Join Date
    Jan 2008
    Location
    Spain
    Beans
    1,186
    Distro
    Ubuntu

    Re: Read/Write privileges

    All you need is to right click in the folder containing the docs you want to edit, select "sharing options", tick "share this folder", and tick "allow other users to write in this folder".

    Then click "modify sharing". That should be it.
    What's even more important than free software? - OPEN FORMATS.

  3. #3
    Join Date
    Nov 2010
    Beans
    4

    Re: Read/Write privileges

    Thankyou Cheloven for the reply, but it's not so simple...
    With windows computers on the network, i have to use samba server!
    I will search more information and when it's solved i post it here.

    Thankyou

  4. #4
    Join Date
    Dec 2009
    Beans
    5,304

    Re: Read/Write privileges

    Quote Originally Posted by JC Cheloven View Post
    All you need is to right click in the folder containing the docs you want to edit, select "sharing options", tick "share this folder", and tick "allow other users to write in this folder".

    Then click "modify sharing". That should be it.
    pedroazenham, The procedure described above is Samba. It's called Usershares and has been part of Samba for years.

  5. #5
    Join Date
    Dec 2009
    Beans
    5,304

    Re: Read/Write privileges

    I reread your original post. I think you are using classic shares so why not post the output of the following command so we can see how you are set up:
    Code:
    testparm -s

  6. #6
    Join Date
    Jan 2008
    Location
    Spain
    Beans
    1,186
    Distro
    Ubuntu

    Re: Read/Write privileges

    Quote Originally Posted by pedroazenham View Post
    Thankyou Cheloven for the reply, but it's not so simple...
    With windows computers on the network, i have to use samba server!
    I will search more information and when it's solved i post it here.
    Thankyou
    As Morbius said, and weird it may be considered, the default sharing method in ubuntu is samba, not some linux-specific method. So it should work, remote editing of documents included. It works for me, although I use only ubuntu machines.

    It comes to mind..., it's a shot in the dark but anyway:
    I'm not sure if trying to edit from win2 a document stored in a linux type of partiton (ext3 and the like) may lead to problems. It doesn't recognize such filesystems by default though.
    What's even more important than free software? - OPEN FORMATS.

  7. #7
    Join Date
    Nov 2010
    Beans
    4

    Re: Read/Write privileges

    p { margin-bottom: 0.21cm; } Hello guys,


    There is nothing wrong with my shared folder with samba, i can see and access my folder and edit documents on a windows PC.
    The problem is every time i create a new document on my linux PC, that document can be open only on read mode on another pc.


    I solved the problem with the umask:
    went to /etc/Pam.d/common-session and added this line
    session optional pam_umask.so umask=001


    then went to /etc/profile and commented (with a #) the line
    UMASK 002


    With this solution, every document created on my linux PC add the permissions given by the umask selected (owner= rwx; group=rwx; other=rw)
    For more information please search for umask permissions on google.


    Thank you all for the help given

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •