Author Topic: Can A Plain Text Filename Define Access Rights?  (Read 1724 times)

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
Can A Plain Text Filename Define Access Rights?
« on: March 06, 2005, 04:14:06 pm »
I have found that if I call a file "qslamrpt.pl" on my SD card, I cannot read it through the Samba USB TCP/IP connection; I get "access denied". This happens to be on my SD card, which is formatted to ext3, although I'm not sure if this is relevant.

If I rename or copy the file to [so far] anything else, e.g. "qslam_report.pl", it works fine and I can edit it through the samba server as I normally do (using a Windows PC).

This sounds completely mad, but I have checked it several times. I don't know if it persists through a reboot  but I'll test it next time I have to reboot.

Can anyone explain what might cause this odd behaviour?

Thanks!
Ian.

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Can A Plain Text Filename Define Access Rights?
« Reply #1 on: March 06, 2005, 06:58:44 pm »
Quote
I have found that if I call a file "qslamrpt.pl" on my SD card, I cannot read it through the Samba USB TCP/IP connection; I get "access denied". This happens to be on my SD card, which is formatted to ext3, although I'm not sure if this is relevant.

If I rename or copy the file to [so far] anything else, e.g. "qslam_report.pl", it works fine and I can edit it through the samba server as I normally do (using a Windows PC).

This sounds completely mad, but I have checked it several times. I don't know if it persists through a reboot  but I'll test it next time I have to reboot.

Can anyone explain what might cause this odd behaviour?

Thanks!
Ian.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69534\"][{POST_SNAPBACK}][/a][/div]

Yes, all unix files have various owner/group and world access rights.
Look at the chmod command
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net