Mailing List Archive


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

Re: [tlug] Changing a file server from XP to Ubuntu



On Sat, Mar 20, 2010 at 00:49, Sach Jobb <sach@example.com> wrote:

    create mask = 0774

Pet peeve here, but why do so many people insist on setting the executable bit on shared files from samba clients? I find it odd when I `ls -l` and see a list of unix executable excel spreadsheets.

It definitely is quite odd, but the executable bits (for user, group and others) actually map the three windows file/directory flags (Archive, System and Hidden).

See some doccos here to precisely understand what's mapped to where: http://oreilly.com/catalog/samba/chapter/book/ch05_03.html

I (personally) tend to force resetting the "Hidden" flag from networked clients (not to get into the usual awkward situation of seeing the file from unix, but having it hidden in windows).

I've also noticed that some idiotic programs (some custom M$ Access development is what did it for me) rely on the archive flag to be there and have some issues if it's not set.

Your mileage and results might vary, but at least there's a reason "why" :-)

    Pier


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links