Fossil SCM

unable to use network drive

Open

56bafbab548b10e… · opened 11 years, 11 months ago

Type
Code_Defect
Priority
Severity
Severe
Resolution
Fixed
Subsystem
Created
April 20, 2014 8:29 p.m.

Using the latest version gives problems on a network drive while the previous version works as expected. I've tested it 5 times with exact the same results.

fossil-1.28.exe init abc.fossil Fossil internal error: read permission denied for repository abc.fossil

fossil-1.27.exe init def.fossil project-id: 53b1a51d67dc8197b1df73c5b221fb03dddf611a server-id: a436da6767715b767a54[...]

OS: virtual win8.1 (parallels)

Comments (5)

nobody 11 years, 11 months ago

Using the latest version gives problems on a network drive while the previous version works as expected. I've tested it 5 times with exact the same results.

fossil-1.28.exe init abc.fossil Fossil internal error: read permission denied for repository abc.fossil

fossil-1.27.exe init def.fossil project-id: 53b1a51d67dc8197b1df73c5b221fb03dddf611a server-id: a436da6767715b767a54[...]

OS: virtual win8.1 (parallels)

jan.nijtmans 11 years, 11 months ago

Two questions: - Doing "fossil-1.28.exe init abc.fossil", is the file "abc.fossil" actually created? If so, what rights does this file have? What rights does the directory have? - If you do "fossil-1.28.exe init abc.fossil" in another directory (C-drive), and then copy this file to your network drive. Does it work then?

nobody 11 years, 11 months ago
  • Doing "fossil-1.28.exe init abc.fossil", is the file "abc.fossil" actually created? If so, what rights does this file have? What rights does the directory have?

Its a windows share with no special 'chmod' rights. I'm the owner of the directory so i can read/write without problems. A file does get created. But if i use fossil ui abc.fossil, i again get a read permission denied.

  • If you do "fossil-1.28.exe init abc.fossil" in another directory (C-drive), and then copy this file to your network drive. Does it work then?

If i create a fossil on a local drive (where it works correctly) and copy it to a network drive, i again get a read permission denied error.

jan.nijtmans 11 years, 11 months ago

Possible fix in [969f0a2611]. My theory is that the AccessCheck() function call failes because in your situation there are more than one Privilege active. See [http://msdn.microsoft.com/en-us/library/windows/desktop/aa374815%28v=vs.85%29.aspx].

Does this help?

kwizzz 11 years, 10 months ago

Got the same issue here. Reason:

  • Linux Samba share with its own local domain.
  • cacls from windows states """(special access:)""" for each account rights

If I grant full access to Everyone, the error disappears (of course).

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button