Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

  1. #11
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    I guess I should have been more descriptive.

    Please post the output for a directory that contains the files you're have trouble with.
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    777 permissions on /home/curt/public is completely unnecessary. Please don't leave it that way.
    Sooner or later you will need to learn and understand file and directory permissions on Unix since it is a multiuser OS. Sooner is better than later, BTW. Ubuntu has a tutorial for this - google it.

    BTW - "Curt" is not a group. Group names are lowercase. Unix is case sensitive, so you need to be extremely careful when using different case for anything. It matters. Generally, it is best to go all lowercase for everything, except files and directories. For those, Just use whatever case you desire - always. You'll get used to this - OSes that don't care about case will bother you, eventually.

    smb.conf - the "domains" section has an error. Is that really the file? Run testparm to see what samba knows.

  3. #13
    Join Date
    Aug 2015
    Beans
    14

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    VW -

    I hope this is what you were looking for...

    Code:
    -rwxrw-rw-  1 curt curt  376832 Aug  8 21:02 Test Database.accdb
    -rwxrw-rw-  1 curt curt   38259 Aug  8 20:56 Test Document-Adobe Acrobat.pdf
    -rwxrw-rw-  1 curt curt    8703 Aug  8 20:55 Test Document-MS Excel 2010.xlsx
    -rwxrw-rw-  1 curt curt   13849 Aug  8 20:54 Test Document-MS Word 2010.docx
    -rwxrw-rw-  1 curt curt 1115232 Aug  8 20:58 Test Photoshop Document.psd
    -rwxrw-rw-  1 curt curt   97792 Aug  8 21:03 Test Publication Document.pub
    These documents all cannot be saved when opened by another user after being created by me.

    Curt

  4. #14
    Join Date
    Aug 2015
    Beans
    14

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    TheFu -

    I didn't think that I had a 777 mask set for public, only the data folder? In any case I will look at the tutorials that you mentioned. Here is the result of testparm...

    Code:
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[Data]"
    WARNING: The "acl check permissions" option is deprecated
    Unknown parameter encountered: "share modes"
    Ignoring unknown parameter "share modes"
    Processing section "[Public]"
    WARNING: The "acl check permissions" option is deprecated
    Unknown parameter encountered: "share modes"
    Ignoring unknown parameter "share modes"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions

  5. #15
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    Can you show an example of permissions with a folder containing both files created by you and files created by user other than you?
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  6. #16
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    I'd like to suggest another test. Install LibreOffice on the Windows machines. If you use that on both the Windows and Linux machines, do you have the same file-locking problems?

    I still think your problem has something to do with MS Office and not Samba or Linux, since you wrote in your first post:
    Strangely enough, this behavior does not occur with a plain text notepad document. It seems to be only affecting MS Word and Excel documents.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  7. #17
    Join Date
    Aug 2015
    Beans
    14

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    SeijiSensei -

    OK, I loaded up LibreOffice on my Windows machine and got the following error. I created the ODT file on my user and then switched to another user and tried to access it. I have not tried installing LibreOffice on another machine yet. That will be the next step. It looks like it's not only MS Office products that are affected, unfortunately.

    File Lock.PNG
    Strangely, I am getting random times that the MS Word/Excel and Acrobat documents are editable by all users from time to time. Let me do some more research and get back to the group. The ODT file has remained uneditable to everyone but me, however.

    Curt

  8. #18
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    Did you close the document on the machine it was created on before trying to edit it from another machine? That's exactly what file-locking is designed to prevent. Even on an all-Linux system like mine, if I open a document in LO, it will be locked on other machines.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  9. #19
    Join Date
    Aug 2015
    Beans
    14

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    SeijiSensei -

    Sorry for the long pause in replying...just took my oldest down to college today. I just tried top open the ODT file while logged in as another user and no joy, same error. The ODT file was attempted to be opened only by the other logged in user. Could this be a Windows 7/Linux compatibility issue? I still need to find some time to install LO on another machine. I will report back once that has been achieved.

  10. #20
    Join Date
    Aug 2015
    Beans
    14

    Re: Ubuntu 14.04 MS Word Doc Read Only in shared "Home" folder

    SeijiSensei -

    Well, I could not figure it out, although I have a suspicion it had to do with the fact that I had a group called "curt" on the Ubuntu Server and my password was the same to log onto the server as it was to log onto my laptop, plus my Windows user was "curt" as well, so maybe some conflict existed there. In any case, I ended up re-loading my laptop with Win 7 (It needed it anyways) and created a new user name and a different password for my login. The problem went away. Funny thing is on a couple of password protected excel documents, I had to save a copy of the document before I could work on them. The problem seems to have corrected itself with me deleting my login and user off of my laptop. Thanks for everyone's help.

    Curt

Page 2 of 2 FirstFirst 12

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
  •